/mbedtls-3.5.0/include/mbedtls/ |
D | aes.h | 75 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 …]
|
D | ctr_drbg.h | 192 mbedtls_aes_context MBEDTLS_PRIVATE(aes_ctx); /*!< The AES context. */
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_aes.function | 10 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/ |
D | aes_alt.h | 22 typedef struct mbedtls_aes_context { struct 25 mbedtls_aes_context; argument
|
/mbedtls-3.5.0/library/ |
D | padlock.h | 87 int mbedtls_padlock_xcryptecb(mbedtls_aes_context *ctx, 107 int mbedtls_padlock_xcryptcbc(mbedtls_aes_context *ctx,
|
D | padlock.c | 69 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()
|
D | cipher_wrap.c | 118 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()
|
D | aes.c | 475 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 …]
|
D | aesce.h | 62 int mbedtls_aesce_crypt_ecb(mbedtls_aes_context *ctx,
|
D | aesni.h | 106 int mbedtls_aesni_crypt_ecb(mbedtls_aes_context *ctx,
|
D | aesni.c | 77 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()
|
D | aesce.c | 152 int mbedtls_aesce_crypt_ecb(mbedtls_aes_context *ctx, in mbedtls_aesce_crypt_ecb()
|
D | pem.c | 327 mbedtls_aes_context aes_ctx; in pem_aes_decrypt()
|
D | ctr_drbg.c | 132 mbedtls_aes_context aes_ctx; in block_cipher_df()
|
/mbedtls-3.5.0/programs/pkey/ |
D | dh_client.c | 78 mbedtls_aes_context aes; in main()
|
D | dh_server.c | 78 mbedtls_aes_context aes; in main()
|
/mbedtls-3.5.0/docs/architecture/ |
D | alternative-implementations.md | 38 …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/ |
D | benchmark.c | 695 mbedtls_aes_context aes; in main()
|
/mbedtls-3.5.0/ |
D | ChangeLog | 330 * Refactor mbedtls_aes_context to support shallow-copying. Fixes #2147.
|