Lines Matching refs:support
103 vector<uint8_t> hardwareBoundKey = support::getTestHardwareBoundKey(); in extractFromTestCredentialData()
107 support::decryptAes128Gcm(hardwareBoundKey, encryptedCredentialKeys, docTypeVec); in extractFromTestCredentialData()
232 support::coseSignGetPayload(proofOfProvisioningSignature); in TEST_P()
283 optional<vector<uint8_t>> credentialPubKey = support::certificateChainGetTopMostKey( in TEST_P()
286 EXPECT_TRUE(support::coseCheckEcDsaSignature(proofOfProvisioningSignature, in TEST_P()
301 support::ecPrivateKeyToKeyPair(exCredentialPrivKey); in TEST_P()
304 support::ecKeyPairGetPublicKey(exCredentialKeyPair.value()); in TEST_P()
312 ASSERT_EQ(exSha256Pop, support::sha256(proofOfProvisioning.value())); in TEST_P()
325 optional<vector<uint8_t>> readerEphemeralKeyPair = support::createEcKeyPair(); in TEST_P()
328 support::ecKeyPairGetPublicKey(readerEphemeralKeyPair.value()); in TEST_P()
333 optional<vector<uint8_t>> ephemeralPublicKey = support::ecKeyPairGetPublicKey(ephemeralKeyPair); in TEST_P()
336 auto [getXYSuccess, ephX, ephY] = support::ecPublicKeyGetXandY(ephemeralPublicKey.value()); in TEST_P()
381 support::coseSignEcDsa(readerKey, {}, // content in TEST_P()
391 support::certificateChainGetTopMostKey(signingKeyCertificate.encodedCertificate); in TEST_P()
400 support::decryptAes128Gcm(exStorageKey, signingKeyBlob, exDocTypeVec); in TEST_P()
403 support::ecPrivateKeyToKeyPair(exSigningPrivKey.value()); in TEST_P()
406 support::ecKeyPairGetPublicKey(exSigningKeyPair.value()); in TEST_P()
474 support::ecKeyPairGetPrivateKey(readerEphemeralKeyPair.value()); in TEST_P()
476 support::calcEMacKey(readerEphemeralPrivateKey.value(), // Private Key in TEST_P()
481 support::calcMac(sessionTranscript.encode(), // SessionTranscript in TEST_P()
498 EXPECT_TRUE(support::coseCheckEcDsaSignature(ecdsaSignature, in TEST_P()
527 calculatedMac = support::calcMac(sessionTranscript.encode(), // SessionTranscript in TEST_P()
544 EXPECT_TRUE(support::coseCheckEcDsaSignature(ecdsaSignature, in TEST_P()
573 calculatedMac = support::calcMac(sessionTranscript.encode(), // SessionTranscript in TEST_P()
590 EXPECT_TRUE(support::coseCheckEcDsaSignature(ecdsaSignature, in TEST_P()
668 support::coseSignGetPayload(proofOfProvisioningSignature); in TEST_P()
703 optional<vector<uint8_t>> credentialPubKey = support::certificateChainGetTopMostKey( in TEST_P()
706 EXPECT_TRUE(support::coseCheckEcDsaSignature(proofOfProvisioningSignature, in TEST_P()
721 support::ecPrivateKeyToKeyPair(exCredentialPrivKey); in TEST_P()
724 support::ecKeyPairGetPublicKey(exCredentialKeyPair.value()); in TEST_P()
753 support::certificateChainGetTopMostKey(signingKeyCertificate.encodedCertificate); in TEST_P()
818 EXPECT_TRUE(support::coseCheckEcDsaSignature(ecdsaSignature, in TEST_P()