Lines Matching refs:blob
199 KeymasterKeyBlob* blob, in CreateKeyBlob() argument
212 return SerializeIntegrityAssuredBlob(key_material, hidden, *hw_enforced, *sw_enforced, blob); in CreateKeyBlob()
243 keymaster_error_t SoftKeymasterContext::ParseKeyBlob(const KeymasterKeyBlob& blob, in ParseKeyBlob() argument
303 … error = DeserializeIntegrityAssuredBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
308 error = ParseOcbAuthEncryptedBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
315 error = ParseOldSoftkeymasterBlob(blob, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
322 error = ParseKeymaster1HwBlob(blob, additional_params, &key_material, &hw_enforced, in ParseKeyBlob()
325 error = ParseKeymaster0HwBlob(blob, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
332 keymaster_error_t SoftKeymasterContext::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey()
340 blob, &key_material, &hw_enforced, &sw_enforced); in DeleteKey()
345 return km1_engine_->DeleteKey(blob); in DeleteKey()
361 blob, &key_material, &hw_enforced, &sw_enforced); in DeleteKey()
365 km0_engine_->DeleteKey(blob); in DeleteKey()
396 const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params, in ParseKeymaster1HwBlob() argument
412 keymaster_error_t error = km1_dev_->get_key_characteristics(km1_dev_, &blob, client_id_ptr, in ParseKeymaster1HwBlob()
423 *key_material = blob; in ParseKeymaster1HwBlob()
427 keymaster_error_t SoftKeymasterContext::ParseKeymaster0HwBlob(const KeymasterKeyBlob& blob, in ParseKeymaster0HwBlob() argument
433 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> tmp_key(km0_engine_->GetKeymaster0PublicKey(blob)); in ParseKeymaster0HwBlob()
441 *key_material = blob; in ParseKeymaster0HwBlob()