Searched refs:sender_public_key (Results 1 – 1 of 1) sorted by relevance
/system/security/keystore2/src/ |
D | ec_crypto.rs | 63 sender_public_key: &[u8], in agree_key() 66 let hkdf = hkdf_extract(sender_public_key, salt) in agree_key() 89 let sender_public_key = sender_key in encrypt_message() localVariable 95 .agree_key(&salt, recipient_public_key, &sender_public_key, recipient_public_key) in encrypt_message() 99 Ok((sender_public_key, salt, iv, ciphertext, tag)) in encrypt_message() 105 sender_public_key: &[u8], in decrypt_message() 113 .agree_key(salt, sender_public_key, sender_public_key, &recipient_public_key) in decrypt_message() 128 let (sender_public_key, salt, iv, ciphertext, tag) = in test_crypto_roundtrip() 132 recipient.decrypt_message(&sender_public_key, &salt, &iv, &ciphertext, &tag)?; in test_crypto_roundtrip()
|