Home
last modified time | relevance | path

Searched refs:msg_hash (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ed25519/
A Ded25519_sign.c97 unsigned char msg_hash[64]; in ed25519ph_sign() local
104 if ((err = tweetnacl_crypto_ph(msg_hash, msg, msglen)) != CRYPT_OK) in ed25519ph_sign()
107 …return s_ed25519_sign(msg_hash, sizeof(msg_hash), sig, siglen, ctx_prefix, ctx_prefix_size, privat… in ed25519ph_sign()
A Ded25519_verify.c103 unsigned char msg_hash[64]; in ed25519ph_verify() local
110 if ((err = tweetnacl_crypto_ph(msg_hash, msg, msglen)) != CRYPT_OK) in ed25519ph_verify()
113 …return s_ed25519_verify(msg_hash, sizeof(msg_hash), sig, siglen, ctx_prefix, ctx_prefix_size, stat… in ed25519ph_verify()

Completed in 2 milliseconds