Home
last modified time | relevance | path

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

/freebsd/contrib/bearssl/test/
H A Dtest_crypto.c7913 static const char *const KAT_CCM[] = { variable
7953 for (u = 0; KAT_CCM[u]; u += 6) { in test_CCM_inner()
7966 key_len = hextobin(key, KAT_CCM[u]); in test_CCM_inner()
7967 nonce_len = hextobin(nonce, KAT_CCM[u + 1]); in test_CCM_inner()
7968 if (KAT_CCM[u + 2] == NULL) { in test_CCM_inner()
7980 aad_len = hextobin(aad, KAT_CCM[u + 2]); in test_CCM_inner()
7982 plain_len = hextobin(plain, KAT_CCM[u + 3]); in test_CCM_inner()
7983 hextobin(cipher, KAT_CCM[u + 4]); in test_CCM_inner()
7984 tag_len = hextobin(tag, KAT_CCM[u + 5]); in test_CCM_inner()