Searched refs:Hash_prefix (Results 1 – 2 of 2) sorted by relevance
/openbsd/sbin/iked/ |
H A D | sntrup761.c | 682 static void Hash_prefix(unsigned char *out,int b,const unsigned char *in,int inlen) in Hash_prefix() function 891 Hash_prefix(h,5,s,sizeof s); in HashShort() 1153 Hash_prefix(x,3,r,Inputs_bytes); in HashConfirm() 1162 Hash_prefix(h,2,x,sizeof x); in HashConfirm() 1174 Hash_prefix(x,3,y,Inputs_bytes); in HashSession() 1183 Hash_prefix(k,b,x,sizeof x); in HashSession() 1196 Hash_prefix(sk,4,pk,PublicKeys_bytes); in KEM_KeyGen() 1214 Hash_prefix(cache,4,pk,PublicKeys_bytes); in Encap()
|
/openbsd/usr.bin/ssh/ |
H A D | sntrup761.c | 1950 static void Hash_prefix(unsigned char *out, int b, const unsigned char *in, int inlen) { in Hash_prefix() function 2093 Hash_prefix(x, 3, r, Small_bytes); in HashConfirm() 2095 Hash_prefix(h, 2, x, sizeof x); in HashConfirm() 2101 Hash_prefix(x, 3, y, Small_bytes); in HashSession() 2103 Hash_prefix(k, b, x, sizeof x); in HashSession() 2112 Hash_prefix(sk + Small_bytes, 4, pk, crypto_kem_sntrup761_PUBLICKEYBYTES); in crypto_kem_sntrup761_keypair() 2125 Hash_prefix(cache, 4, pk, crypto_kem_sntrup761_PUBLICKEYBYTES); in crypto_kem_sntrup761_enc()
|