Home
last modified time | relevance | path

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

/third_party/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()
/third_party/openssl/ohos_lite/crypto/ec/
Dcurve25519.c5438 uint8_t hram[SHA512_DIGEST_LENGTH]; in ED25519_sign() local
5462 SHA512_Final(hram, &hash_ctx); in ED25519_sign()
5464 x25519_sc_reduce(hram); in ED25519_sign()
5465 sc_muladd(out_sig + 32, hram, az, nonce); in ED25519_sign()
/third_party/openssl/crypto/ec/
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()