Lines Matching refs:Deserialize

178 bool KeymasterResponse::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) {  in Deserialize()  function in keymaster::KeymasterResponse
201 bool GenerateKeyRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GenerateKeyRequest
202 if (!key_description.Deserialize(buf_ptr, end)) return false; in Deserialize()
205 && attest_key_params.Deserialize(buf_ptr, end) // in Deserialize()
226 !enforced.Deserialize(buf_ptr, end) || // in NonErrorDeserialize()
227 !unenforced.Deserialize(buf_ptr, end)) { in NonErrorDeserialize()
270 bool GenerateCsrRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GenerateCsrRequest
333 bool GenerateCsrV2Request::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GenerateCsrV2Request
393 bool GetKeyCharacteristicsRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GetKeyCharacteristicsRequest
395 additional_params.Deserialize(buf_ptr, end); in Deserialize()
409 return enforced.Deserialize(buf_ptr, end) && unenforced.Deserialize(buf_ptr, end); in NonErrorDeserialize()
427 bool BeginOperationRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::BeginOperationRequest
430 additional_params.Deserialize(buf_ptr, end); in Deserialize()
448 if (retval && message_version > 0) retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize()
466 bool UpdateOperationRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::UpdateOperationRequest
467 bool retval = copy_uint64_from_buf(buf_ptr, end, &op_handle) && input.Deserialize(buf_ptr, end); in Deserialize()
468 if (retval && message_version > 0) retval = additional_params.Deserialize(buf_ptr, end); in Deserialize()
502 bool retval = output.Deserialize(buf_ptr, end); in NonErrorDeserialize()
504 if (retval && message_version > 1) retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize()
538 bool FinishOperationRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::FinishOperationRequest
540 copy_uint64_from_buf(buf_ptr, end, &op_handle) && signature.Deserialize(buf_ptr, end); in Deserialize()
541 if (retval && message_version > 0) retval = additional_params.Deserialize(buf_ptr, end); in Deserialize()
542 if (retval && message_version > 2) retval = input.Deserialize(buf_ptr, end); in Deserialize()
560 bool retval = output.Deserialize(buf_ptr, end); in NonErrorDeserialize()
561 if (retval && message_version > 1) retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize()
573 bool AddEntropyRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::AddEntropyRequest
574 return random_data.Deserialize(buf_ptr, end); in Deserialize()
598 bool ImportKeyRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::ImportKeyRequest
599 if (!(key_description.Deserialize(buf_ptr, end) && in Deserialize()
607 && attest_key_params.Deserialize(buf_ptr, end) // in Deserialize()
632 !enforced.Deserialize(buf_ptr, end) || // in NonErrorDeserialize()
633 !unenforced.Deserialize(buf_ptr, end)) { in NonErrorDeserialize()
656 bool ExportKeyRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::ExportKeyRequest
657 return additional_params.Deserialize(buf_ptr, end) && in Deserialize()
698 bool DeleteKeyRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::DeleteKeyRequest
744 bool AttestKeyRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::AttestKeyRequest
745 return deserialize_key_blob(&key_blob, buf_ptr, end) && attest_params.Deserialize(buf_ptr, end); in Deserialize()
778 bool UpgradeKeyRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::UpgradeKeyRequest
780 upgrade_params.Deserialize(buf_ptr, end); in Deserialize()
808 bool HmacSharingParameters::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::HmacSharingParameters
829 bool HmacSharingParametersArray::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::HmacSharingParametersArray
835 if (!params_array[i].Deserialize(buf_ptr, end)) return false; in Deserialize()
867 bool ImportWrappedKeyRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::ImportWrappedKeyRequest
871 additional_params.Deserialize(buf_ptr, end) && in Deserialize()
909 !enforced.Deserialize(buf_ptr, end) || // in NonErrorDeserialize()
910 !unenforced.Deserialize(buf_ptr, end)) { in NonErrorDeserialize()
932 bool HardwareAuthToken::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::HardwareAuthToken
954 bool VerificationToken::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::VerificationToken
957 parameters_verified.Deserialize(buf_ptr, end) && in Deserialize()