Home
last modified time | relevance | path

Searched refs:MBEDTLS_AES_ENCRYPT (Results 1 – 10 of 10) sorted by relevance

/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_aes.function24 TEST_ASSERT( mbedtls_aes_crypt_ecb( &ctx, MBEDTLS_AES_ENCRYPT, src_str->x, output ) == 0 );
71 …TEST_ASSERT( mbedtls_aes_crypt_cbc( &ctx, MBEDTLS_AES_ENCRYPT, src_str->len, iv_str->x, src_str->x…
138 TEST_ASSERT( mbedtls_aes_crypt_xts( &ctx, MBEDTLS_AES_ENCRYPT, src_len,
212 …TEST_ASSERT( mbedtls_aes_crypt_xts( &ctx, MBEDTLS_AES_ENCRYPT, length, data_unit, src, output ) ==…
248 …TEST_ASSERT( mbedtls_aes_crypt_cfb128( &ctx, MBEDTLS_AES_ENCRYPT, 16, &iv_offset, iv_str->x, src_s…
291 …TEST_ASSERT( mbedtls_aes_crypt_cfb8( &ctx, MBEDTLS_AES_ENCRYPT, src_str->len, iv_str->x, src_str->…
375 const int valid_mode = MBEDTLS_AES_ENCRYPT;
581 TEST_ASSERT( mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_ENCRYPT,
585 TEST_ASSERT( mbedtls_aes_crypt_cbc( &aes_ctx, MBEDTLS_AES_ENCRYPT,
592 TEST_ASSERT( mbedtls_aes_crypt_xts( &xts_ctx, MBEDTLS_AES_ENCRYPT,
[all …]
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dctr_drbg.c189 if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df()
217 if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df()
275 if( ( ret = mbedtls_aes_crypt_ecb( &ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, in ctr_drbg_update_internal()
564 if( ( ret = mbedtls_aes_crypt_ecb( &ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, in mbedtls_ctr_drbg_random_with_add()
Daes.c994 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_ecb()
1014 if( mode == MBEDTLS_AES_ENCRYPT ) in mbedtls_aes_crypt_ecb()
1036 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cbc()
1145 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_xts()
1160 ret = mbedtls_aes_crypt_ecb( &ctx->tweak, MBEDTLS_AES_ENCRYPT, in mbedtls_aes_crypt_xts()
1254 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cfb128()
1272 ret = mbedtls_aes_crypt_ecb( ctx, MBEDTLS_AES_ENCRYPT, iv, iv ); in mbedtls_aes_crypt_cfb128()
1290 ret = mbedtls_aes_crypt_ecb( ctx, MBEDTLS_AES_ENCRYPT, iv, iv ); in mbedtls_aes_crypt_cfb128()
1323 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cfb8()
1331 ret = mbedtls_aes_crypt_ecb( ctx, MBEDTLS_AES_ENCRYPT, iv, iv ); in mbedtls_aes_crypt_cfb8()
[all …]
Dcipher_wrap.c184 mode = MBEDTLS_AES_ENCRYPT; in aes_crypt_xts_wrap()
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/
Daes.h54 #define MBEDTLS_AES_ENCRYPT 1 /**< AES encryption. */ macro
Dcompat-1.3.h649 #define AES_ENCRYPT MBEDTLS_AES_ENCRYPT
/openthread-3.6.0/third_party/mbedtls/repo/programs/pkey/
Ddh_server.c302 ret = mbedtls_aes_crypt_ecb( &aes, MBEDTLS_AES_ENCRYPT, buf, buf ); in main()
/openthread-3.6.0/third_party/mbedtls/repo/programs/test/
Dbenchmark.c505 mbedtls_aes_crypt_cbc( &aes, MBEDTLS_AES_ENCRYPT, BUFSIZE, tmp, buf, buf ) ); in main()
526 mbedtls_aes_crypt_xts( &ctx, MBEDTLS_AES_ENCRYPT, BUFSIZE, in main()
/openthread-3.6.0/src/core/crypto/
Dcrypto_platform.cpp129 …VerifyOrExit((mbedtls_aes_crypt_ecb(context, MBEDTLS_AES_ENCRYPT, aInput, aOutput) == 0), error = … in otPlatCryptoAesEncrypt()
/openthread-3.6.0/third_party/mbedtls/repo/scripts/data_files/
Drename-1.3-2.0.txt2 AES_ENCRYPT MBEDTLS_AES_ENCRYPT