Searched refs:mbedtls_aes_setkey_enc (Results 1 – 10 of 10) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_aes.function | 24 TEST_ASSERT(mbedtls_aes_setkey_enc(master, key->x, 79 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key_str->x, key_str->len * 8) == setkey_result); 109 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key->x, key->len * 8) == 0); 167 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key, sizeof(key) * 8) == 0); 178 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key, sizeof(key) * 8) == 0); 244 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key_str->x, key_str->len * 8) == 0); 419 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key_str->x, key_str->len * 8) == 0); 442 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key_str->x, key_str->len * 8) == 0); 464 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key_str->x, key_str->len * 8) == 0); 487 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key_str->x, key_str->len * 8) == 0); [all …]
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | ctr_drbg.c | 215 if ((ret = mbedtls_aes_setkey_enc(&aes_ctx, key, in block_cipher_df() 268 if ((ret = mbedtls_aes_setkey_enc(&aes_ctx, tmp, in block_cipher_df() 378 if ((ret = mbedtls_aes_setkey_enc(&ctx->aes_ctx, tmp, in ctr_drbg_update_internal() 568 if ((ret = mbedtls_aes_setkey_enc(&ctx->aes_ctx, key, in mbedtls_ctr_drbg_seed()
|
D | aes.c | 576 int mbedtls_aes_setkey_enc(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_enc() function 704 if ((ret = mbedtls_aes_setkey_enc(&cty, key, keybits)) != 0) { in mbedtls_aes_setkey_dec() 797 ret = mbedtls_aes_setkey_enc(&ctx->tweak, key2, key2bits); in mbedtls_aes_xts_setkey_enc() 803 return mbedtls_aes_setkey_enc(&ctx->crypt, key1, key1bits); in mbedtls_aes_xts_setkey_enc() 821 ret = mbedtls_aes_setkey_enc(&ctx->tweak, key2, key2bits); in mbedtls_aes_xts_setkey_dec() 1915 ret = mbedtls_aes_setkey_enc(&ctx, key, keybits); in mbedtls_aes_self_test() 1979 ret = mbedtls_aes_setkey_enc(&ctx, key, keybits); in mbedtls_aes_self_test() 2049 ret = mbedtls_aes_setkey_enc(&ctx, key, keybits); in mbedtls_aes_self_test() 2113 ret = mbedtls_aes_setkey_enc(&ctx, key, keybits); in mbedtls_aes_self_test() 2176 if ((ret = mbedtls_aes_setkey_enc(&ctx, key, 128)) != 0) { in mbedtls_aes_self_test()
|
D | block_cipher.c | 149 return mbedtls_aes_setkey_enc(&ctx->ctx.aes, key, key_bitlen); in mbedtls_block_cipher_setkey()
|
D | cipher_wrap.c | 244 return mbedtls_aes_setkey_enc((mbedtls_aes_context *) ctx, key, key_bitlen); in aes_setkey_enc_wrap()
|
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/ |
D | aes.h | 155 int mbedtls_aes_setkey_enc(mbedtls_aes_context *ctx, const unsigned char *key,
|
/openthread-latest/third_party/mbedtls/repo/programs/test/ |
D | benchmark.c | 731 CHECK_AND_CONTINUE(mbedtls_aes_setkey_enc(&aes, tmp, keysize)); in main() 751 CHECK_AND_CONTINUE(mbedtls_aes_setkey_enc(&aes, tmp, keysize)); in main() 769 CHECK_AND_CONTINUE(mbedtls_aes_setkey_enc(&aes, tmp, keysize)); in main() 794 CHECK_AND_CONTINUE(mbedtls_aes_setkey_enc(&aes, tmp, keysize)); in main()
|
/openthread-latest/third_party/mbedtls/repo/programs/pkey/ |
D | dh_server.c | 268 ret = mbedtls_aes_setkey_enc(&aes, buf, 256); in main()
|
/openthread-latest/third_party/mbedtls/repo/docs/architecture/ |
D | alternative-implementations.md | 74 …erently, you can also enable `MBEDTLS_AES_SETKEY_ENC_ALT` and implement `mbedtls_aes_setkey_enc()`.
|
/openthread-latest/src/core/crypto/ |
D | crypto_platform.cpp | 113 …VerifyOrExit((mbedtls_aes_setkey_enc(context, key.GetBytes(), (key.GetLength() * kBitsPerByte)) ==… in otPlatCryptoAesSetKey()
|