Home
last modified time | relevance | path

Searched refs:MBEDTLS_AES_DECRYPT (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/
Daes_alt.c319 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_ecb()
334 if (mode == MBEDTLS_AES_DECRYPT) { /* AES decryption */ in mbedtls_aes_crypt_ecb()
382 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_cbc()
414 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cbc()
515 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_xts()
538 if( leftover && ( mode == MBEDTLS_AES_DECRYPT ) && blocks == 0 ) in mbedtls_aes_crypt_xts()
570 unsigned char *t = mode == MBEDTLS_AES_DECRYPT ? prev_tweak : tweak; in mbedtls_aes_crypt_xts()
624 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_cfb128()
632 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cfb128()
681 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_cfb8()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Daes_alt.c175 if (MBEDTLS_AES_ENCRYPT != mode && MBEDTLS_AES_DECRYPT != mode) in mbedtls_aes_crypt_ecb()
184 ((MBEDTLS_AES_DECRYPT == mode) && (CRYPTO_DIRECTION_DECRYPT != aesCtx->dir))) in mbedtls_aes_crypt_ecb()
238 if (MBEDTLS_AES_ENCRYPT != mode && MBEDTLS_AES_DECRYPT != mode) in mbedtls_aes_crypt_cbc()
253 ((MBEDTLS_AES_DECRYPT == mode) && (CRYPTO_DIRECTION_DECRYPT != aesCtx->dir))) in mbedtls_aes_crypt_cbc()
449 return( mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_DECRYPT, input, output) ); in mbedtls_internal_aes_decrypt()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/
Daes_alt.h17 #define MBEDTLS_AES_DECRYPT 0 /**< AES decryption. */ macro
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_aes.c321 …RUNIT_ASSERT_API(mbedtls_aes_crypt_cbc(&ctx, MBEDTLS_AES_DECRYPT, sizeof(buf), iv, buf, buf) == 0); in runIt_aesCbcTest()
385 RUNIT_ASSERT_API(mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_DECRYPT, buf, buf) == 0); in runIt_aesEcbTest()