Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/libsodium/test/default/
H A Daead_aes256gcm.c3103 mac = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_ABYTES); in tv()
3124 ciphertext_len = message_len + crypto_aead_aes256gcm_ABYTES; in tv()
3131 assert(strlen(tests[i].mac_hex) == 2 * crypto_aead_aes256gcm_ABYTES); in tv()
3132 sodium_hex2bin(expected_ciphertext + message_len, crypto_aead_aes256gcm_ABYTES, in tv()
3142 assert(found_mac_len == crypto_aead_aes256gcm_ABYTES); in tv()
3146 crypto_aead_aes256gcm_ABYTES) != 0) { in tv()
3183 randombytes_uniform(crypto_aead_aes256gcm_ABYTES), in tv()
3237 assert(crypto_aead_aes256gcm_abytes() == crypto_aead_aes256gcm_ABYTES); in main()
/f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_aead_aes256gcm.h49 #define crypto_aead_aes256gcm_ABYTES 16U macro
54 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_aes256gcm_ABYTES, \
55 (16ULL * ((1ULL << 32) - 2ULL)) - crypto_aead_aes256gcm_ABYTES)
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/
H A Daead_aes256gcm_aesni.c637 *clen_p = mlen + crypto_aead_aes256gcm_ABYTES; in crypto_aead_aes256gcm_encrypt_afternm()
810 if (clen >= crypto_aead_aes256gcm_ABYTES) { in crypto_aead_aes256gcm_decrypt_afternm()
812 (m, nsec, c, clen - crypto_aead_aes256gcm_ABYTES, in crypto_aead_aes256gcm_decrypt_afternm()
813 c + clen - crypto_aead_aes256gcm_ABYTES, in crypto_aead_aes256gcm_decrypt_afternm()
818 mlen = clen - crypto_aead_aes256gcm_ABYTES; in crypto_aead_aes256gcm_decrypt_afternm()
1060 return crypto_aead_aes256gcm_ABYTES; in crypto_aead_aes256gcm_abytes()