Home
last modified time | relevance | path

Searched refs:kdf_version (Results 1 – 5 of 5) sorted by relevance

/system/keymint/tests/src/bin/
Dencrypted-keyblob-parse.rs53 if let Some(kdf_version) = keyblob.kdf_version { in process()
54 println!(" kdf_version={}", kdf_version); in process()
/system/keymint/common/src/keyblob/
Dlegacy.rs54 pub kdf_version: Option<u32>, field
87 let kdf_version = self.kdf_version.ok_or_else(|| { in serialize() localVariable
93 result.extend_from_slice(&kdf_version.to_ne_bytes()); in serialize()
126 let mut kdf_version = None; in deserialize() localVariable
129 kdf_version = Some(consume_u32(&mut data)?); in deserialize()
146 kdf_version, in deserialize()
/system/keymint/common/src/keyblob/legacy/
Dtests.rs95 kdf_version: None, in test_serialize_encrypted_keyblob()
128 kdf_version: None, in test_serialize_encrypted_keyblob()
163 kdf_version: Some(0x01010101), in test_serialize_encrypted_keyblob()
/system/keymaster/include/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.h74 uint32_t kdf_version; member
/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp216 size += sizeof(encrypted_key.kdf_version); in SerializeAuthEncryptedBlob()
230 buf = append_uint32_to_buf(buf, end, encrypted_key.kdf_version); in SerializeAuthEncryptedBlob()
260 if (!copy_uint32_from_buf(buf_ptr, end, &retval.encrypted_key.kdf_version) || in DeserializeAuthEncryptedBlob()