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_internal.h25249 expected_ciphertext = in libcrux_ml_kem_ind_cca_decapsulate_fd() local
25266 Eurydice_array_to_slice_shared_06(&expected_ciphertext), in libcrux_ml_kem_ind_cca_decapsulate_fd()
26377 expected_ciphertext = in libcrux_ml_kem_ind_cca_unpacked_decapsulate_0c() local
26385 Eurydice_array_to_slice_shared_06(&expected_ciphertext)); in libcrux_ml_kem_ind_cca_unpacked_decapsulate_0c()