Lines Matching refs:key_blob
34 KeymasterKeyBlob* key_blob) { in SerializeAuthEncryptedBlob() argument
39 if (!key_blob->Reset(size)) in SerializeAuthEncryptedBlob()
42 uint8_t* buf = key_blob->writable_data(); in SerializeAuthEncryptedBlob()
43 const uint8_t* end = key_blob->key_material + key_blob->key_material_size; in SerializeAuthEncryptedBlob()
51 if (buf != key_blob->key_material + key_blob->key_material_size) in SerializeAuthEncryptedBlob()
57 static keymaster_error_t DeserializeUnversionedBlob(const KeymasterKeyBlob& key_blob, in DeserializeUnversionedBlob() argument
62 const uint8_t* tmp = key_blob.key_material; in DeserializeUnversionedBlob()
64 const uint8_t* end = tmp + key_blob.key_material_size; in DeserializeUnversionedBlob()
82 keymaster_error_t DeserializeAuthEncryptedBlob(const KeymasterKeyBlob& key_blob, in DeserializeAuthEncryptedBlob() argument
87 if (!key_blob.key_material || key_blob.key_material_size == 0) in DeserializeAuthEncryptedBlob()
90 const uint8_t* tmp = key_blob.key_material; in DeserializeAuthEncryptedBlob()
92 const uint8_t* end = tmp + key_blob.key_material_size; in DeserializeAuthEncryptedBlob()
131 return DeserializeUnversionedBlob(key_blob, encrypted_key_material, hw_enforced, in DeserializeAuthEncryptedBlob()