We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 086085c commit 5609086Copy full SHA for 5609086
1 file changed
src/ncrypto.cpp
@@ -3250,9 +3250,13 @@ const Cipher Cipher::AES_256_GCM = Cipher::FromNid(NID_aes_256_gcm);
3250
const Cipher Cipher::AES_128_KW = Cipher::FromNid(NID_id_aes128_wrap);
3251
const Cipher Cipher::AES_192_KW = Cipher::FromNid(NID_id_aes192_wrap);
3252
const Cipher Cipher::AES_256_KW = Cipher::FromNid(NID_id_aes256_wrap);
3253
+
3254
+#ifndef OPENSSL_IS_BORINGSSL
3255
const Cipher Cipher::AES_128_OCB = Cipher::FromNid(NID_aes_128_ocb);
3256
const Cipher Cipher::AES_192_OCB = Cipher::FromNid(NID_aes_192_ocb);
3257
const Cipher Cipher::AES_256_OCB = Cipher::FromNid(NID_aes_256_ocb);
3258
+#endif
3259
3260
const Cipher Cipher::CHACHA20_POLY1305 = Cipher::FromNid(NID_chacha20_poly1305);
3261
3262
bool Cipher::isGcmMode() const {
0 commit comments