Home | History | Annotate | Download | only in keymaster

Lines Matching refs:round_trip

34 Message* round_trip(int32_t ver, const Message& message, size_t expected_size) {
71 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(ver, msg, 5));
80 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(ver, msg, 4));
89 UniquePtr<SupportedByAlgorithmRequest> deserialized(round_trip(ver, req, 4));
100 UniquePtr<SupportedByAlgorithmAndPurposeRequest> deserialized(round_trip(ver, req, 8));
113 UniquePtr<SupportedResponse<keymaster_digest_t>> deserialized(round_trip(ver, rsp, 20));
134 UniquePtr<GenerateKeyRequest> deserialized(round_trip(ver, req, 78));
147 UniquePtr<GenerateKeyResponse> deserialized(round_trip(ver, rsp, 109));
162 UniquePtr<GenerateKeyResponse> deserialized(round_trip(ver, rsp, 4));
176 UniquePtr<GetKeyCharacteristicsRequest> deserialized(round_trip(ver, req, 85));
190 UniquePtr<GetKeyCharacteristicsResponse> deserialized(round_trip(ver, msg, 160));
203 UniquePtr<BeginOperationRequest> deserialized(round_trip(ver, msg, 89));
221 deserialized.reset(round_trip(ver, msg, 12));
226 deserialized.reset(round_trip(ver, msg, 39));
256 UniquePtr<BeginOperationResponse> deserialized(round_trip(ver, msg, 4));
270 deserialized.reset(round_trip(ver, msg, 15));
275 deserialized.reset(round_trip(ver, msg, 27));
296 deserialized.reset(round_trip(ver, msg, 11));
299 deserialized.reset(round_trip(ver, msg, 15));
303 deserialized.reset(round_trip(ver, msg, 42));
340 deserialized.reset(round_trip(ver, msg, 15));
344 deserialized.reset(round_trip(ver, msg, 27));
347 deserialized.reset(round_trip(ver, msg, 34));
358 TEST(Round_Trip, FinishOperationResponse) {
368 deserialized.reset(round_trip(ver, msg, 11));
372 deserialized.reset(round_trip(ver, msg, 23));
391 UniquePtr<ImportKeyRequest> deserialized(round_trip(ver, msg, 89));
407 UniquePtr<ImportKeyResponse> deserialized(round_trip(ver, msg, 167));
424 UniquePtr<ExportKeyRequest> deserialized(round_trip(ver, msg, 89));
438 UniquePtr<ExportKeyResponse> deserialized(round_trip(ver, msg, 11));
449 UniquePtr<DeleteKeyRequest> deserialized(round_trip(ver, msg, 7));
458 UniquePtr<DeleteKeyResponse> deserialized(round_trip(ver, msg, 4));
465 UniquePtr<DeleteAllKeysRequest> deserialized(round_trip(ver, msg, 0));
472 UniquePtr<DeleteAllKeysResponse> deserialized(round_trip(ver, msg, 4));
518 UniquePtr<AddEntropyRequest> deserialized(round_trip(ver, msg, 7));
527 UniquePtr<AddEntropyResponse> deserialized(round_trip(ver, msg, 4));
534 UniquePtr<AbortOperationRequest> deserialized(round_trip(ver, msg, 8));
541 UniquePtr<AbortOperationResponse> deserialized(round_trip(ver, msg, 4));
551 UniquePtr<AttestKeyRequest> deserialized(round_trip(ver, msg, 85));
567 UniquePtr<AttestKeyResponse> deserialized(round_trip(ver, msg, 29));
587 UniquePtr<UpgradeKeyRequest> deserialized(round_trip(ver, msg, 85));
601 UniquePtr<UpgradeKeyResponse> deserialized(round_trip(ver, req, 19));