Home
last modified time | relevance | path

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

/mbedtls-3.5.0/include/mbedtls/
Daes.h75 typedef struct mbedtls_aes_context { struct
88 mbedtls_aes_context; typedef
95 mbedtls_aes_context MBEDTLS_PRIVATE(crypt); /*!< The AES context to use for AES block
97 mbedtls_aes_context MBEDTLS_PRIVATE(tweak); /*!< The AES context used for tweak
114 void mbedtls_aes_init(mbedtls_aes_context *ctx);
123 void mbedtls_aes_free(mbedtls_aes_context *ctx);
162 int mbedtls_aes_setkey_enc(mbedtls_aes_context *ctx, const unsigned char *key,
181 int mbedtls_aes_setkey_dec(mbedtls_aes_context *ctx, const unsigned char *key,
252 int mbedtls_aes_crypt_ecb(mbedtls_aes_context *ctx,
300 int mbedtls_aes_crypt_cbc(mbedtls_aes_context *ctx,
[all …]
Dctr_drbg.h192 mbedtls_aes_context MBEDTLS_PRIVATE(aes_ctx); /*!< The AES context. */
/mbedtls-3.5.0/tests/suites/
Dtest_suite_aes.function10 mbedtls_aes_context *master,
11 mbedtls_aes_context *enc,
12 mbedtls_aes_context *dec)
71 mbedtls_aes_context ctx;
94 mbedtls_aes_context ctx;
118 mbedtls_aes_context ctx;
144 mbedtls_aes_context ctx;
292 mbedtls_aes_context ctx;
315 mbedtls_aes_context ctx;
338 mbedtls_aes_context ctx;
[all …]
/mbedtls-3.5.0/tests/include/alt-dummy/
Daes_alt.h22 typedef struct mbedtls_aes_context { struct
25 mbedtls_aes_context; argument
/mbedtls-3.5.0/library/
Dpadlock.h87 int mbedtls_padlock_xcryptecb(mbedtls_aes_context *ctx,
107 int mbedtls_padlock_xcryptcbc(mbedtls_aes_context *ctx,
Dpadlock.c69 int mbedtls_padlock_xcryptecb(mbedtls_aes_context *ctx, in mbedtls_padlock_xcryptecb()
114 int mbedtls_padlock_xcryptcbc(mbedtls_aes_context *ctx, in mbedtls_padlock_xcryptcbc()
Dcipher_wrap.c118 return mbedtls_aes_crypt_ecb((mbedtls_aes_context *) ctx, operation, input, output); in aes_crypt_ecb_wrap()
125 return mbedtls_aes_crypt_cbc((mbedtls_aes_context *) ctx, operation, length, iv, input, in aes_crypt_cbc_wrap()
135 return mbedtls_aes_crypt_cfb128((mbedtls_aes_context *) ctx, operation, length, iv_off, iv, in aes_crypt_cfb128_wrap()
144 return mbedtls_aes_crypt_ofb((mbedtls_aes_context *) ctx, length, iv_off, in aes_crypt_ofb_wrap()
154 return mbedtls_aes_crypt_ctr((mbedtls_aes_context *) ctx, length, nc_off, nonce_counter, in aes_crypt_ctr_wrap()
188 return mbedtls_aes_setkey_dec((mbedtls_aes_context *) ctx, key, key_bitlen); in aes_setkey_dec_wrap()
194 return mbedtls_aes_setkey_enc((mbedtls_aes_context *) ctx, key, key_bitlen); in aes_setkey_enc_wrap()
199 mbedtls_aes_context *aes = mbedtls_calloc(1, sizeof(mbedtls_aes_context)); in aes_ctx_alloc()
212 mbedtls_aes_free((mbedtls_aes_context *) ctx); in aes_ctx_free()
Daes.c475 void mbedtls_aes_init(mbedtls_aes_context *ctx) in mbedtls_aes_init()
477 memset(ctx, 0, sizeof(mbedtls_aes_context)); in mbedtls_aes_init()
480 void mbedtls_aes_free(mbedtls_aes_context *ctx) in mbedtls_aes_free()
486 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_aes_context)); in mbedtls_aes_free()
558 int mbedtls_aes_setkey_enc(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_enc()
664 int mbedtls_aes_setkey_dec(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_dec()
668 mbedtls_aes_context cty; in mbedtls_aes_setkey_dec()
856 int mbedtls_internal_aes_encrypt(mbedtls_aes_context *ctx, in mbedtls_internal_aes_encrypt()
918 int mbedtls_internal_aes_decrypt(mbedtls_aes_context *ctx, in mbedtls_internal_aes_decrypt()
984 static void aes_maybe_realign(mbedtls_aes_context *ctx) in aes_maybe_realign()
[all …]
Daesce.h62 int mbedtls_aesce_crypt_ecb(mbedtls_aes_context *ctx,
Daesni.h106 int mbedtls_aesni_crypt_ecb(mbedtls_aes_context *ctx,
Daesni.c77 int mbedtls_aesni_crypt_ecb(mbedtls_aes_context *ctx, in mbedtls_aesni_crypt_ecb()
429 int mbedtls_aesni_crypt_ecb(mbedtls_aes_context *ctx, in mbedtls_aesni_crypt_ecb()
Daesce.c152 int mbedtls_aesce_crypt_ecb(mbedtls_aes_context *ctx, in mbedtls_aesce_crypt_ecb()
Dpem.c327 mbedtls_aes_context aes_ctx; in pem_aes_decrypt()
Dctr_drbg.c132 mbedtls_aes_context aes_ctx; in block_cipher_df()
/mbedtls-3.5.0/programs/pkey/
Ddh_client.c78 mbedtls_aes_context aes; in main()
Ddh_server.c78 mbedtls_aes_context aes; in main()
/mbedtls-3.5.0/docs/architecture/
Dalternative-implementations.md38 …h` that defines the context type(s) used by the module. For example, `mbedtls_aes_context` for AES.
49 * AES: if `MBEDTLS_AESNI_C` or `MBEDTLS_PADLOCK_C` is enabled, `mbedtls_aes_context` must have the …
/mbedtls-3.5.0/programs/test/
Dbenchmark.c695 mbedtls_aes_context aes; in main()
/mbedtls-3.5.0/
DChangeLog330 * Refactor mbedtls_aes_context to support shallow-copying. Fixes #2147.