aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/src
diff options
context:
space:
mode:
authorChristian von Roques <[email protected]>2011-09-06 19:23:37 +0200
committerChristian von Roques <[email protected]>2011-09-06 19:45:11 +0200
commit82897cc8f399fab832148711b586215c9a3f7af1 (patch)
treee51d0665519efd90889eb14cc2392d9bca9ee89b /lib/crypto/src
parent22dae863060e0d66fa268f6d1cd4d6f084b850ab (diff)
downloadotp-82897cc8f399fab832148711b586215c9a3f7af1.tar.gz
otp-82897cc8f399fab832148711b586215c9a3f7af1.tar.bz2
otp-82897cc8f399fab832148711b586215c9a3f7af1.zip
Support 'md2' hash in crypto:rsa_sign/3 and crypto:rsa_verify/4
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 c35dfcebab..4392069e3d 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -91,7 +91,7 @@
aes_ctr_stream_init, aes_ctr_stream_encrypt, aes_ctr_stream_decrypt,
info_lib]).
--type rsa_digest_type() :: 'md5' | 'sha'.
+-type rsa_digest_type() :: 'md2' | 'md5' | 'sha'.
-type dss_digest_type() :: 'none' | 'sha'.
-type crypto_integer() :: binary() | integer().