Lines Matching full:blob
86 keymaster_key_blob_t blob;
88 &blob, &characteristics);
91 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material));
92 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size);
93 key_blob->key_material_size = blob.key_material_size;
110 keymaster_key_blob_t blob;
113 &blob, &characteristics);
116 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material));
117 output_key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size);
118 output_key_blob->key_material_size = blob.key_material_size;
124 keymaster_error_t Keymaster1Engine::DeleteKey(const KeymasterKeyBlob& blob) const {
127 return keymaster1_device_->delete_key(keymaster1_device_, &blob);
136 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob,
146 KeyData* key_data = new KeyData(blob, additional_params);
176 EC_KEY* Keymaster1Engine::BuildEcKey(const KeymasterKeyBlob& blob,
179 // Create new EC key (with engine methods) and insert blob
186 KeyData* key_data = new KeyData(blob, additional_params);
195 GetKeymaster1PublicKey(blob, additional_params, error));
358 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob,
371 *error = keymaster1_device_->export_key(keymaster1_device_, KM_KEY_FORMAT_X509, &blob,