Home
last modified time | relevance | path

Searched refs:mbedtls_ccm_setkey (Results 1 – 8 of 8) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_ccm.function77 void mbedtls_ccm_setkey(int cipher_id, int key_size, int result)
88 ret = mbedtls_ccm_setkey(&ctx, cipher_id, key, key_size);
117 TEST_ASSERT(mbedtls_ccm_setkey(&ctx, MBEDTLS_CIPHER_ID_AES,
160 TEST_ASSERT(mbedtls_ccm_setkey(&ctx, MBEDTLS_CIPHER_ID_AES,
202 TEST_EQUAL(mbedtls_ccm_setkey(&ctx, cipher_id, key->x, key->len * 8), 0);
245 TEST_EQUAL(mbedtls_ccm_setkey(&ctx, cipher_id, key->x, key->len * 8), 0);
281 TEST_EQUAL(mbedtls_ccm_setkey(&ctx, cipher_id, key->x, key->len * 8), 0);
368 TEST_EQUAL(mbedtls_ccm_setkey(&ctx, cipher_id,
447 TEST_ASSERT(mbedtls_ccm_setkey(&ctx, cipher_id, key->x, key->len * 8) == 0);
499 TEST_EQUAL(mbedtls_ccm_setkey(&ctx, cipher_id, key->x, key->len * 8), 0);
[all …]
Dtest_suite_ccm.data6 mbedtls_ccm_setkey:MBEDTLS_CIPHER_ID_AES:128:0
10 mbedtls_ccm_setkey:MBEDTLS_CIPHER_ID_CAMELLIA:256:0
14 mbedtls_ccm_setkey:MBEDTLS_CIPHER_ID_AES:224:MBEDTLS_ERR_CCM_BAD_INPUT
18 mbedtls_ccm_setkey:MBEDTLS_CIPHER_ID_DES:128:MBEDTLS_ERR_CCM_BAD_INPUT
/third_party/mbedtls/include/mbedtls/
Dccm.h128 int mbedtls_ccm_setkey(mbedtls_ccm_context *ctx,
/third_party/mbedtls/library/
Dccm.c59 int mbedtls_ccm_setkey(mbedtls_ccm_context *ctx, in mbedtls_ccm_setkey() function
661 if (mbedtls_ccm_setkey(&ctx, MBEDTLS_CIPHER_ID_AES, key_test_data, in mbedtls_ccm_self_test()
Dcipher_wrap.c577 return mbedtls_ccm_setkey((mbedtls_ccm_context *) ctx, MBEDTLS_CIPHER_ID_AES, in ccm_aes_setkey_wrap()
986 return mbedtls_ccm_setkey((mbedtls_ccm_context *) ctx, MBEDTLS_CIPHER_ID_CAMELLIA, in ccm_camellia_setkey_wrap()
1396 return mbedtls_ccm_setkey((mbedtls_ccm_context *) ctx, MBEDTLS_CIPHER_ID_ARIA, in ccm_aria_setkey_wrap()
Dpsa_crypto_aead.c74 mbedtls_ccm_setkey(&operation->ctx.ccm, cipher_id, in psa_aead_setup()
/third_party/mbedtls/programs/test/
Dbenchmark.c763 mbedtls_ccm_setkey(&ccm, MBEDTLS_CIPHER_ID_AES, tmp, keysize); in main()
/third_party/mbedtls/
DChangeLog3819 mbedtls_ccm_init() -> mbedtls_ccm_setkey()