Skip to content

Commit

Permalink
Expose two ciphers on boringssl that are available there
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Dec 30, 2023
1 parent 1ea720c commit 0743e6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions openssl/src/cipher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 _) }
}
Expand Down Expand Up @@ -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 _) }
}
Expand Down

0 comments on commit 0743e6a

Please sign in to comment.