Home
last modified time | relevance | path

Searched refs:mbedtls_gcm_setkey (Results 1 – 16 of 16) sorted by relevance

/external/mbedtls/tests/suites/
Dtest_suite_gcm.function181 TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == 0 );
210 … TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == init_result );
256 … TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == init_result );
302 TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == 0 );
324 TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == 0 );
343 TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == 0 );
363 TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == 0 );
386 TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == 0 );
406 TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == 0 );
424 /* mbedtls_gcm_setkey */
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_gcm.function26 TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == 0 );
53 … TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == init_result );
86 … TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == init_result );
125 /* mbedtls_gcm_setkey */
128 mbedtls_gcm_setkey( NULL, valid_cipher, valid_buffer, valid_bitlen ) );
131 mbedtls_gcm_setkey( &ctx, valid_cipher, NULL, valid_bitlen ) );
134 mbedtls_gcm_setkey( &ctx, valid_cipher, valid_buffer, invalid_bitlen ) );
/external/openthread/third_party/mbedtls/repo/library/
Dgcm.c138 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey() function
775 ret = mbedtls_gcm_setkey( &ctx, cipher, in mbedtls_gcm_self_test()
832 ret = mbedtls_gcm_setkey( &ctx, cipher, in mbedtls_gcm_self_test()
868 ret = mbedtls_gcm_setkey( &ctx, cipher, in mbedtls_gcm_self_test()
929 ret = mbedtls_gcm_setkey( &ctx, cipher, in mbedtls_gcm_self_test()
Dcipher_wrap.c518 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap()
893 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap()
1269 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
Dpsa_crypto_aead.c129 mbedtls_gcm_setkey( &operation->ctx.gcm, cipher_id, in psa_aead_setup()
/external/mbedtls/library/
Dgcm.c123 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey() function
865 ret = mbedtls_gcm_setkey( &ctx, cipher, in mbedtls_gcm_self_test()
922 ret = mbedtls_gcm_setkey( &ctx, cipher, in mbedtls_gcm_self_test()
958 ret = mbedtls_gcm_setkey( &ctx, cipher, in mbedtls_gcm_self_test()
1032 ret = mbedtls_gcm_setkey( &ctx, cipher, in mbedtls_gcm_self_test()
Dcipher_wrap.c504 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap()
912 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap()
1321 return mbedtls_gcm_setkey( (mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
Dpsa_crypto_aead.c91 mbedtls_gcm_setkey( &operation->ctx.gcm, cipher_id, in psa_aead_setup()
/external/openthread/third_party/mbedtls/repo/include/mbedtls/
Dgcm.h115 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx,
/external/mbedtls/include/mbedtls/
Dgcm.h109 int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx,
/external/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_crypto.c255 rc = mbedtls_gcm_setkey(&ctx, cipher, key, key_len * 8); in aes_gcm_decrypt()
/external/libwebsockets/lib/tls/mbedtls/
Dlws-genaes.c71 n = mbedtls_gcm_setkey(&ctx->u.ctx_gcm, MBEDTLS_CIPHER_ID_AES, in lws_genaes_create()
/external/mbedtls/programs/test/
Dbenchmark.c752 mbedtls_gcm_setkey( &gcm, MBEDTLS_CIPHER_ID_AES, tmp, keysize ); in main()
/external/openthread/third_party/mbedtls/repo/programs/test/
Dbenchmark.c546 mbedtls_gcm_setkey( &gcm, MBEDTLS_CIPHER_ID_AES, tmp, keysize ); in main()
/external/openthread/third_party/mbedtls/repo/
DChangeLog2798 mbedtls_gcm_init() -> mbedtls_gcm_setkey()
/external/mbedtls/
DChangeLog3600 mbedtls_gcm_init() -> mbedtls_gcm_setkey()