MOD: removed debug code

This commit is contained in:
JohnE 2026-03-13 19:27:34 -07:00
parent c9fd4542d7
commit 919d4bcc95
1 changed files with 2 additions and 3 deletions

View File

@ -103,8 +103,7 @@ fn aes_gcm_256_encrypt(
// alignment so the C code's SIMD operations work correctly on ARM64.
use std::alloc::{alloc_zeroed, dealloc, Layout};
// sizeof(Aes) = 288 bytes; alignment = 16.
let layout = Layout::from_size_align(std::mem::size_of::<crate::sys::Aes>().max(288), 16)
let layout = Layout::from_size_align(std::mem::size_of::<crate::sys::Aes>(), 16)
.expect("layout must be valid");
let aes_ptr = alloc_zeroed(layout) as *mut crate::sys::Aes;
@ -184,7 +183,7 @@ fn aes_gcm_256_decrypt(
// alignment so the C code's SIMD operations work correctly on ARM64.
use std::alloc::{alloc_zeroed, dealloc, Layout};
let layout = Layout::from_size_align(std::mem::size_of::<crate::sys::Aes>().max(288), 16)
let layout = Layout::from_size_align(std::mem::size_of::<crate::sys::Aes>(), 16)
.expect("layout must be valid");
let aes_ptr = alloc_zeroed(layout) as *mut crate::sys::Aes;