]> code.ossystems Code Review - openembedded-core.git/commit
nss: Pass NSS_USE_ARM_HW_CRYPTO as define in CFLAGS
authorKhem Raj <raj.khem@gmail.com>
Sun, 26 Jan 2020 19:27:39 +0000 (11:27 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2020 16:38:54 +0000 (16:38 +0000)
commit4f8f2fd72fee6cf5aedbb679b2c29b88f98a5e11
tree21716fd88b0ce35893d4efe17c71629da906dd31
parent51c329d2d3fbefd5483bb78f471f4c222ad061c1
nss: Pass NSS_USE_ARM_HW_CRYPTO as define in CFLAGS

Use NSS_USE_ARM_HW_CRYPTO to detect USE_ARM_GCM, since there are
dependent, without this we control the crypto code function inclusion in
build but do not control the call sites, which can result in undefined
symbols e.g.

Linux_SINGLE_SHLIB/gcm.o: in function `gcmHash_InitContext':
/usr/src/debug/nss/3.49.1-r0/nss-3.49.1/nss/lib/freebl/gcm.c:112: undefined reference to `gcm_HashInit_hw'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch