Searched refs:r_enc (Results 1 – 1 of 1) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | sntrup761.c | 2121 static void Hide(unsigned char *c, unsigned char *r_enc, const Inputs r, const unsigned char *pk, c… in Hide() argument 2122 Small_encode(r_enc, r); in Hide() 2124 HashConfirm(c + crypto_kem_sntrup761_CIPHERTEXTBYTES - Confirm_bytes, r_enc, cache); in Hide() 2129 unsigned char r_enc[Small_bytes], cache[Hash_bytes]; in crypto_kem_sntrup761_enc() local 2132 Hide(c, r_enc, r, pk, cache); in crypto_kem_sntrup761_enc() 2133 HashSession(k, 1, r_enc, c); in crypto_kem_sntrup761_enc() 2149 unsigned char r_enc[Small_bytes], cnew[crypto_kem_sntrup761_CIPHERTEXTBYTES]; in crypto_kem_sntrup761_dec() local 2152 Hide(cnew, r_enc, r, pk, cache); in crypto_kem_sntrup761_dec() 2154 for (i = 0; i < Small_bytes; ++i) r_enc[i] ^= mask & (r_enc[i] ^ rho[i]); in crypto_kem_sntrup761_dec() 2155 HashSession(k, 1 + mask, r_enc, c); in crypto_kem_sntrup761_dec()
|