diff options
author | Hans Nilsson <[email protected]> | 2019-03-20 15:39:23 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-03-22 10:23:50 +0100 |
commit | 97a97c8021c2740182b43ee95067898a01622000 (patch) | |
tree | 9d3769f4b729c7772c35706acc4733f6d01d6daa /lib | |
parent | fc234a9945f00e8e90e62560bd2662caee5deefb (diff) | |
download | otp-97a97c8021c2740182b43ee95067898a01622000.tar.gz otp-97a97c8021c2740182b43ee95067898a01622000.tar.bz2 otp-97a97c8021c2740182b43ee95067898a01622000.zip |
crypto: Update CipherModes for PR/2186
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto/src/crypto.erl | 14 |
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) -> |