Home
last modified time | relevance | path

Searched refs:mbedtls_aes_context (Results 1 – 8 of 8) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Daes_alt.c24 void mbedtls_aes_init(mbedtls_aes_context * ctx) in mbedtls_aes_init()
34 if (sizeof(mbedtls_aes_context) != sizeof(AesContext_t)) in mbedtls_aes_init()
53 void mbedtls_aes_free(mbedtls_aes_context * ctx) in mbedtls_aes_free()
60 CC_PalMemSet(ctx, 0, sizeof(mbedtls_aes_context)); in mbedtls_aes_free()
72 static int aes_setkey(mbedtls_aes_context * ctx, const unsigned char * key, in aes_setkey()
124 int mbedtls_aes_setkey_enc(mbedtls_aes_context * ctx, const unsigned char * key, in mbedtls_aes_setkey_enc()
142 int mbedtls_aes_setkey_dec(mbedtls_aes_context * ctx, const unsigned char * key, in mbedtls_aes_setkey_dec()
160 int mbedtls_aes_crypt_ecb(mbedtls_aes_context * ctx, in mbedtls_aes_crypt_ecb()
214 int mbedtls_aes_crypt_cbc( mbedtls_aes_context *ctx, in mbedtls_aes_crypt_cbc()
288 int mbedtls_aes_crypt_cfb128( mbedtls_aes_context *ctx, in mbedtls_aes_crypt_cfb128()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/
Daes_alt.h60 mbedtls_aes_context; typedef
68 mbedtls_aes_context crypt; /*!< The AES context to use for AES block
70 mbedtls_aes_context tweak; /*!< The AES context used for tweak
Daes_alt.c71 static int aes_set_key(mbedtls_aes_context *ctx, in aes_set_key()
169 void mbedtls_aes_init(mbedtls_aes_context *ctx) in mbedtls_aes_init()
173 memset(ctx, 0, sizeof(mbedtls_aes_context)); in mbedtls_aes_init()
182 void mbedtls_aes_free(mbedtls_aes_context *ctx) in mbedtls_aes_free()
188 mbedtls_zeroize(ctx, sizeof(mbedtls_aes_context)); in mbedtls_aes_free()
213 int mbedtls_aes_setkey_enc(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_enc()
222 int mbedtls_aes_setkey_dec(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_dec()
308 int mbedtls_aes_crypt_ecb(mbedtls_aes_context *ctx, in mbedtls_aes_crypt_ecb()
353 static int st_cbc_restore_context(mbedtls_aes_context *ctx) in st_cbc_restore_context()
370 int mbedtls_aes_crypt_cbc(mbedtls_aes_context *ctx, in mbedtls_aes_crypt_cbc()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/
Daes_alt.h44 } mbedtls_aes_context; typedef
53 mbedtls_aes_context crypt; /*!< The AES context to use for AES block
55 mbedtls_aes_context tweak; /*!< The AES context used for tweak
/trusted-firmware-m-3.4.0/secure_fw/partitions/crypto/
Dtfm_mbedcrypto_alt.c31 int mbedtls_internal_aes_decrypt(mbedtls_aes_context *ctx, in mbedtls_internal_aes_decrypt()
50 int mbedtls_aes_setkey_dec(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_dec()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_aes.c69 mbedtls_aes_context ctx; in runIt_aesOfbTest()
142 mbedtls_aes_context ctx; in runIt_aesCtrTestProfiling()
201 mbedtls_aes_context ctx; in runIt_aesCtrTest()
278 mbedtls_aes_context ctx; in runIt_aesCbcTest()
348 mbedtls_aes_context ctx; in runIt_aesEcbTest()
/trusted-firmware-m-3.4.0/bl1/bl1_1/shared_lib/crypto/
Dcrypto_mbedcrypto.c72 mbedtls_aes_context ctx; in bl1_aes_256_ctr_decrypt()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/cpak_generator/
Dcpak_generator.c63 mbedtls_aes_context ctx; in generate_seed()