Home
last modified time | relevance | path

Searched refs:sig_data (Results 1 – 9 of 9) sorted by relevance

/external/epid-sdk/epid/member/unittests/
Dsign-test.cc113 std::vector<uint8_t> sig_data(EpidGetSigSize(nullptr)); in TEST_F() local
114 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
115 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
233 std::vector<uint8_t> sig_data(EpidGetSigSize(nullptr)); in TEST_F() local
234 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
235 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
250 std::vector<uint8_t> sig_data(EpidGetSigSize(srl)); in TEST_F() local
251 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
252 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
269 std::vector<uint8_t> sig_data(EpidGetSigSize(nullptr)); in TEST_F() local
[all …]
Dcontext-test.cc362 std::vector<uint8_t> sig_data(EpidGetSigSize(sig_rl)); in TEST_F() local
363 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
364 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
527 std::vector<uint8_t> sig_data(EpidGetSigSize(nullptr)); in TEST_F() local
528 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
529 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
/external/epid-sdk/epid/member/tiny/unittests/
Dsign-test.cc143 std::vector<uint8_t> sig_data(EpidGetSigSize(nullptr)); in TEST_F() local
144 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
145 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
262 std::vector<uint8_t> sig_data(EpidGetSigSize(nullptr)); in TEST_F() local
263 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
264 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
279 std::vector<uint8_t> sig_data(EpidGetSigSize(srl)); in TEST_F() local
280 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
281 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
298 std::vector<uint8_t> sig_data(EpidGetSigSize(nullptr)); in TEST_F() local
[all …]
Dcontext-test.cc319 std::vector<uint8_t> sig_data(EpidGetSigSize(sig_rl)); in TEST_F() local
320 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
321 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
475 std::vector<uint8_t> sig_data(EpidGetSigSize(nullptr)); in TEST_F() local
476 EpidSignature* sig = reinterpret_cast<EpidSignature*>(sig_data.data()); in TEST_F()
477 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F()
/external/autotest/client/cros/
Downership.py381 sig_data = sig.fo.read()
382 if not sig_data:
384 return sig_data
/external/vboot_reference/firmware/lib20/
Dcommon.c72 uint8_t *sig_data = vb2_signature_data(sig); in vb2_verify_digest() local
82 return vb2_rsa_verify_digest(key, sig_data, digest, wb); in vb2_verify_digest()
/external/vboot_reference/host/lib/include/
Dhost_signature.h18 void SignatureInit(VbSignature* sig, uint8_t* sig_data,
/external/vboot_reference/host/lib/
Dhost_signature.c36 void SignatureInit(VbSignature* sig, uint8_t* sig_data, in SignatureInit() argument
38 sig->sig_offset = OffsetOf(sig, sig_data); in SignatureInit()
/external/epid-sdk/epid/verifier/unittests/
Dverify-test.cc357 auto sig_data = this->kSigGrpXMember0Sha512Bsn0Msg0; in TEST_F() local
358 EpidSignature* sig = (EpidSignature*)sig_data.data(); in TEST_F()
365 EpidVerify(verifier, sig, sig_data.size(), msg.data(), msg.size())); in TEST_F()
374 auto sig_data = this->kSigGrpXMember0Sha512RandbaseMsg0; in TEST_F() local
375 EpidSignature* sig = (EpidSignature*)sig_data.data(); in TEST_F()
380 EpidVerify(verifier, sig, sig_data.size(), msg.data(), msg.size())); in TEST_F()