File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,7 @@ class Cipher final {
380380 static const Cipher AES_128_KW;
381381 static const Cipher AES_192_KW;
382382 static const Cipher AES_256_KW;
383+ static const Cipher CHACHA20_POLY1305;
383384
384385 struct CipherParams {
385386 int padding;
Original file line number Diff line number Diff line change @@ -3087,6 +3087,7 @@ const Cipher Cipher::AES_256_GCM = Cipher::FromNid(NID_aes_256_gcm);
30873087const Cipher Cipher::AES_128_KW = Cipher::FromNid (NID_id_aes128_wrap);
30883088const Cipher Cipher::AES_192_KW = Cipher::FromNid (NID_id_aes192_wrap);
30893089const Cipher Cipher::AES_256_KW = Cipher::FromNid (NID_id_aes256_wrap);
3090+ const Cipher Cipher::CHACHA20_POLY1305 = Cipher::FromNid (NID_chacha20_poly1305);
30903091
30913092bool Cipher::isGcmMode () const {
30923093 if (!cipher_) return false ;
You can’t perform that action at this time.
0 commit comments