Home
last modified time | relevance | path

Searched refs:message_version (Results 1 – 23 of 23) sorted by relevance

/system/keymaster/ng/
DAndroidKeyMintOperation.cpp55 UpdateOperationRequest request(impl_->message_version()); in updateAad()
59 UpdateOperationResponse response(impl_->message_version()); in updateAad()
72 UpdateOperationRequest request(impl_->message_version()); in update()
76 UpdateOperationResponse response(impl_->message_version()); in update()
101 FinishOperationRequest request(impl_->message_version()); in finish()
106 FinishOperationResponse response(impl_->message_version()); in finish()
117 AbortOperationRequest request(impl_->message_version()); in abort()
120 AbortOperationResponse response(impl_->message_version()); in abort()
DAndroidKeymaster3Device.cpp268 AddEntropyRequest request(impl_->message_version()); in addRngEntropy()
271 AddEntropyResponse response(impl_->message_version()); in addRngEntropy()
279 GenerateKeyRequest request(impl_->message_version()); in generateKey()
282 GenerateKeyResponse response(impl_->message_version()); in generateKey()
300 GetKeyCharacteristicsRequest request(impl_->message_version()); in getKeyCharacteristics()
304 GetKeyCharacteristicsResponse response(impl_->message_version()); in getKeyCharacteristics()
320 ImportKeyRequest request(impl_->message_version()); in importKey()
325 ImportKeyResponse response(impl_->message_version()); in importKey()
344 ExportKeyRequest request(impl_->message_version()); in exportKey()
349 ExportKeyResponse response(impl_->message_version()); in exportKey()
[all …]
DAndroidKeyMintDevice.cpp243 AddEntropyRequest request(impl_->message_version()); in addRngEntropy()
246 AddEntropyResponse response(impl_->message_version()); in addRngEntropy()
256 GenerateKeyRequest request(impl_->message_version()); in generateKey()
266 GenerateKeyResponse response(impl_->message_version()); in generateKey()
294 ImportKeyRequest request(impl_->message_version()); in importKey()
306 ImportKeyResponse response(impl_->message_version()); in importKey()
329 ImportWrappedKeyRequest request(impl_->message_version()); in importWrappedKey()
337 ImportWrappedKeyResponse response(impl_->message_version()); in importWrappedKey()
356 UpgradeKeyRequest request(impl_->message_version()); in upgradeKey()
360 UpgradeKeyResponse response(impl_->message_version()); in upgradeKey()
[all …]
DAndroidKeymaster4Device.cpp255 ComputeSharedHmacRequest request(impl_->message_version()); in computeSharedHmac()
280 VerifyAuthorizationRequest request(impl_->message_version()); in verifyAuthorization()
307 AddEntropyRequest request(impl_->message_version()); in addRngEntropy()
310 AddEntropyResponse response(impl_->message_version()); in addRngEntropy()
318 GenerateKeyRequest request(impl_->message_version()); in generateKey()
321 GenerateKeyResponse response(impl_->message_version()); in generateKey()
339 GetKeyCharacteristicsRequest request(impl_->message_version()); in getKeyCharacteristics()
343 GetKeyCharacteristicsResponse response(impl_->message_version()); in getKeyCharacteristics()
359 ImportKeyRequest request(impl_->message_version()); in importKey()
364 ImportKeyResponse response(impl_->message_version()); in importKey()
[all …]
DAndroidRemotelyProvisionedComponentDevice.cpp94 GenerateRkpKeyRequest request(impl_->message_version()); in generateEcdsaP256KeyPair()
96 GenerateRkpKeyResponse response(impl_->message_version()); in generateEcdsaP256KeyPair()
111 GenerateCsrRequest request(impl_->message_version()); in generateCertificateRequest()
120 GenerateCsrResponse response(impl_->message_version()); in generateCertificateRequest()
DAndroidSecureClock.cpp42 GenerateTimestampTokenRequest request(impl_->message_version()); in generateTimeStamp()
44 GenerateTimestampTokenResponse response(request.message_version); in generateTimeStamp()
DAndroidKeymaster41Device.cpp55 ->DeviceLocked(DeviceLockedRequest(impl_->message_version(), passwordOnly, in deviceLocked()
DAndroidSharedSecret.cpp46 ComputeSharedHmacRequest request(impl_->message_version()); in computeSharedSecret()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp224 AddEntropyRequest request(impl_->message_version()); in addRngEntropy()
227 AddEntropyResponse response(impl_->message_version()); in addRngEntropy()
235 GenerateKeyRequest request(impl_->message_version()); in generateKey()
238 GenerateKeyResponse response(impl_->message_version()); in generateKey()
256 GetKeyCharacteristicsRequest request(impl_->message_version()); in getKeyCharacteristics()
260 GetKeyCharacteristicsResponse response(impl_->message_version()); in getKeyCharacteristics()
276 ImportKeyRequest request(impl_->message_version()); in importKey()
281 ImportKeyResponse response(impl_->message_version()); in importKey()
300 ExportKeyRequest request(impl_->message_version()); in exportKey()
305 ExportKeyResponse response(impl_->message_version()); in exportKey()
[all …]
/system/core/trusty/keymaster/keymint/
DTrustyKeyMintDevice.cpp109 keymaster::AddEntropyRequest request(impl_->message_version()); in addRngEntropy()
112 keymaster::AddEntropyResponse response(impl_->message_version()); in addRngEntropy()
121 keymaster::GenerateKeyRequest request(impl_->message_version()); in generateKey()
131 keymaster::GenerateKeyResponse response(impl_->message_version()); in generateKey()
148 keymaster::GetKeyCharacteristicsRequest request(impl_->message_version()); in getKeyCharacteristics()
152 keymaster::GetKeyCharacteristicsResponse response(impl_->message_version()); in getKeyCharacteristics()
166 keymaster::ImportKeyRequest request(impl_->message_version()); in importKey()
178 keymaster::ImportKeyResponse response(impl_->message_version()); in importKey()
200 keymaster::ImportWrappedKeyRequest request(impl_->message_version()); in importWrappedKey()
208 keymaster::ImportWrappedKeyResponse response(impl_->message_version()); in importWrappedKey()
[all …]
DTrustyKeyMintOperation.cpp57 UpdateOperationRequest request(impl_->message_version()); in updateAad()
61 UpdateOperationResponse response(impl_->message_version()); in updateAad()
73 UpdateOperationRequest request(impl_->message_version()); in update()
96 UpdateOperationResponse response(impl_->message_version()); in update()
122 FinishOperationRequest request(impl_->message_version()); in finish()
158 FinishOperationResponse response(impl_->message_version()); in finish()
169 AbortOperationRequest request(impl_->message_version()); in abort()
172 AbortOperationResponse response(impl_->message_version()); in abort()
DTrustyRemotelyProvisionedComponentDevice.cpp82 GenerateRkpKeyRequest request(impl_->message_version()); in generateEcdsaP256KeyPair()
84 GenerateRkpKeyResponse response(impl_->message_version()); in generateEcdsaP256KeyPair()
99 GenerateCsrRequest request(impl_->message_version()); in generateCertificateRequest()
108 GenerateCsrResponse response(impl_->message_version()); in generateCertificateRequest()
DTrustySecureClock.cpp30 keymaster::VerifyAuthorizationRequest request(impl_->message_version()); in generateTimeStamp()
DTrustySharedSecret.cpp37 keymaster::ComputeSharedHmacRequest request(impl_->message_version()); in computeSharedSecret()
/system/core/trusty/keymaster/
DTrustyKeymaster.cpp70 ConfigureRequest req(message_version()); in Initialize()
74 ConfigureResponse rsp(message_version()); in Initialize()
84 ConfigureVendorPatchlevelRequest vendor_req(message_version()); in Initialize()
158 GenerateKeyRequest datedRequest(request.message_version); in GenerateKey()
237 GetHmacSharingParametersRequest request(message_version()); in GetHmacSharingParameters()
238 GetHmacSharingParametersResponse response(message_version()); in GetHmacSharingParameters()
245 ComputeSharedHmacResponse response(message_version()); in ComputeSharedHmac()
252 VerifyAuthorizationResponse response(message_version()); in VerifyAuthorization()
258 GetVersion2Response response(message_version()); in GetVersion2()
264 EarlyBootEndedResponse response(message_version()); in EarlyBootEnded()
[all …]
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp287 ComputeSharedHmacRequest request(impl_->message_version()); in computeSharedHmac()
312 VerifyAuthorizationRequest request(impl_->message_version()); in verifyAuthorization()
339 AddEntropyRequest request(impl_->message_version()); in addRngEntropy()
342 AddEntropyResponse response(impl_->message_version()); in addRngEntropy()
350 GenerateKeyRequest request(impl_->message_version()); in generateKey()
353 GenerateKeyResponse response(impl_->message_version()); in generateKey()
371 GetKeyCharacteristicsRequest request(impl_->message_version()); in getKeyCharacteristics()
375 GetKeyCharacteristicsResponse response(impl_->message_version()); in getKeyCharacteristics()
391 ImportKeyRequest request(impl_->message_version()); in importKey()
396 ImportKeyResponse response(impl_->message_version()); in importKey()
[all …]
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp183 if (message_version < 4) return size; in SerializedSize()
192 if (message_version < 4) return buf; in Serialize()
200 if (message_version < 4) return true; in Deserialize()
209 if (message_version < 4) return result; in NonErrorSerializedSize()
217 if (message_version < 4) return buf; in NonErrorSerialize()
227 if (message_version < 4) return true; in NonErrorDeserialize()
371 if (message_version == 0) in NonErrorSerializedSize()
379 if (message_version > 0) buf = output_params.Serialize(buf, end); in NonErrorSerialize()
385 if (retval && message_version > 0) retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize()
390 if (message_version == 0) in SerializedSize()
[all …]
Dandroid_keymaster.cpp134 uint32_t message_version) in AndroidKeymaster() argument
136 message_version_(message_version) {} in AndroidKeymaster()
254 GetHmacSharingParametersResponse response(message_version()); in GetHmacSharingParameters()
267 ComputeSharedHmacResponse response(message_version()); in ComputeSharedHmac()
282 VerifyAuthorizationResponse response(message_version()); in VerifyAuthorization()
812 ConfigureVendorPatchlevelResponse rsp(message_version()); in ConfigureVendorPatchlevel()
819 ConfigureBootPatchlevelResponse rsp(message_version()); in ConfigureBootPatchlevel()
898 return EarlyBootEndedResponse(message_version()); in EarlyBootEnded()
905 return DeviceLockedResponse(message_version()); in DeviceLocked()
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp383 SupportedAlgorithmsRequest request(impl_->message_version()); in get_supported_algorithms()
384 SupportedAlgorithmsResponse response(impl_->message_version()); in get_supported_algorithms()
415 SupportedBlockModesRequest request(impl_->message_version()); in get_supported_block_modes()
418 SupportedBlockModesResponse response(impl_->message_version()); in get_supported_block_modes()
450 SupportedPaddingModesRequest request(impl_->message_version()); in get_supported_padding_modes()
453 SupportedPaddingModesResponse response(impl_->message_version()); in get_supported_padding_modes()
483 SupportedDigestsRequest request(impl_->message_version()); in get_supported_digests()
486 SupportedDigestsResponse response(impl_->message_version()); in get_supported_digests()
514 SupportedImportFormatsRequest request(impl_->message_version()); in get_supported_import_formats()
516 SupportedImportFormatsResponse response(impl_->message_version()); in get_supported_import_formats()
[all …]
/system/keymaster/include/keymaster/
Dandroid_keymaster.h50 uint32_t message_version = kDefaultMessageVersion);
106 uint32_t message_version() const { return message_version_; } in message_version() function
Dandroid_keymaster_messages.h151 explicit KeymasterMessage(int32_t ver) : message_version(ver) { assert(ver >= 0); } in KeymasterMessage()
156 const int32_t message_version; member
804 : KeymasterResponse(other.message_version), params(move(other.params)) {} in GetHmacSharingParametersResponse()
/system/core/trusty/keymaster/include/trusty_keymaster/
DTrustyKeymaster.h70 uint32_t message_version() const { return message_version_; } in message_version() function
/system/keymaster/km_openssl/
Dsoft_keymaster_enforcement.cpp184 VerifyAuthorizationResponse response(request.message_version); in VerifyAuthorization()