Lines Matching refs:key_blob
232 KeymasterKeyBlob key_blob; in GenerateKey() local
235 response->error = factory->GenerateKey(request.key_description, &key_blob, in GenerateKey()
238 response->key_blob = key_blob.release(); in GenerateKey()
249 context_->ParseKeyBlob(KeymasterKeyBlob(request.key_blob), request.additional_params, in GetKeyCharacteristics()
269 response->error = LoadKey(request.key_blob, request.additional_params, &key_factory, &key); in BeginOperation()
289 if (!context_->enforcement_policy()->CreateKeyId(request.key_blob, &key_id)) return; in BeginOperation()
381 context_->ParseKeyBlob(KeymasterKeyBlob(request.key_blob), request.additional_params, &key); in ExportKey()
400 response->error = LoadKey(request.key_blob, request.attest_params, in AttestKey()
427 response->error = context_->UpgradeKeyBlob(KeymasterKeyBlob(request.key_blob), in UpgradeKey()
446 KeymasterKeyBlob key_blob; in ImportKey() local
448 KeymasterKeyBlob(key_material), &key_blob, in ImportKey()
451 response->key_blob = key_blob.release(); in ImportKey()
458 response->error = context_->DeleteKey(KeymasterKeyBlob(request.key_blob)); in DeleteKey()
477 keymaster_error_t AndroidKeymaster::LoadKey(const keymaster_key_blob_t& key_blob, in LoadKey() argument
481 keymaster_error_t error = context_->ParseKeyBlob(KeymasterKeyBlob(key_blob), additional_params, in LoadKey()
526 KeymasterKeyBlob key_blob; in ImportWrappedKey() local
528 factory->ImportKey(key_description, key_format, KeymasterKeyBlob(secret_key), &key_blob, in ImportWrappedKey()
531 response->key_blob = key_blob; in ImportWrappedKey()