diff options
author | Ingela Anderton Andin <[email protected]> | 2019-03-25 10:08:40 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-03-29 11:33:45 +0100 |
commit | 61e3f73986f70408909af0b5ec00dfc7ae2fc6de (patch) | |
tree | 492adc8ec48840f12d68849cde13c7735752008f /lib/ssl/src/tls_record_1_3.erl | |
parent | 77fe4acc29735b15da19d7c991f83bca22417102 (diff) | |
download | otp-61e3f73986f70408909af0b5ec00dfc7ae2fc6de.tar.gz otp-61e3f73986f70408909af0b5ec00dfc7ae2fc6de.tar.bz2 otp-61e3f73986f70408909af0b5ec00dfc7ae2fc6de.zip |
ssl: Add support AES_CCM cipher suites form RFC 6655
Diffstat (limited to 'lib/ssl/src/tls_record_1_3.erl')
-rw-r--r-- | lib/ssl/src/tls_record_1_3.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_record_1_3.erl b/lib/ssl/src/tls_record_1_3.erl index 97331e1510..74321a1ae2 100644 --- a/lib/ssl/src/tls_record_1_3.erl +++ b/lib/ssl/src/tls_record_1_3.erl @@ -252,7 +252,7 @@ cipher_aead(Fragment, BulkCipherAlgo, Key, Seq, IV, TagLen) -> AAD = additional_data(erlang:iolist_size(Fragment) + TagLen), Nonce = nonce(Seq, IV), {Content, CipherTag} = - ssl_cipher:aead_encrypt(BulkCipherAlgo, Key, Nonce, Fragment, AAD), + ssl_cipher:aead_encrypt(BulkCipherAlgo, Key, Nonce, Fragment, AAD, TagLen), <<Content/binary, CipherTag/binary>>. encode_tls_cipher_text(#tls_cipher_text{opaque_type = Type, |