Skip to content

Commit

Permalink
aes: Oxidize aes_nohw round steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed May 21, 2024
1 parent e17d947 commit 4f63462
Show file tree
Hide file tree
Showing 6 changed files with 258 additions and 480 deletions.
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ include = [
"crypto/curve25519/curve25519_64_adx.c",
"crypto/curve25519/curve25519_tables.h",
"crypto/curve25519/internal.h",
"crypto/fipsmodule/aes/aes_nohw.c",
"crypto/fipsmodule/aes/asm/aesni-x86.pl",
"crypto/fipsmodule/aes/asm/aesni-x86_64.pl",
"crypto/fipsmodule/aes/asm/aesv8-armx.pl",
Expand Down Expand Up @@ -106,7 +105,6 @@ include = [
"crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl",
"crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl",
"examples/**/*.rs",
"include/ring-core/aes.h",
"include/ring-core/arm_arch.h",
"include/ring-core/asm_base.h",
"include/ring-core/base.h",
Expand Down
5 changes: 0 additions & 5 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const WASM32: &str = "wasm32";
#[rustfmt::skip]
const RING_SRCS: &[(&[&str], &str)] = &[
(&[], "crypto/curve25519/curve25519.c"),
(&[], "crypto/fipsmodule/aes/aes_nohw.c"),
(&[], "crypto/fipsmodule/bn/montgomery.c"),
(&[], "crypto/fipsmodule/bn/montgomery_inv.c"),
(&[], "crypto/fipsmodule/ec/ecp_nistz.c"),
Expand Down Expand Up @@ -869,10 +868,6 @@ fn prefix_all_symbols(pp: char, prefix_prefix: &str, prefix: &str) -> String {
"aes_hw_ctr32_encrypt_blocks",
"aes_hw_encrypt",
"aes_hw_set_encrypt_key",
"aes_nohw_sub_bytes",
"aes_nohw_to_batch",
"aes_nohw_mix_columns",
"aes_nohw_shift_rows",
"aesni_gcm_decrypt",
"aesni_gcm_encrypt",
"bn_from_montgomery_in_place",
Expand Down
Loading

0 comments on commit 4f63462

Please sign in to comment.