Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Feb 7, 2025
1 parent 15d2a0b commit b565d99
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 67 deletions.
14 changes: 0 additions & 14 deletions aws-lc-rs/src/bn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ impl TryFrom<&[u8]> for LcPtr<BIGNUM> {
}
}

impl TryFrom<u64> for LcPtr<BIGNUM> {
type Error = ();

fn try_from(value: u64) -> Result<Self, Self::Error> {
unsafe {
let mut bn = LcPtr::new(BN_new())?;
if 1 != BN_set_u64(*bn.as_mut(), value) {
return Err(());
}
Ok(bn)
}
}
}

impl TryFrom<&[u8]> for DetachableLcPtr<BIGNUM> {
type Error = ();

Expand Down
11 changes: 0 additions & 11 deletions aws-lc-rs/src/unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,5 @@
#![cfg(feature = "unstable")]
#![allow(missing_docs)]

//! Unstable aws-lc-rs features.
//!
//! # ⚠️ Warning
//! Features contained within this module, or child modules are subject to changes, relocation,
//! or removal across minor releases, and thus are not subject to semantic versioning policies.
#[deprecated(note = "use `aws_lc_rs::kdf` instead")]
pub mod kdf;

#[deprecated(note = "use `aws_lc_rs::kem` instead")]
pub mod kem;

#[cfg(not(feature = "fips"))]
pub mod signature;
11 changes: 0 additions & 11 deletions aws-lc-rs/src/unstable/kdf.rs

This file was deleted.

31 changes: 0 additions & 31 deletions aws-lc-rs/src/unstable/kem.rs

This file was deleted.

0 comments on commit b565d99

Please sign in to comment.