Add in dependency check for crypto config hashes
With the addition of hash algorithms to crypto config there are new dependencies for SHA224 and SHA384 that need to be confirmed for those hashes to be used. Signed-off-by: John Durkop <john.durkop@fermatsoftware.com>
This commit is contained in:
parent
fb764a60b9
commit
316052ef2a
@ -64,6 +64,16 @@
|
||||
#error "PSA_WANT_ALG_RSA_PSS defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
#if defined(PSA_WANT_ALG_SHA_224) && \
|
||||
!( defined(PSA_WANT_ALG_SHA_256) )
|
||||
#error "PSA_WANT_ALG_SHA224 defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
#if defined(PSA_WANT_ALG_SHA_384) && \
|
||||
!( defined(PSA_WANT_ALG_SHA_512) )
|
||||
#error "PSA_WANT_ALG_SHA384 defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR) && \
|
||||
!defined(PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY)
|
||||
#error "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR defined, but not all prerequisites"
|
||||
|
Loading…
Reference in New Issue
Block a user