Home
last modified time | relevance | path

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

/netbsd-src/sys/external/isc/libsodium/dist/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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/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
64 dom[0] = (uint8_t)(2 - (prehashed == 0 ? 1 : 0) in hash_init_with_dom()
135 uint8_t prehashed, const uint8_t *context, in c448_ed448_sign() argument
164 if (!hash_init_with_dom(hashctx, prehashed, 0, context, context_len) in c448_ed448_sign()
205 if (!hash_init_with_dom(hashctx, prehashed, 0, context, context_len) in c448_ed448_sign()
250 uint8_t prehashed, const uint8_t *context, in c448_ed448_verify() argument
299 || !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,
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/curve448/
H A Deddsa.c58 uint8_t prehashed, in hash_init_with_dom() argument
76 dom[0] = (uint8_t)(2 - (prehashed == 0 ? 1 : 0) in hash_init_with_dom()
164 uint8_t prehashed, const uint8_t *context, in ossl_c448_ed448_sign() argument
193 if (!hash_init_with_dom(ctx, hashctx, prehashed, 0, context, in ossl_c448_ed448_sign()
235 if (!hash_init_with_dom(ctx, hashctx, prehashed, 0, context, context_len, in ossl_c448_ed448_sign()
285 uint8_t prehashed, const uint8_t *context, in ossl_c448_ed448_verify() argument
334 || !hash_init_with_dom(ctx, hashctx, prehashed, 0, context, in ossl_c448_ed448_verify()
H A Ded448.h70 uint8_t prehashed, const uint8_t *context,
125 uint8_t prehashed, const uint8_t *context,