Home
last modified time | relevance | path

Searched refs:hram (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/
H A Dobsolete.c39 unsigned char hram[64]; in crypto_sign_edwards25519sha512batch() local
56 crypto_hash_sha512_final(&hs, hram); in crypto_sign_edwards25519sha512batch()
57 sc25519_reduce(hram); in crypto_sign_edwards25519sha512batch()
58 sc25519_muladd(sig + 32, hram, nonce, sk); in crypto_sign_edwards25519sha512batch()
59 sodium_memzero(hram, sizeof hram); in crypto_sign_edwards25519sha512batch()
H A Dsign.c72 unsigned char hram[64]; in _crypto_sign_ed25519_detached() local
97 crypto_hash_sha512_final(&hs, hram); in _crypto_sign_ed25519_detached()
99 sc25519_reduce(hram); in _crypto_sign_ed25519_detached()
101 sc25519_muladd(sig + 32, hram, az, nonce); in _crypto_sign_ed25519_detached()
/freebsd/crypto/openssh/
H A Ded25519.c1943 unsigned char hram[64]; in crypto_sign_ed25519() local
1972 crypto_hash_sha512(hram,sm,mlen + 64); in crypto_sign_ed25519()
1975 sc25519_from64bytes(&scs, hram); in crypto_sign_ed25519()
1996 unsigned char hram[64]; in crypto_sign_ed25519_open() local
2012 crypto_hash_sha512(hram,m,smlen); in crypto_sign_ed25519_open()
2014 sc25519_from64bytes(&schram, hram); in crypto_sign_ed25519_open()
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c5450 uint8_t hram[SHA512_DIGEST_LENGTH]; in ossl_ed25519_sign() local
5482 || !EVP_DigestFinal_ex(hash_ctx, hram, &sz)) in ossl_ed25519_sign()
5485 x25519_sc_reduce(hram); in ossl_ed25519_sign()
5486 sc_muladd(out_sig + 32, hram, az, nonce); in ossl_ed25519_sign()