From 0743e6a80ff6e872c4a73b6c63e5c8105707ae16 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 30 Dec 2023 15:17:21 -0500 Subject: [PATCH] Expose two ciphers on boringssl that are available there --- openssl/src/cipher.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/openssl/src/cipher.rs b/openssl/src/cipher.rs index 385e34634c..c4cb260434 100644 --- a/openssl/src/cipher.rs +++ b/openssl/src/cipher.rs @@ -171,7 +171,6 @@ impl Cipher { unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_xts() as *mut _) } } - #[cfg(not(boringssl))] pub fn aes_128_ctr() -> &'static CipherRef { unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ctr() as *mut _) } } @@ -200,7 +199,6 @@ impl Cipher { unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ccm() as *mut _) } } - #[cfg(not(boringssl))] pub fn aes_128_ofb() -> &'static CipherRef { unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ofb() as *mut _) } }