Home
last modified time | relevance | path

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/
Ddriver_defs.h69 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))
Daes_driver_ext_dma.c51 (encryptDecryptFlag != CRYPTO_DIRECTION_DECRYPT) ) { in AesExtDmaInit()
Daesccm_driver.c41 (pAesCcmCtx->dir != CRYPTO_DIRECTION_DECRYPT) ) { in InitAesCcm()
Daesgcm_driver.c138 (pAesGcmCtx->dir != CRYPTO_DIRECTION_DECRYPT) ) { in initAesGcm()
Daes_driver.c66 (aesCtx->dir != CRYPTO_DIRECTION_DECRYPT) ) { in InitAes()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Daes_alt.c145 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()
Dgcm_alt.c522 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/
Dmbedtls_ccm_internal.c327 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/
Dcc3xx_internal_aes.c104 return aes_setkey(ctx, key, key_bits, CRYPTO_DIRECTION_DECRYPT); in cc3xx_aes_setkey_dec()
Dcc3xx_internal_ccm.c398 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()
Dcc3xx_internal_gcm.c515 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()
Dcc3xx_internal_chacha20_poly1305.c439 CRYPTO_DIRECTION_DECRYPT, key_buffer, key_buffer_size, in cc3xx_decrypt_chacha20_poly1305()