Home
last modified time | relevance | path

Searched refs:secure_message (Results 1 – 4 of 4) sorted by relevance

/external/ukey2/src/main/cpp/test/securegcm/
Dd2d_crypto_ops_test.cc66 SecureMessage secure_message; in TEST_F() local
67 ASSERT_TRUE(secure_message.ParseFromString(*signcrypted_message)); in TEST_F()
70 header_and_body.ParseFromString(secure_message.header_and_body())); in TEST_F()
72 secure_message.set_header_and_body(header_and_body.SerializeAsString()); in TEST_F()
76 secure_message.SerializeAsString(), secret_key_)); in TEST_F()
84 SecureMessage secure_message; in TEST_F() local
85 ASSERT_TRUE(secure_message.ParseFromString(*signcrypted_message)); in TEST_F()
88 header_and_body.ParseFromString(secure_message.header_and_body())); in TEST_F()
96 secure_message.set_header_and_body(header_and_body.SerializeAsString()); in TEST_F()
100 secure_message.SerializeAsString(), secret_key_)); in TEST_F()
/external/ukey2/src/main/cpp/src/securegcm/
Dd2d_crypto_ops.cc65 std::unique_ptr<SecureMessage> secure_message = in SigncryptPayload() local
69 if (!secure_message) { in SigncryptPayload()
75 new string(secure_message->SerializeAsString())); in SigncryptPayload()
81 SecureMessage secure_message; in VerifyDecryptPayload() local
82 if (!secure_message.ParseFromString(signcrypted_message)) { in VerifyDecryptPayload()
89 secure_message, secret_key, CryptoOps::HMAC_SHA256, secret_key, in VerifyDecryptPayload()
/external/ukey2/
D.gitmodules1 [submodule "third_party/secure_message"]
2 path = third_party/secure_message
DCMakeLists.txt46 add_subdirectory(third_party/secure_message)