Home
last modified time | relevance | path

Searched refs:hkdf (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Virtualization/libs/bssl/tests/
Dhkdf_test.rs19 use bssl_avf::{hkdf, Digester, Result};
36 assert_eq!(OKM, hkdf::<L>(&IKM, &SALT, &INFO, Digester::sha256())?.as_slice()); in rfc5869_test_case_1()
75 assert_eq!(OKM, hkdf::<L>(&IKM, &SALT, &INFO, Digester::sha256())?.as_slice()); in rfc5869_test_case_2()
93 assert_eq!(OKM, hkdf::<L>(&IKM, &SALT, &INFO, Digester::sha256())?.as_slice()); in rfc5869_test_case_3()
/packages/modules/Virtualization/libs/bssl/src/
Dlib.rs30 mod hkdf; module
45 pub use hkdf::hkdf;
Dhkdf.rs27 pub fn hkdf<const N: usize>( in hkdf() function
/packages/modules/Virtualization/service_vm/requests/src/
Dkeyblob.rs19 use bssl_avf::{hkdf, rand_bytes, Aead, AeadContext, Digester, AES_GCM_NONCE_LENGTH};
73 let kek = hkdf::<32>(kek_secret, &kek_salt, KEK_INFO, Digester::sha512())?; in new()
84 let kek = hkdf::<32>(kek_secret, &self.kek_salt, KEK_INFO, Digester::sha512())?; in decrypt_private_key()
/packages/modules/Virtualization/microdroid_manager/src/
Dvm_secret.rs26 use openssl::hkdf::hkdf;
142 hkdf(key, Md::sha256(), &hasher.finish(), salt, identifier)? in get_vm_secret()
145 hkdf(key, Md::sha256(), dice_artifacts.cdi_seal(), salt, identifier)? in get_vm_secret()
/packages/modules/Virtualization/libs/dice/driver/src/
Dlib.rs25 use openssl::hkdf::hkdf;
126 hkdf(&mut key, Md::sha256(), self.dice_artifacts().cdi_seal(), salt, identifier)?; in get_sealing_key()
/packages/modules/Virtualization/pvmfw/src/
Dinstance.rs21 use bssl_avf::{self, hkdf, Aead, AeadContext, Digester};
93 let key = hkdf::<32>(secret, /* salt= */ &[], b"vm-instance", Digester::sha512())?; in aead_ctx_from_secret()