pub fn compute_shared_from_raw(
private_key: &[u8; 256],
remote_public: &[u8],
p_bytes: &[u8],
) -> Result<[u8; 256], E2eError>Expand description
Compute the shared secret from raw private key bytes and the remote public value.
Used when completing a chat on the initiator side (User A), where only the
stored private exponent is available rather than a full DhContext.