Searched refs:hkdf_extract (Results 1 – 3 of 3) sorted by relevance
/system/security/keystore2/src/ |
D | ec_crypto.rs | 22 ec_point_point_to_oct, ecdh_compute_key, generate_salt, hkdf_expand, hkdf_extract, ECKey, ZVec, 61 let hkdf = hkdf_extract(sender_public_key, salt) in agree_key() 63 let hkdf = hkdf_extract(recipient_public_key, &hkdf) in agree_key() 69 let prk = hkdf_extract(&secret, &hkdf).context(ks_err!("hkdf_extract on secret failed"))?; in agree_key()
|
/system/security/keystore2/src/fuzzers/ |
D | keystore2_unsafe_fuzzer.rs | 26 ec_point_point_to_oct, ecdh_compute_key, generate_random_data, hkdf_expand, hkdf_extract, 155 let _res = hkdf_extract(hkdf_secret, hkdf_salt);
|
/system/security/keystore2/src/crypto/ |
D | lib.rs | 232 pub fn hkdf_extract(secret: &[u8], salt: &[u8]) -> Result<ZVec, Error> { in hkdf_extract() function 544 let result = hkdf_extract(&[0; 16], &[0; 16]); in test_hkdf()
|