From 12c427fea2b0932b526a05ccf80844e847b81684 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Mon, 5 Dec 2011 15:37:26 +0100
Subject: crypto: Add sha256,384,512 in documentation for rsa_verify
---
lib/crypto/doc/src/crypto.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 48243fd693..dc22f2aa14 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -896,7 +896,7 @@ Mpint() = >]]>
Key = [E, N]
E, N = Mpint
Where E is the public exponent and N is public modulus.
- DigestType = md5 | sha
+ DigestType = md5 | sha | sha256 | sha384 | sha512
The default DigestType is sha.
Mpint = binary()
@@ -905,6 +905,8 @@ Mpint() = >]]>
and verifies that the digest matches the RSA signature using the
signer's public key Key.
+ May throw exception notsup in case the choosen DigestType
+ is not supported by the underlying OpenSSL implementation.
--
cgit v1.2.3