feat: Use chacha implementation from rust crypto instead of sodium

This commit is contained in:
Karolin Varner
2024-01-13 22:53:13 +01:00
committed by Karolin Varner
parent e42f90b048
commit 0789c60602
6 changed files with 246 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ const_assert!(KEY_LEN == hash_domain::KEY_LEN);
/// Authenticated encryption with associated data
pub mod aead {
pub use rosenpass_sodium::aead::chacha20poly1305_ietf::{
pub use crate::subtle::chacha20poly1305_ietf::{
decrypt, encrypt, KEY_LEN, NONCE_LEN, TAG_LEN,
};
}