File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -321,10 +321,10 @@ class Cipher final {
321321 static const Cipher AES_128_KW;
322322 static const Cipher AES_192_KW;
323323 static const Cipher AES_256_KW;
324+ static const Cipher CHACHA20_POLY1305;
324325 static const Cipher AES_128_OCB;
325326 static const Cipher AES_192_OCB;
326327 static const Cipher AES_256_OCB;
327- static const Cipher CHACHA20_POLY1305;
328328
329329 struct CipherParams {
330330 int padding;
Original file line number Diff line number Diff line change @@ -3172,10 +3172,10 @@ const Cipher Cipher::AES_256_GCM = Cipher::FromNid(NID_aes_256_gcm);
31723172const Cipher Cipher::AES_128_KW = Cipher::FromNid (NID_id_aes128_wrap);
31733173const Cipher Cipher::AES_192_KW = Cipher::FromNid (NID_id_aes192_wrap);
31743174const Cipher Cipher::AES_256_KW = Cipher::FromNid (NID_id_aes256_wrap);
3175+ const Cipher Cipher::CHACHA20_POLY1305 = Cipher::FromNid (NID_chacha20_poly1305);
31753176const Cipher Cipher::AES_128_OCB = Cipher::FromNid (NID_aes_128_ocb);
31763177const Cipher Cipher::AES_192_OCB = Cipher::FromNid (NID_aes_192_ocb);
31773178const Cipher Cipher::AES_256_OCB = Cipher::FromNid (NID_aes_256_ocb);
3178- const Cipher Cipher::CHACHA20_POLY1305 = Cipher::FromNid (NID_chacha20_poly1305);
31793179
31803180bool Cipher::isGcmMode () const {
31813181 if (!cipher_) return false ;
You can’t perform that action at this time.
0 commit comments