Skip to content

Commit

Permalink
Disable FIPS test of RSA-8192 key generation on emulated platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Dec 18, 2024
1 parent af0e550 commit 97b174a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aws-lc-rs/src/rsa/tests/fips.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ generate_key!(rsa2048_signing_generate_key, KeyPair, KeySize::Rsa2048);
generate_key!(rsa3072_signing_generate_key, KeyPair, KeySize::Rsa3072);
generate_key!(rsa4096_signing_generate_key, KeyPair, KeySize::Rsa4096);

// RSA8192 key generation takes forever under emulation
#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
generate_key!(rsa8192_signing_generate_key, KeyPair, KeySize::Rsa8192);

generate_key!(
Expand All @@ -98,6 +100,9 @@ generate_key!(
PrivateDecryptingKey,
KeySize::Rsa4096
);

// RSA8192 key generation takes forever under emulation
#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
generate_key!(
rsa8192_encryption_generate_key,
PrivateDecryptingKey,
Expand Down

0 comments on commit 97b174a

Please sign in to comment.