• Home
  • Raw
  • Download

Lines Matching refs:blob

86     keymaster_key_blob_t blob;  in GenerateKey()  local
88 &blob, &characteristics); in GenerateKey()
91 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in GenerateKey()
92 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); in GenerateKey()
93 key_blob->key_material_size = blob.key_material_size; in GenerateKey()
110 keymaster_key_blob_t blob; in ImportKey() local
113 &blob, &characteristics); in ImportKey()
116 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in ImportKey()
117 output_key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); in ImportKey()
118 output_key_blob->key_material_size = blob.key_material_size; in ImportKey()
124 keymaster_error_t Keymaster1Engine::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey()
127 return keymaster1_device_->delete_key(keymaster1_device_, &blob); in DeleteKey()
136 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob, in BuildRsaKey() argument
146 KeyData* key_data = new KeyData(blob, additional_params); in BuildRsaKey()
178 EC_KEY* Keymaster1Engine::BuildEcKey(const KeymasterKeyBlob& blob, in BuildEcKey() argument
188 KeyData* key_data = new KeyData(blob, additional_params); in BuildEcKey()
197 GetKeymaster1PublicKey(blob, additional_params, error)); in BuildEcKey()
362 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob, in GetKeymaster1PublicKey() argument
375 *error = keymaster1_device_->export_key(keymaster1_device_, KM_KEY_FORMAT_X509, &blob, in GetKeymaster1PublicKey()