Searched refs:CRYPTO_DIRECTION_DECRYPT (Results 1 – 12 of 12) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/ |
D | driver_defs.h | 69 CRYPTO_DIRECTION_DECRYPT = 1, enumerator 321 …ction) ((ssiDirection == CC_AES_ENCRYPT) ? (CRYPTO_DIRECTION_ENCRYPT) : (CRYPTO_DIRECTION_DECRYPT)) 323 …DIRECTION(mbedtlsDir) ((mbedtlsDir == 1) ? (CRYPTO_DIRECTION_ENCRYPT) : (CRYPTO_DIRECTION_DECRYPT))
|
D | aes_driver_ext_dma.c | 51 (encryptDecryptFlag != CRYPTO_DIRECTION_DECRYPT) ) { in AesExtDmaInit()
|
D | aesccm_driver.c | 41 (pAesCcmCtx->dir != CRYPTO_DIRECTION_DECRYPT) ) { in InitAesCcm()
|
D | aesgcm_driver.c | 138 (pAesGcmCtx->dir != CRYPTO_DIRECTION_DECRYPT) ) { in initAesGcm()
|
D | aes_driver.c | 66 (aesCtx->dir != CRYPTO_DIRECTION_DECRYPT) ) { in InitAes()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | aes_alt.c | 145 return aes_setkey(ctx, key, keybits, CRYPTO_DIRECTION_DECRYPT); in mbedtls_aes_setkey_dec() 184 ((MBEDTLS_AES_DECRYPT == mode) && (CRYPTO_DIRECTION_DECRYPT != aesCtx->dir))) in mbedtls_aes_crypt_ecb() 253 ((MBEDTLS_AES_DECRYPT == mode) && (CRYPTO_DIRECTION_DECRYPT != aesCtx->dir))) in mbedtls_aes_crypt_cbc()
|
D | gcm_alt.c | 522 if ((CRYPTO_DIRECTION_DECRYPT == pAesGcmCtx->dir) && (MBEDTLS_ERR_GCM_AUTH_FAILED == rc)) { in gcm_crypt_and_tag()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_ccm_internal.c | 327 if (pAesCcmCtx->dir == CRYPTO_DIRECTION_DECRYPT) in ccm_text_data() 369 if (pAesCcmCtx->dir == CRYPTO_DIRECTION_DECRYPT) in ccm_text_data() 690 … iv, iv_len, add, add_len, input, output, localMacBuf, tag_len, CRYPTO_DIRECTION_DECRYPT, ccmMode); in mbedtls_ccm_auth_decrypt_int()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_aes.c | 104 return aes_setkey(ctx, key, key_bits, CRYPTO_DIRECTION_DECRYPT); in cc3xx_aes_setkey_dec()
|
D | cc3xx_internal_ccm.c | 398 if (context->dir == CRYPTO_DIRECTION_DECRYPT) { in ccm_text_data() 436 if (context->dir == CRYPTO_DIRECTION_DECRYPT) { in ccm_text_data() 681 tag_length, CRYPTO_DIRECTION_DECRYPT, ccm_mode); in cc3xx_decrypt_ccm() 719 return ccm_setkey(ctx, key, key_bits, CRYPTO_DIRECTION_DECRYPT); in cc3xx_ccm_setkey_dec()
|
D | cc3xx_internal_gcm.c | 515 if ((CRYPTO_DIRECTION_DECRYPT == context.dir) && (status != PSA_SUCCESS)) { in gcm_crypt_and_tag() 591 CRYPTO_DIRECTION_DECRYPT, attributes, key_buffer, key_buffer_size, alg, in cc3xx_gcm_decrypt() 632 return gcm_setkey(ctx, key, key_bits, CRYPTO_DIRECTION_DECRYPT); in cc3xx_gcm_setkey_dec()
|
D | cc3xx_internal_chacha20_poly1305.c | 439 CRYPTO_DIRECTION_DECRYPT, key_buffer, key_buffer_size, in cc3xx_decrypt_chacha20_poly1305()
|