Home
last modified time | relevance | path

Searched refs:coseSign1 (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/identity/support/tests/
DIdentityCredentialSupportTest.cpp212 optional<vector<uint8_t>> coseSign1 = support::coseSignEcDsa( in TEST() local
214 ASSERT_TRUE(support::coseCheckEcDsaSignature(coseSign1.value(), {} /* detachedContent */, in TEST()
217 optional<vector<uint8_t>> payload = support::coseSignGetPayload(coseSign1.value()); in TEST()
222 string out = support::cborPrettyPrint(coseSign1.value()); in TEST()
243 optional<vector<uint8_t>> coseSign1 = support::coseSignEcDsa(privKey.value(), {} /* data */, in TEST() local
246 support::coseCheckEcDsaSignature(coseSign1.value(), detachedContent, pubKey.value())); in TEST()
248 optional<vector<uint8_t>> payload = support::coseSignGetPayload(coseSign1.value()); in TEST()
253 string out = support::cborPrettyPrint(coseSign1.value()); in TEST()
293 optional<vector<uint8_t>> coseSign1 = in TEST() local
296 support::coseCheckEcDsaSignature(coseSign1.value(), detachedContent, pubKey.value())); in TEST()
[all …]
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp1816 cppbor::Array coseSign1; in coseSignEcDsaWithSignature() local
1817 coseSign1.add(encodedProtectedHeaders); in coseSignEcDsaWithSignature()
1818 coseSign1.add(std::move(unprotectedHeaders)); in coseSignEcDsaWithSignature()
1821 coseSign1.add(std::move(nullValue)); in coseSignEcDsaWithSignature()
1823 coseSign1.add(data); in coseSignEcDsaWithSignature()
1825 coseSign1.add(signatureToBeSigned); in coseSignEcDsaWithSignature()
1827 signatureCoseSign1 = coseSign1.encode(); in coseSignEcDsaWithSignature()
1877 cppbor::Array coseSign1; in coseSignEcDsa() local
1878 coseSign1.add(encodedProtectedHeaders); in coseSignEcDsa()
1879 coseSign1.add(std::move(unprotectedHeaders)); in coseSignEcDsa()
[all …]