Lines Matching refs:request
111 void TrustyKeymaster::GetVersion(const GetVersionRequest& request, GetVersionResponse* response) { in GetVersion() argument
112 ForwardCommand(KM_GET_VERSION, request, response); in GetVersion()
115 void TrustyKeymaster::SupportedAlgorithms(const SupportedAlgorithmsRequest& request, in SupportedAlgorithms() argument
117 ForwardCommand(KM_GET_SUPPORTED_ALGORITHMS, request, response); in SupportedAlgorithms()
120 void TrustyKeymaster::SupportedBlockModes(const SupportedBlockModesRequest& request, in SupportedBlockModes() argument
122 ForwardCommand(KM_GET_SUPPORTED_BLOCK_MODES, request, response); in SupportedBlockModes()
125 void TrustyKeymaster::SupportedPaddingModes(const SupportedPaddingModesRequest& request, in SupportedPaddingModes() argument
127 ForwardCommand(KM_GET_SUPPORTED_PADDING_MODES, request, response); in SupportedPaddingModes()
130 void TrustyKeymaster::SupportedDigests(const SupportedDigestsRequest& request, in SupportedDigests() argument
132 ForwardCommand(KM_GET_SUPPORTED_DIGESTS, request, response); in SupportedDigests()
135 void TrustyKeymaster::SupportedImportFormats(const SupportedImportFormatsRequest& request, in SupportedImportFormats() argument
137 ForwardCommand(KM_GET_SUPPORTED_IMPORT_FORMATS, request, response); in SupportedImportFormats()
140 void TrustyKeymaster::SupportedExportFormats(const SupportedExportFormatsRequest& request, in SupportedExportFormats() argument
142 ForwardCommand(KM_GET_SUPPORTED_EXPORT_FORMATS, request, response); in SupportedExportFormats()
145 void TrustyKeymaster::AddRngEntropy(const AddEntropyRequest& request, in AddRngEntropy() argument
147 ForwardCommand(KM_ADD_RNG_ENTROPY, request, response); in AddRngEntropy()
150 void TrustyKeymaster::Configure(const ConfigureRequest& request, ConfigureResponse* response) { in Configure() argument
151 ForwardCommand(KM_CONFIGURE, request, response); in Configure()
154 void TrustyKeymaster::GenerateKey(const GenerateKeyRequest& request, in GenerateKey() argument
158 GenerateKeyRequest datedRequest(request.message_version); in GenerateKey()
159 datedRequest.key_description = request.key_description; in GenerateKey()
161 if (!request.key_description.Contains(TAG_CREATION_DATETIME)) { in GenerateKey()
167 ForwardCommand(KM_GENERATE_KEY, request, response); in GenerateKey()
171 void TrustyKeymaster::GenerateRkpKey(const GenerateRkpKeyRequest& request, in GenerateRkpKey() argument
173 ForwardCommand(KM_GENERATE_RKP_KEY, request, response); in GenerateRkpKey()
176 void TrustyKeymaster::GenerateCsr(const GenerateCsrRequest& request, in GenerateCsr() argument
178 ForwardCommand(KM_GENERATE_CSR, request, response); in GenerateCsr()
181 void TrustyKeymaster::GenerateCsrV2(const GenerateCsrV2Request& request, in GenerateCsrV2() argument
183 ForwardCommand(KM_GENERATE_CSR_V2, request, response); in GenerateCsrV2()
186 void TrustyKeymaster::GetKeyCharacteristics(const GetKeyCharacteristicsRequest& request, in GetKeyCharacteristics() argument
188 ForwardCommand(KM_GET_KEY_CHARACTERISTICS, request, response); in GetKeyCharacteristics()
191 void TrustyKeymaster::ImportKey(const ImportKeyRequest& request, ImportKeyResponse* response) { in ImportKey() argument
192 ForwardCommand(KM_IMPORT_KEY, request, response); in ImportKey()
195 void TrustyKeymaster::ImportWrappedKey(const ImportWrappedKeyRequest& request, in ImportWrappedKey() argument
197 ForwardCommand(KM_IMPORT_WRAPPED_KEY, request, response); in ImportWrappedKey()
200 void TrustyKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey() argument
201 ForwardCommand(KM_EXPORT_KEY, request, response); in ExportKey()
204 void TrustyKeymaster::AttestKey(const AttestKeyRequest& request, AttestKeyResponse* response) { in AttestKey() argument
205 ForwardCommand(KM_ATTEST_KEY, request, response); in AttestKey()
208 void TrustyKeymaster::UpgradeKey(const UpgradeKeyRequest& request, UpgradeKeyResponse* response) { in UpgradeKey() argument
209 ForwardCommand(KM_UPGRADE_KEY, request, response); in UpgradeKey()
212 void TrustyKeymaster::DeleteKey(const DeleteKeyRequest& request, DeleteKeyResponse* response) { in DeleteKey() argument
213 ForwardCommand(KM_DELETE_KEY, request, response); in DeleteKey()
216 void TrustyKeymaster::DeleteAllKeys(const DeleteAllKeysRequest& request, in DeleteAllKeys() argument
218 ForwardCommand(KM_DELETE_ALL_KEYS, request, response); in DeleteAllKeys()
221 void TrustyKeymaster::BeginOperation(const BeginOperationRequest& request, in BeginOperation() argument
223 ForwardCommand(KM_BEGIN_OPERATION, request, response); in BeginOperation()
226 void TrustyKeymaster::UpdateOperation(const UpdateOperationRequest& request, in UpdateOperation() argument
228 ForwardCommand(KM_UPDATE_OPERATION, request, response); in UpdateOperation()
231 void TrustyKeymaster::FinishOperation(const FinishOperationRequest& request, in FinishOperation() argument
233 ForwardCommand(KM_FINISH_OPERATION, request, response); in FinishOperation()
236 void TrustyKeymaster::AbortOperation(const AbortOperationRequest& request, in AbortOperation() argument
238 ForwardCommand(KM_ABORT_OPERATION, request, response); in AbortOperation()
242 GetHmacSharingParametersRequest request(message_version()); in GetHmacSharingParameters() local
244 ForwardCommand(KM_GET_HMAC_SHARING_PARAMETERS, request, &response); in GetHmacSharingParameters()
249 const ComputeSharedHmacRequest& request) { in ComputeSharedHmac() argument
251 ForwardCommand(KM_COMPUTE_SHARED_HMAC, request, &response); in ComputeSharedHmac()
256 const VerifyAuthorizationRequest& request) { in VerifyAuthorization() argument
258 ForwardCommand(KM_VERIFY_AUTHORIZATION, request, &response); in VerifyAuthorization()
262 GetVersion2Response TrustyKeymaster::GetVersion2(const GetVersion2Request& request) { in GetVersion2() argument
264 ForwardCommand(KM_GET_VERSION_2, request, &response); in GetVersion2()
274 DeviceLockedResponse TrustyKeymaster::DeviceLocked(const DeviceLockedRequest& request) { in DeviceLocked() argument
276 ForwardCommand(KM_DEVICE_LOCKED, request, &response); in DeviceLocked()
281 const ConfigureVendorPatchlevelRequest& request) { in ConfigureVendorPatchlevel() argument
283 ForwardCommand(KM_CONFIGURE_VENDOR_PATCHLEVEL, request, &response); in ConfigureVendorPatchlevel()
287 GetRootOfTrustResponse TrustyKeymaster::GetRootOfTrust(const GetRootOfTrustRequest& request) { in GetRootOfTrust() argument
289 ForwardCommand(KM_GET_ROOT_OF_TRUST, request, &response); in GetRootOfTrust()