MAC sender ID

This commit is contained in:
Rolfe Schmidt
2026-04-01 10:22:54 -07:00
committed by GitHub
parent 3d4e950848
commit 81afdfe2fa
30 changed files with 603 additions and 275 deletions

View File

@@ -13,7 +13,12 @@ pub trait LibSignalProtocolStore {
fn version(&self) -> &'static str;
fn create_pre_key_bundle(&mut self) -> PreKeyBundle;
fn process_pre_key_bundle(&mut self, remote: &str, pre_key_bundle: PreKeyBundle);
fn encrypt(&mut self, remote: &str, msg: &[u8]) -> (Vec<u8>, CiphertextMessageType);
fn encrypt(
&mut self,
remote: &str,
local: &str,
msg: &[u8],
) -> (Vec<u8>, CiphertextMessageType);
fn decrypt(
&mut self,
remote: &str,