Searched refs:MBEDTLS_AES_ENCRYPT (Results 1 – 5 of 5) sorted by relevance
| /trusted-firmware-m-latest/platform/ext/target/stm/common/hal/accelerator/ |
| D | aes_alt.c | 316 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_ecb() 379 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cbc() 512 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_xts() 527 ret = mbedtls_aes_crypt_ecb( &ctx->tweak, MBEDTLS_AES_ENCRYPT, in mbedtls_aes_crypt_xts() 621 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cfb128() 633 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, iv, iv); in mbedtls_aes_crypt_cfb128() 647 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, iv, iv); in mbedtls_aes_crypt_cfb128() 678 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cfb8() 686 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, iv, iv); in mbedtls_aes_crypt_cfb8() 696 if (mode == MBEDTLS_AES_ENCRYPT) { in mbedtls_aes_crypt_cfb8() [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
| D | aes_alt.c | 175 if (MBEDTLS_AES_ENCRYPT != mode && MBEDTLS_AES_DECRYPT != mode) in mbedtls_aes_crypt_ecb() 183 if (((MBEDTLS_AES_ENCRYPT == mode) && (CRYPTO_DIRECTION_ENCRYPT != aesCtx->dir)) || in mbedtls_aes_crypt_ecb() 238 if (MBEDTLS_AES_ENCRYPT != mode && MBEDTLS_AES_DECRYPT != mode) in mbedtls_aes_crypt_cbc() 252 if (((MBEDTLS_AES_ENCRYPT == mode) && (CRYPTO_DIRECTION_ENCRYPT != aesCtx->dir)) || in mbedtls_aes_crypt_cbc() 423 return( mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, input, output) ); in mbedtls_internal_aes_encrypt()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/ |
| D | aes_alt.h | 16 #define MBEDTLS_AES_ENCRYPT 1 /**< AES encryption. */ macro
|
| /trusted-firmware-m-latest/interface/include/mbedtls/ |
| D | aes.h | 39 #define MBEDTLS_AES_ENCRYPT 1 /**< AES encryption. */ macro
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
| D | run_integration_aes.c | 301 …RUNIT_ASSERT_API(mbedtls_aes_crypt_cbc(&ctx, MBEDTLS_AES_ENCRYPT, sizeof(buf), iv, buf, buf) == 0); in runIt_aesCbcTest() 369 RUNIT_ASSERT_API(mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_ENCRYPT, buf, buf) == 0); in runIt_aesEcbTest()
|