Home
last modified time | relevance | path

Searched refs:securityLevelField (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_ccm_internal.c48 uint8_t securityLevelField = 0; in ccm_init() local
70 if (mbedtls_ccm_get_security_level(sizeOfT, &securityLevelField) != CC_OK) { in ccm_init()
80 if (pNonce[MBEDTLS_AESCCM_STAR_NONCE_SIZE_BYTES - 1] != securityLevelField) { in ccm_init()
697 uint8_t securityLevelField = 0; in mbedtls_ccm_star_nonce_generate() local
704 if ((rc = mbedtls_ccm_get_security_level(size_of_t, &securityLevelField)) != 0) in mbedtls_ccm_star_nonce_generate()
716 nonce_buf[MBEDTLS_AESCCM_STAR_NONCE_SIZE_BYTES - 1] = securityLevelField; in mbedtls_ccm_star_nonce_generate()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_ccm.c141 uint8_t securityLevelField; in ccm_init() local
164 &securityLevelField) != PSA_SUCCESS) { in ccm_init()
174 if (pNonce[CC3XX_CCM_STAR_NONCE_SIZE_BYTES - 1] != securityLevelField) { in ccm_init()
764 uint8_t securityLevelField; in cc3xx_ccm_set_nonce() local
780 &securityLevelField) != PSA_SUCCESS) { in cc3xx_ccm_set_nonce()
788 if (pNonce[CC3XX_CCM_STAR_NONCE_SIZE_BYTES - 1] != securityLevelField) { in cc3xx_ccm_set_nonce()