aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/src
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-08-20 12:31:28 +0200
committerIngela Anderton Andin <[email protected]>2012-08-22 14:00:43 +0200
commitc5541a4c03b89fcbcb0dd1bfab8460b1287cc6cb (patch)
treec0e5875462f260c9d21fddbfc2d4236a4ab79b17 /lib/crypto/src
parent42e65ffe5f2659d998ff0a7e5ebea2573c23a86f (diff)
downloadotp-c5541a4c03b89fcbcb0dd1bfab8460b1287cc6cb.tar.gz
otp-c5541a4c03b89fcbcb0dd1bfab8460b1287cc6cb.tar.bz2
otp-c5541a4c03b89fcbcb0dd1bfab8460b1287cc6cb.zip
crypto: Add sha224 for rsa sign/verify
Diffstat (limited to 'lib/crypto/src')
-rw-r--r--lib/crypto/src/crypto.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index 63043888b9..0089e79a4f 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -105,7 +105,7 @@
aes_ctr_stream_init, aes_ctr_stream_encrypt, aes_ctr_stream_decrypt,
info_lib]).
--type rsa_digest_type() :: 'md5' | 'sha' | 'sha256' | 'sha384' | 'sha512'.
+-type rsa_digest_type() :: 'md5' | 'sha' | 'sha224' | 'sha256' | 'sha384' | 'sha512'.
-type dss_digest_type() :: 'none' | 'sha'.
-type data_or_digest() :: binary() | {digest, binary()}.
-type crypto_integer() :: binary() | integer().