Searched refs:crypto_aead_aes256gcm_ABYTES (Results 1 – 3 of 3) sorted by relevance
3103 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()
49 #define crypto_aead_aes256gcm_ABYTES 16U macro54 SODIUM_MIN(SODIUM_SIZE_MAX - crypto_aead_aes256gcm_ABYTES, \55 (16ULL * ((1ULL << 32) - 2ULL)) - crypto_aead_aes256gcm_ABYTES)
637 *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()