Searched refs:expected_ciphertext (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | aead_aes256gcm.c | 3086 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 D | libcrux_mlkem768_sha3.h | 10972 uint8_t expected_ciphertext[1088U]; in libcrux_ml_kem_ind_cca_decapsulate_70() local 10974 pseudorandomness, expected_ciphertext); in libcrux_ml_kem_ind_cca_decapsulate_70() 10985 Eurydice_array_to_slice((size_t)1088U, expected_ciphertext, uint8_t), in libcrux_ml_kem_ind_cca_decapsulate_70() 11737 uint8_t expected_ciphertext[1088U]; in libcrux_ml_kem_ind_cca_decapsulate_700() local 11739 pseudorandomness, expected_ciphertext); in libcrux_ml_kem_ind_cca_decapsulate_700() 11750 Eurydice_array_to_slice((size_t)1088U, expected_ciphertext, uint8_t), in libcrux_ml_kem_ind_cca_decapsulate_700()
|