Lines Matching refs:blob
85 keymaster_key_blob_t blob; in GenerateKey() local
87 &blob, &characteristics); in GenerateKey()
90 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in GenerateKey()
91 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); in GenerateKey()
92 key_blob->key_material_size = blob.key_material_size; in GenerateKey()
109 keymaster_key_blob_t blob; in ImportKey() local
112 &blob, &characteristics); in ImportKey()
115 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in ImportKey()
116 output_key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); in ImportKey()
117 output_key_blob->key_material_size = blob.key_material_size; in ImportKey()
123 keymaster_error_t Keymaster1Engine::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey()
126 return keymaster1_device_->delete_key(keymaster1_device_, &blob); in DeleteKey()
135 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob, in BuildRsaKey() argument
145 KeyData* key_data = new KeyData(blob, additional_params); in BuildRsaKey()
175 EC_KEY* Keymaster1Engine::BuildEcKey(const KeymasterKeyBlob& blob, in BuildEcKey() argument
185 KeyData* key_data = new KeyData(blob, additional_params); in BuildEcKey()
194 GetKeymaster1PublicKey(blob, additional_params, error)); in BuildEcKey()
357 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob, in GetKeymaster1PublicKey() argument
370 *error = keymaster1_device_->export_key(keymaster1_device_, KM_KEY_FORMAT_X509, &blob, in GetKeymaster1PublicKey()