refactor: use SYMMETRIC_KEY_ALGORITHM constant in symm_encrypt_message()

This commit is contained in:
link2xt
2025-11-30 04:45:03 +00:00
committed by l
parent e4e19b57b3
commit 1ec3f45dc1

View File

@@ -406,7 +406,7 @@ pub async fn symm_encrypt_message(
};
let mut msg = msg.seipd_v2(
&mut rng,
SymmetricKeyAlgorithm::AES128,
SYMMETRIC_KEY_ALGORITHM,
AeadAlgorithm::Ocb,
ChunkSize::C8KiB,
);