Lines Matching refs:blob
82 keymaster_key_blob_t blob; in GenerateKey() local
84 &blob, &characteristics); in GenerateKey()
86 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in GenerateKey()
87 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); in GenerateKey()
88 key_blob->key_material_size = blob.key_material_size; in GenerateKey()
105 keymaster_key_blob_t blob; in ImportKey() local
108 &blob, &characteristics); in ImportKey()
110 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in ImportKey()
111 output_key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); in ImportKey()
112 output_key_blob->key_material_size = blob.key_material_size; in ImportKey()
118 keymaster_error_t Keymaster1Engine::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey()
120 return keymaster1_device_->delete_key(keymaster1_device_, &blob); in DeleteKey()
128 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob, in BuildRsaKey() argument
138 KeyData* key_data = new (std::nothrow) KeyData(blob, additional_params); in BuildRsaKey()
170 EC_KEY* Keymaster1Engine::BuildEcKey(const KeymasterKeyBlob& blob, in BuildEcKey() argument
180 KeyData* key_data = new (std::nothrow) KeyData(blob, additional_params); in BuildEcKey()
189 GetKeymaster1PublicKey(blob, additional_params, error)); in BuildEcKey()
340 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob, in GetKeymaster1PublicKey() argument
351 *error = keymaster1_device_->export_key(keymaster1_device_, KM_KEY_FORMAT_X509, &blob, in GetKeymaster1PublicKey()