Skip to content

Commit 4f7747e

Browse files
committed
DSA not DH
1 parent c210f24 commit 4f7747e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pk/dsa/dsa_verify_hash.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@param hash The hash that was signed
2424
@param hashlen The length of the hash that was signed
2525
@param stat [out] The result of the signature verification, 1==valid, 0==invalid
26-
@param key The corresponding public DH key
26+
@param key The corresponding public DSA key
2727
@return CRYPT_OK if successful (even if the signature is invalid)
2828
*/
2929
int dsa_verify_hash_raw( void *r, void *s,
@@ -89,7 +89,7 @@ int dsa_verify_hash_raw( void *r, void *s,
8989
@param hash The hash that was signed
9090
@param hashlen The length of the hash that was signed
9191
@param stat [out] The result of the signature verification, 1==valid, 0==invalid
92-
@param key The corresponding public DH key
92+
@param key The corresponding public DSA key
9393
@return CRYPT_OK if successful (even if the signature is invalid)
9494
*/
9595
int dsa_verify_hash(const unsigned char *sig, unsigned long siglen,

0 commit comments

Comments
 (0)