feat: Use xchacha implementation from rust crypto instead of sodium

This commit is contained in:
Karolin Varner
2024-01-13 23:14:43 +01:00
committed by Karolin Varner
parent 0789c60602
commit e0f75ab97e
3 changed files with 47 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ pub mod aead {
/// Authenticated encryption with associated data with a constant nonce
pub mod xaead {
pub use rosenpass_sodium::aead::xchacha20poly1305_ietf::{
pub use crate::subtle::xchacha20poly1305_ietf::{
decrypt, encrypt, KEY_LEN, NONCE_LEN, TAG_LEN,
};
}