Skip to main content

Module aes_session

Module aes_session 

Source
Expand description

High-Performance AES-GCM Session Encryption

Uses ring crate for AES-256-GCM with hardware acceleration. On Apple Silicon M1: ARM FEAT_AES intrinsics (~4-8 GB/s) On x86_64: AES-NI instructions (~4-8 GB/s)

ring uses hand-optimized assembly for both ARM64 and x86_64, ensuring maximum throughput compared to pure-Rust crates.

Structs§

AesSession
High-performance session encryption using ring’s AES-256-GCM (hardware accelerated on ARM64/x86_64)

Enums§

EncryptError
Encryption errors

Constants§

AES_GCM_OVERHEAD
Overhead bytes added by AES-256-GCM (16-byte auth tag)