Home
last modified time | relevance | path

Searched refs:mbedtls_aes_setkey_enc (Results 1 – 9 of 9) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_aes.function21 TEST_ASSERT( mbedtls_aes_setkey_enc( &ctx, key_str->x, key_str->len * 8 ) == setkey_result );
70 TEST_ASSERT( mbedtls_aes_setkey_enc( &ctx, key_str->x, key_str->len * 8 ) == 0 );
244 TEST_ASSERT( mbedtls_aes_setkey_enc( &ctx, key_str->x, key_str->len * 8 ) == 0 );
266 TEST_ASSERT( mbedtls_aes_setkey_enc( &ctx, key_str->x, key_str->len * 8 ) == 0 );
287 TEST_ASSERT( mbedtls_aes_setkey_enc( &ctx, key_str->x, key_str->len * 8 ) == 0 );
309 TEST_ASSERT( mbedtls_aes_setkey_enc( &ctx, key_str->x, key_str->len * 8 ) == 0 );
336 TEST_ASSERT( mbedtls_aes_setkey_enc( &ctx, key_str->x,
/third_party/mbedtls/library/
Dctr_drbg.c166 if( ( ret = mbedtls_aes_setkey_enc( &aes_ctx, key, in block_cipher_df()
207 if( ( ret = mbedtls_aes_setkey_enc( &aes_ctx, tmp, in block_cipher_df()
290 if( ( ret = mbedtls_aes_setkey_enc( &ctx->aes_ctx, tmp, in ctr_drbg_update_internal()
467 if( ( ret = mbedtls_aes_setkey_enc( &ctx->aes_ctx, key, in mbedtls_ctr_drbg_seed()
Daes.c528 int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_enc() function
668 if( ( ret = mbedtls_aes_setkey_enc( &cty, key, keybits ) ) != 0 ) in mbedtls_aes_setkey_dec()
755 ret = mbedtls_aes_setkey_enc( &ctx->tweak, key2, key2bits ); in mbedtls_aes_xts_setkey_enc()
760 return mbedtls_aes_setkey_enc( &ctx->crypt, key1, key1bits ); in mbedtls_aes_xts_setkey_enc()
780 ret = mbedtls_aes_setkey_enc( &ctx->tweak, key2, key2bits ); in mbedtls_aes_xts_setkey_dec()
1799 ret = mbedtls_aes_setkey_enc( &ctx, key, keybits ); in mbedtls_aes_self_test()
1863 ret = mbedtls_aes_setkey_enc( &ctx, key, keybits ); in mbedtls_aes_self_test()
1931 ret = mbedtls_aes_setkey_enc( &ctx, key, keybits ); in mbedtls_aes_self_test()
1994 ret = mbedtls_aes_setkey_enc( &ctx, key, keybits ); in mbedtls_aes_self_test()
2056 if( ( ret = mbedtls_aes_setkey_enc( &ctx, key, 128 ) ) != 0 ) in mbedtls_aes_self_test()
Dcipher_wrap.c199 return mbedtls_aes_setkey_enc( (mbedtls_aes_context *) ctx, key, key_bitlen ); in aes_setkey_enc_wrap()
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genaes.c95 n = mbedtls_aes_setkey_enc(&ctx->u.ctx, ctx->k->buf, in lws_genaes_create()
114 n = mbedtls_aes_setkey_enc(&ctx->u.ctx, ctx->k->buf, in lws_genaes_create()
214 n = mbedtls_aes_setkey_enc(&ctx, kek, (unsigned int)kek_bits); in lws_genaes_rfc3394_wrap()
/third_party/mbedtls/include/mbedtls/
Daes.h168 int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key,
/third_party/mbedtls/programs/pkey/
Ddh_server.c293 ret = mbedtls_aes_setkey_enc( &aes, buf, 256 ); in main()
/third_party/mbedtls/docs/architecture/
Dalternative-implementations.md74 …erently, you can also enable `MBEDTLS_AES_SETKEY_ENC_ALT` and implement `mbedtls_aes_setkey_enc()`.
/third_party/mbedtls/programs/test/
Dbenchmark.c727 CHECK_AND_CONTINUE( mbedtls_aes_setkey_enc( &aes, tmp, keysize ) ); in main()