mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
refactor: use SYMMETRIC_KEY_ALGORITHM constant in symm_encrypt_message()
This commit is contained in:
@@ -406,7 +406,7 @@ pub async fn symm_encrypt_message(
|
|||||||
};
|
};
|
||||||
let mut msg = msg.seipd_v2(
|
let mut msg = msg.seipd_v2(
|
||||||
&mut rng,
|
&mut rng,
|
||||||
SymmetricKeyAlgorithm::AES128,
|
SYMMETRIC_KEY_ALGORITHM,
|
||||||
AeadAlgorithm::Ocb,
|
AeadAlgorithm::Ocb,
|
||||||
ChunkSize::C8KiB,
|
ChunkSize::C8KiB,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user