/aosp_15_r20/external/mbedtls/tests/suites/ |
H A D | test_suite_gcm.function | 179 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 209 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == init_result); 255 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == init_result); 305 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 327 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 346 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 366 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 389 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 409 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 427 /* mbedtls_gcm_setkey */ [all …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/ |
H A D | test_suite_gcm.function | 164 TEST_EQUAL(mbedtls_gcm_setkey(ctx, valid_cipher, key, key_bits), 0); 195 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 227 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == init_result); 275 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == init_result); 327 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 351 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 372 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 394 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 419 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); 441 TEST_ASSERT(mbedtls_gcm_setkey(&ctx, cipher_id, key_str->x, key_str->len * 8) == 0); [all …]
|
/aosp_15_r20/external/mbedtls/library/ |
H A D | gcm.c | 121 int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey() function 898 ret = mbedtls_gcm_setkey(&ctx, cipher, in mbedtls_gcm_self_test() 953 ret = mbedtls_gcm_setkey(&ctx, cipher, in mbedtls_gcm_self_test() 992 ret = mbedtls_gcm_setkey(&ctx, cipher, in mbedtls_gcm_self_test() 1074 ret = mbedtls_gcm_setkey(&ctx, cipher, in mbedtls_gcm_self_test()
|
H A D | cipher_wrap.c | 564 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap() 979 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap() 1389 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
|
H A D | psa_crypto_aead.c | 82 mbedtls_gcm_setkey(&operation->ctx.gcm, cipher_id, in psa_aead_setup()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | gcm.c | 162 int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx, in mbedtls_gcm_setkey() function 1060 ret = mbedtls_gcm_setkey(&ctx, cipher, in mbedtls_gcm_self_test() 1115 ret = mbedtls_gcm_setkey(&ctx, cipher, in mbedtls_gcm_self_test() 1154 ret = mbedtls_gcm_setkey(&ctx, cipher, in mbedtls_gcm_self_test() 1236 ret = mbedtls_gcm_setkey(&ctx, cipher, in mbedtls_gcm_self_test()
|
H A D | cipher_wrap.c | 573 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in gcm_aes_setkey_wrap() 1019 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in gcm_camellia_setkey_wrap() 1437 return mbedtls_gcm_setkey((mbedtls_gcm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in gcm_aria_setkey_wrap()
|
H A D | psa_crypto_aead.c | 78 mbedtls_gcm_setkey(&operation->ctx.gcm, cipher_id, in psa_aead_setup()
|
/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | gcm.h | 96 int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx,
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
H A D | gcm.h | 110 int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx,
|
/aosp_15_r20/external/arm-trusted-firmware/drivers/auth/mbedtls/ |
H A D | mbedtls_crypto.c | 255 rc = mbedtls_gcm_setkey(&ctx, cipher, key, key_len * 8); in aes_gcm_decrypt()
|
/aosp_15_r20/external/trusty/arm-trusted-firmware/drivers/auth/mbedtls/ |
D | mbedtls_crypto.c | 317 rc = mbedtls_gcm_setkey(&ctx, cipher, key, key_len * 8); in aes_gcm_decrypt()
|
D | mbedtls_psa_crypto.c | 645 rc = mbedtls_gcm_setkey(&ctx, cipher, key, key_len * 8); in aes_gcm_decrypt()
|
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/ |
H A D | lws-genaes.c | 71 n = mbedtls_gcm_setkey(&ctx->u.ctx_gcm, MBEDTLS_CIPHER_ID_AES, in lws_genaes_create()
|
/aosp_15_r20/external/mbedtls/programs/test/ |
H A D | benchmark.c | 755 mbedtls_gcm_setkey(&gcm, MBEDTLS_CIPHER_ID_AES, tmp, keysize); in main()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/test/ |
H A D | benchmark.c | 834 mbedtls_gcm_setkey(&gcm, MBEDTLS_CIPHER_ID_AES, tmp, keysize); in main()
|
/aosp_15_r20/external/mbedtls/ |
H A D | ChangeLog | 4133 mbedtls_gcm_init() -> mbedtls_gcm_setkey()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/ |
H A D | ChangeLog | 4393 mbedtls_gcm_init() -> mbedtls_gcm_setkey()
|