Searched refs:hkdf (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Virtualization/libs/bssl/tests/ |
D | hkdf_test.rs | 19 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/ |
D | lib.rs | 30 mod hkdf; module 45 pub use hkdf::hkdf;
|
D | hkdf.rs | 27 pub fn hkdf<const N: usize>( in hkdf() function
|
/packages/modules/Virtualization/service_vm/requests/src/ |
D | keyblob.rs | 19 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/ |
D | vm_secret.rs | 26 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/ |
D | lib.rs | 25 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/ |
D | instance.rs | 21 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()
|