Searched refs:mbedtls_ccm_setkey (Results 1 – 8 of 8) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_ccm.function | 77 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 …]
|
D | test_suite_ccm.data | 6 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/ |
D | ccm.h | 128 int mbedtls_ccm_setkey(mbedtls_ccm_context *ctx,
|
/third_party/mbedtls/library/ |
D | ccm.c | 59 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()
|
D | cipher_wrap.c | 577 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()
|
D | psa_crypto_aead.c | 74 mbedtls_ccm_setkey(&operation->ctx.ccm, cipher_id, in psa_aead_setup()
|
/third_party/mbedtls/programs/test/ |
D | benchmark.c | 763 mbedtls_ccm_setkey(&ccm, MBEDTLS_CIPHER_ID_AES, tmp, keysize); in main()
|
/third_party/mbedtls/ |
D | ChangeLog | 3819 mbedtls_ccm_init() -> mbedtls_ccm_setkey()
|