Home
last modified time | relevance | path

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

/third_party/mbedtls/include/mbedtls/
Daes.h80 typedef struct mbedtls_aes_context struct
93 mbedtls_aes_context; typedef
101 mbedtls_aes_context MBEDTLS_PRIVATE(crypt); /*!< The AES context to use for AES block
103 mbedtls_aes_context MBEDTLS_PRIVATE(tweak); /*!< The AES context used for tweak
120 void mbedtls_aes_init( mbedtls_aes_context *ctx );
129 void mbedtls_aes_free( mbedtls_aes_context *ctx );
168 int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key,
187 int mbedtls_aes_setkey_dec( mbedtls_aes_context *ctx, const unsigned char *key,
258 int mbedtls_aes_crypt_ecb( mbedtls_aes_context *ctx,
306 int mbedtls_aes_crypt_cbc( mbedtls_aes_context *ctx,
[all …]
Dctr_drbg.h193 mbedtls_aes_context MBEDTLS_PRIVATE(aes_ctx); /*!< The AES context. */
/third_party/mbedtls/tests/suites/
Dtest_suite_aes.function15 mbedtls_aes_context ctx;
39 mbedtls_aes_context ctx;
64 mbedtls_aes_context ctx;
90 mbedtls_aes_context ctx;
237 mbedtls_aes_context ctx;
259 mbedtls_aes_context ctx;
281 mbedtls_aes_context ctx;
303 mbedtls_aes_context ctx;
326 mbedtls_aes_context ctx;
364 mbedtls_aes_context aes_ctx;
[all …]
/third_party/mbedtls/tests/include/alt-dummy/
Daes_alt.h22 typedef struct mbedtls_aes_context struct
26 mbedtls_aes_context; argument
/third_party/mbedtls/library/
Dpadlock.h87 int mbedtls_padlock_xcryptecb( mbedtls_aes_context *ctx,
107 int mbedtls_padlock_xcryptcbc( mbedtls_aes_context *ctx,
Dcipher_wrap.c122 return mbedtls_aes_crypt_ecb( (mbedtls_aes_context *) ctx, operation, input, output ); in aes_crypt_ecb_wrap()
129 return mbedtls_aes_crypt_cbc( (mbedtls_aes_context *) ctx, operation, length, iv, input, in aes_crypt_cbc_wrap()
139 return mbedtls_aes_crypt_cfb128( (mbedtls_aes_context *) ctx, operation, length, iv_off, iv, in aes_crypt_cfb128_wrap()
148 return mbedtls_aes_crypt_ofb( (mbedtls_aes_context *) ctx, length, iv_off, in aes_crypt_ofb_wrap()
158 return mbedtls_aes_crypt_ctr( (mbedtls_aes_context *) ctx, length, nc_off, nonce_counter, in aes_crypt_ctr_wrap()
193 return mbedtls_aes_setkey_dec( (mbedtls_aes_context *) ctx, key, key_bitlen ); in aes_setkey_dec_wrap()
199 return mbedtls_aes_setkey_enc( (mbedtls_aes_context *) ctx, key, key_bitlen ); in aes_setkey_enc_wrap()
204 mbedtls_aes_context *aes = mbedtls_calloc( 1, sizeof( mbedtls_aes_context ) ); in aes_ctx_alloc()
216 mbedtls_aes_free( (mbedtls_aes_context *) ctx ); in aes_ctx_free()
Dpadlock.c74 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()
Daes.c490 void mbedtls_aes_init( mbedtls_aes_context *ctx ) in mbedtls_aes_init()
494 memset( ctx, 0, sizeof( mbedtls_aes_context ) ); in mbedtls_aes_init()
497 void mbedtls_aes_free( mbedtls_aes_context *ctx ) in mbedtls_aes_free()
502 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_aes_context ) ); in mbedtls_aes_free()
528 int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_enc()
644 int mbedtls_aes_setkey_dec( mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_dec()
648 mbedtls_aes_context cty; in mbedtls_aes_setkey_dec()
841 int mbedtls_internal_aes_encrypt( mbedtls_aes_context *ctx, in mbedtls_internal_aes_encrypt()
905 int mbedtls_internal_aes_decrypt( mbedtls_aes_context *ctx, in mbedtls_internal_aes_decrypt()
968 int mbedtls_aes_crypt_ecb( mbedtls_aes_context *ctx, in mbedtls_aes_crypt_ecb()
[all …]
Daesni.h73 int mbedtls_aesni_crypt_ecb( mbedtls_aes_context *ctx,
Daesni.c95 int mbedtls_aesni_crypt_ecb( mbedtls_aes_context *ctx, in mbedtls_aesni_crypt_ecb()
Dpem.c200 mbedtls_aes_context aes_ctx; in pem_aes_decrypt()
Dctr_drbg.c134 mbedtls_aes_context aes_ctx; in block_cipher_df()
/third_party/libwebsockets/include/libwebsockets/
Dlws-genaes.h71 mbedtls_aes_context ctx;
/third_party/mbedtls/programs/pkey/
Ddh_client.c88 mbedtls_aes_context aes; in main()
Ddh_server.c88 mbedtls_aes_context aes; in main()
/third_party/mbedtls/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 …
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genaes.c182 mbedtls_aes_context ctx; in lws_genaes_rfc3394_wrap()
/third_party/mbedtls/programs/test/
Dbenchmark.c719 mbedtls_aes_context aes; in main()