Searched refs:aes_ctx (Results 1 – 9 of 9) sorted by relevance
/third_party/mbedtls/library/ |
D | ctr_drbg.c | 75 mbedtls_aes_free( &ctx->aes_ctx ); in mbedtls_ctr_drbg_free() 134 mbedtls_aes_context aes_ctx; in block_cipher_df() local 145 mbedtls_aes_init( &aes_ctx ); in block_cipher_df() 166 if( ( ret = mbedtls_aes_setkey_enc( &aes_ctx, key, in block_cipher_df() 189 if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df() 207 if( ( ret = mbedtls_aes_setkey_enc( &aes_ctx, tmp, in block_cipher_df() 217 if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df() 226 mbedtls_aes_free( &aes_ctx ); in block_cipher_df() 275 if( ( ret = mbedtls_aes_crypt_ecb( &ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, in ctr_drbg_update_internal() 290 if( ( ret = mbedtls_aes_setkey_enc( &ctx->aes_ctx, tmp, in ctr_drbg_update_internal() [all …]
|
D | pem.c | 200 mbedtls_aes_context aes_ctx; in pem_aes_decrypt() local 204 mbedtls_aes_init( &aes_ctx ); in pem_aes_decrypt() 209 if( ( ret = mbedtls_aes_setkey_dec( &aes_ctx, aes_key, keylen * 8 ) ) != 0 ) in pem_aes_decrypt() 211 ret = mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_DECRYPT, buflen, in pem_aes_decrypt() 215 mbedtls_aes_free( &aes_ctx ); in pem_aes_decrypt()
|
/third_party/gstreamer/gstplugins_bad/ext/hls/ |
D | gsthlsdemux.h | 112 EVP_CIPHER_CTX aes_ctx; member 114 EVP_CIPHER_CTX *aes_ctx; member 117 struct CBC_CTX (struct aes128_ctx, AES_BLOCK_SIZE) aes_ctx; 119 gcry_cipher_hd_t aes_ctx; member
|
D | gsthlsdemux.c | 1911 EVP_CIPHER_CTX_init (&stream->aes_ctx); in gst_hls_demux_stream_decrypt_start() 1912 ctx = &stream->aes_ctx; in gst_hls_demux_stream_decrypt_start() 1914 stream->aes_ctx = EVP_CIPHER_CTX_new (); in gst_hls_demux_stream_decrypt_start() 1915 ctx = stream->aes_ctx; in gst_hls_demux_stream_decrypt_start() 1931 ctx = &stream->aes_ctx; in decrypt_fragment() 1933 ctx = stream->aes_ctx; in decrypt_fragment() 1951 EVP_CIPHER_CTX_cleanup (&stream->aes_ctx); in gst_hls_demux_stream_decrypt_end() 1953 EVP_CIPHER_CTX_free (stream->aes_ctx); in gst_hls_demux_stream_decrypt_end() 1954 stream->aes_ctx = NULL; in gst_hls_demux_stream_decrypt_end() 1963 aes128_set_decrypt_key (&stream->aes_ctx.ctx, key_data); in gst_hls_demux_stream_decrypt_start() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_aes.function | 364 mbedtls_aes_context aes_ctx; 370 mbedtls_aes_crypt_ecb( &aes_ctx, invalid_mode, in, out ) ); 374 mbedtls_aes_crypt_cbc( &aes_ctx, invalid_mode, 16, 390 mbedtls_aes_crypt_cfb128( &aes_ctx, invalid_mode, 16, 393 mbedtls_aes_crypt_cfb8( &aes_ctx, invalid_mode, 16, 406 mbedtls_aes_context aes_ctx; 419 TEST_ASSERT( mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_ENCRYPT, 423 TEST_ASSERT( mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_ENCRYPT, 442 TEST_ASSERT( mbedtls_aes_crypt_cfb128( &aes_ctx, MBEDTLS_AES_ENCRYPT, 16, 449 TEST_ASSERT( mbedtls_aes_crypt_ofb( &aes_ctx, 16, &size, out, in, out )
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_nettle.c | 247 struct aes_ctx *ctx; in aes_encrypt_init() 263 struct aes_ctx *actx = ctx; in aes_encrypt() 271 struct aes_ctx *actx = ctx; in aes_encrypt_deinit() 278 struct aes_ctx *ctx; in aes_decrypt_init() 294 struct aes_ctx *actx = ctx; in aes_decrypt() 302 struct aes_ctx *actx = ctx; in aes_decrypt_deinit()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_nettle.c | 247 struct aes_ctx *ctx; in aes_encrypt_init() 263 struct aes_ctx *actx = ctx; in aes_encrypt() 271 struct aes_ctx *actx = ctx; in aes_encrypt_deinit() 278 struct aes_ctx *ctx; in aes_decrypt_init() 294 struct aes_ctx *actx = ctx; in aes_decrypt() 302 struct aes_ctx *actx = ctx; in aes_decrypt_deinit()
|
/third_party/mbedtls/include/mbedtls/ |
D | ctr_drbg.h | 193 mbedtls_aes_context MBEDTLS_PRIVATE(aes_ctx); /*!< The AES context. */
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 30475 struct CBC_CTX (struct aes128_ctx, AES_BLOCK_SIZE) aes_ctx;
|