Home
last modified time | relevance | path

Searched refs:expected_ciphertext (Results 1 – 2 of 2) 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()
/freebsd/crypto/openssh/
H A Dlibcrux_mlkem768_sha3.h9729 uint8_t expected_ciphertext[1088U]; in libcrux_ml_kem_ind_cca_decapsulate_62() local
9731 pseudorandomness, expected_ciphertext); in libcrux_ml_kem_ind_cca_decapsulate_62()
9745 Eurydice_array_to_slice((size_t)1088U, expected_ciphertext, uint8_t), in libcrux_ml_kem_ind_cca_decapsulate_62()
10833 uint8_t expected_ciphertext[1088U]; in libcrux_ml_kem_ind_cca_unpacked_decapsulate_51() local
10836 expected_ciphertext); in libcrux_ml_kem_ind_cca_unpacked_decapsulate_51()
10840 Eurydice_array_to_slice((size_t)1088U, expected_ciphertext, uint8_t)); in libcrux_ml_kem_ind_cca_unpacked_decapsulate_51()