aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/src')
-rw-r--r--lib/crypto/src/crypto.erl14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index b6715e83c0..4387819341 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -568,7 +568,19 @@ poly1305(Key, Data) ->
mode := CipherModes,
type := undefined | integer()
},
- CipherModes :: ecb_mode | cbc_mode | cfb_mode | ofb_mode | undefined.
+ CipherModes :: undefined
+ | cbc_mode
+ | ccm_mode
+ | cfb_mode
+ | ctr_mode
+ | ecb_mode
+ | gcm_mode
+ | ige_mode
+ | ocb_mode
+ | ofb_mode
+ | wrap_mode
+ | xts_mode
+ .
%% These ciphers are not available via the EVP interface on older cryptolibs.
cipher_info(aes_ctr) ->