Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/
H A Dsign.c12 _crypto_sign_ed25519_ref10_hinit(crypto_hash_sha512_state *hs, int prehashed) in _crypto_sign_ed25519_ref10_hinit() argument
22 if (prehashed) { in _crypto_sign_ed25519_ref10_hinit()
67 const unsigned char *sk, int prehashed) in _crypto_sign_ed25519_detached() argument
75 _crypto_sign_ed25519_ref10_hinit(&hs, prehashed); in _crypto_sign_ed25519_detached()
94 _crypto_sign_ed25519_ref10_hinit(&hs, prehashed); in _crypto_sign_ed25519_detached()
H A Dsign_ed25519_ref10.h5 int prehashed);
11 const unsigned char *sk, int prehashed);
17 int prehashed);
H A Dopen.c18 int prehashed) in _crypto_sign_ed25519_verify_detached() argument
43 _crypto_sign_ed25519_ref10_hinit(&hs, prehashed); in _crypto_sign_ed25519_verify_detached()
/freebsd-12.1/crypto/openssl/crypto/ec/curve448/
H A Deddsa.c48 static c448_error_t hash_init_with_dom(EVP_MD_CTX *hashctx, uint8_t prehashed, in hash_init_with_dom() argument
59 dom[0] = (uint8_t)(2 - (prehashed == 0 ? 1 : 0) in hash_init_with_dom()
130 uint8_t prehashed, const uint8_t *context, in c448_ed448_sign() argument
159 if (!hash_init_with_dom(hashctx, prehashed, 0, context, context_len) in c448_ed448_sign()
200 if (!hash_init_with_dom(hashctx, prehashed, 0, context, context_len) in c448_ed448_sign()
245 uint8_t prehashed, const uint8_t *context, in c448_ed448_verify() argument
294 || !hash_init_with_dom(hashctx, prehashed, 0, context, in c448_ed448_verify()
H A Ded448.h66 uint8_t prehashed, const uint8_t *context,
116 uint8_t prehashed, const uint8_t *context,