Home
last modified time | relevance | path

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

/external/openssh/
Ded25519.c14 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/libwebsockets/plugins/ssh-base/crypto/
Ded25519.c36 get_hram(unsigned char *hram, const unsigned char *sm, in get_hram() argument
49 crypto_hash_sha512(hram, playground, smlen); in get_hram()
93 unsigned char hram[crypto_hash_sha512_BYTES]; in crypto_sign_ed25519() local
118 get_hram(hram, sm, sk + 32, sm, (size_t)mlen + 64); in crypto_sign_ed25519()
120 sc25519_from64bytes(&scs, hram); in crypto_sign_ed25519()
183 unsigned char hram[crypto_hash_sha512_BYTES]; in crypto_sign_ed25519_open() local
197 get_hram(hram,sm,pk,m, (size_t)smlen); in crypto_sign_ed25519_open()
199 sc25519_from64bytes(&schram, hram); in crypto_sign_ed25519_open()
/external/rust/crates/ring/src/ec/curve25519/ed25519/
Dsigning.rs206 let hram = Scalar::from_sha512_digest_reduced(hram_digest); in sign() localVariable
210 &hram, in sign()
/external/boringssl/src/crypto/curve25519/
Dcurve25519.c1915 uint8_t hram[SHA512_DIGEST_LENGTH]; in ED25519_sign() local
1916 SHA512_Final(hram, &hash_ctx); in ED25519_sign()
1918 x25519_sc_reduce(hram); in ED25519_sign()
1919 sc_muladd(out_sig + 32, hram, az, nonce); in ED25519_sign()
/external/rust/crates/quiche/deps/boringssl/src/crypto/curve25519/
Dcurve25519.c1915 uint8_t hram[SHA512_DIGEST_LENGTH]; in ED25519_sign() local
1916 SHA512_Final(hram, &hash_ctx); in ED25519_sign()
1918 x25519_sc_reduce(hram); in ED25519_sign()
1919 sc_muladd(out_sig + 32, hram, az, nonce); in ED25519_sign()