/trusty/user/app/cast-auth/app/test-app/ |
D | main.cc | 282 std::vector<uint8_t> signature(256); in TEST_F() local 283 auto status = _state->srv->SignHash(test_hash, &signature); in TEST_F() 285 ASSERT_EQ(signature.size(), sizeof(test_signature), "signature size"); in TEST_F() 286 for (unsigned int i = 0; i < signature.size(); ++i) { in TEST_F() 287 EXPECT_EQ(signature[i], test_signature[i], "signature diff"); in TEST_F() 301 std::vector<uint8_t> signature(256); in TEST_F() local 302 auto status = _state->srv->SignHash(test_hash, &signature); in TEST_F() 304 ASSERT_EQ(signature.size(), sizeof(test_signature), "signature size"); in TEST_F() 305 for (unsigned int i = 0; i < signature.size(); ++i) { in TEST_F() 306 EXPECT_EQ(signature[i], test_signature[i], "signature diff"); in TEST_F()
|
/trusty/user/app/confirmationui/src/ |
D | secure_input_tracker.h | 54 const secure_input::Signature& signature, 60 const secure_input::Signature& signature,
|
D | trusty_operation.cpp | 150 auto [in_msg, nCi, signature] = in extendedProtocolHook() 154 rc = input_tracker_.finalizeHandshake(nCi, signature, *hmacKey()); in extendedProtocolHook() 163 auto [in_msg, event, signature] = read(DeliverInputEvent(), in_cmd); in extendedProtocolHook() 168 event, signature, *hmacKey()); in extendedProtocolHook()
|
D | secure_input_tracker.cpp | 93 const Signature& signature, in finalizeHandshake() argument 101 if (*hmac == signature) { in finalizeHandshake() 124 const Signature& signature, in processInputEvent() argument 147 if (!(*hmac == signature)) { in processInputEvent()
|
/trusty/user/app/gatekeeper/ |
D | trusty_gatekeeper.h | 56 virtual void ComputePasswordSignature(uint8_t* signature, 65 virtual void ComputeSignature(uint8_t* signature,
|
D | trusty_gatekeeper.cpp | 162 void TrustyGateKeeper::ComputePasswordSignature(uint8_t* signature, in ComputePasswordSignature() argument 173 ComputeSignature(signature, signature_length, key, key_length, in ComputePasswordSignature() 183 void TrustyGateKeeper::ComputeSignature(uint8_t* signature, in ComputeSignature() argument 196 memset(signature, 0, signature_length); in ComputeSignature() 197 memcpy(signature, buf, to_write); in ComputeSignature()
|
/trusty/user/app/cast-auth/app/ |
D | cast_auth_impl.h | 29 std::vector<uint8_t>* signature);
|
D | cast_auth_impl.cc | 115 std::vector<uint8_t>* signature) { in SignHash() argument 139 signature->resize(expected_size); in SignHash() 140 rc = RSA_private_encrypt(hash.size(), hash.data(), signature->data(), in SignHash()
|
/trusty/user/base/lib/hwbcc/common/ |
D | common.cpp | 176 const cppbor::Bstr* signature = bcc_entry->get(3)->asBstr(); in validate_bcc_entry() local 183 CHECK_NOT_NULL(signature); in validate_bcc_entry() 197 signature->value().data(), prev_key.data()); in validate_bcc_entry()
|
/trusty/user/base/lib/apploader_package/ |
D | cose.cpp | 176 std::vector<uint8_t> signature; in signEcDsaDigest() local 177 signature.resize(len); in signEcDsaDigest() 178 unsigned char* p = (unsigned char*)signature.data(); in signEcDsaDigest() 180 return signature; in signEcDsaDigest() 336 const uint8_t* signature, in checkEcDsaSignature() argument 340 BIGNUM_Ptr(BN_bin2bn(signature, kEcdsaValueSize, nullptr), BN_free); in checkEcDsaSignature() 347 BN_bin2bn(signature + kEcdsaValueSize, kEcdsaValueSize, nullptr), in checkEcDsaSignature()
|