Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/test/default/
H A Daead_aes256gcm.c3086 unsigned char *expected_ciphertext; in tv() local
3126 expected_ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv()
3128 sodium_hex2bin(expected_ciphertext, message_len, in tv()
3132 sodium_hex2bin(expected_ciphertext + message_len, crypto_aead_aes256gcm_ABYTES, in tv()
3143 if (memcmp(detached_ciphertext, expected_ciphertext, in tv()
3145 memcmp(mac, expected_ciphertext + message_len, in tv()
3160 if (memcmp(ciphertext, expected_ciphertext, ciphertext_len) != 0) { in tv()
3215 sodium_free(expected_ciphertext); in tv()