Searched refs:hram (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | ed25519.c | 14 static void get_hram(unsigned char *hram, const unsigned char *sm, const unsigned char *pk, unsigne… in get_hram() argument 22 crypto_hash_sha512(hram,playground,smlen); in get_hram() 64 unsigned char hram[crypto_hash_sha512_BYTES]; in crypto_sign_ed25519() local 88 get_hram(hram, sm, sk+32, sm, mlen+64); in crypto_sign_ed25519() 90 sc25519_from64bytes(&scs, hram); in crypto_sign_ed25519() 114 unsigned char hram[crypto_hash_sha512_BYTES]; in crypto_sign_ed25519_open() local 121 get_hram(hram,sm,pk,m,smlen); in crypto_sign_ed25519_open() 123 sc25519_from64bytes(&schram, hram); in crypto_sign_ed25519_open()
|
/external/boringssl/src/third_party/fiat/ |
D | curve25519.c | 1923 uint8_t hram[SHA512_DIGEST_LENGTH]; in ED25519_sign() local 1924 SHA512_Final(hram, &hash_ctx); in ED25519_sign() 1926 x25519_sc_reduce(hram); in ED25519_sign() 1927 sc_muladd(out_sig + 32, hram, az, nonce); in ED25519_sign()
|