Lines Matching refs:challenge
83 std::vector<uint8_t> challenge(kChallengeSize); in generateChallenge() local
85 ssize_t bytesRemaining = static_cast<ssize_t>(challenge.size()); in generateChallenge()
86 uint8_t* writePtr = challenge.data(); in generateChallenge()
101 return challenge; in generateChallenge()
106 const std::vector<uint8_t>& challenge, in composeCertificateRequestV1() argument
132 .add(challenge) in composeCertificateRequestV1()
152 const std::vector<uint8_t> challenge = generateChallenge(); in getCsrV1() local
154 /*test_mode=*/false, emptyKeys, eek, challenge, &verifiedDeviceInfo, &protectedData, in getCsrV1()
161 return composeCertificateRequestV1(protectedData, verifiedDeviceInfo, challenge, keysToSignMac, in getCsrV1()
184 const std::vector<uint8_t> challenge = generateChallenge(); in selfTestGetCsrV1() local
186 /*test_mode=*/true, emptyKeys, eekChain->chain, challenge, &verifiedDeviceInfo, in selfTestGetCsrV1()
196 hwInfo.supportedEekCurve, irpc, challenge); in selfTestGetCsrV1()
230 const std::vector<uint8_t> challenge = generateChallenge(); in getCsrV3() local
232 auto status = irpc->generateCertificateRequestV2(emptyKeys, challenge, &csr); in getCsrV3()
240 auto result = verifyFactoryCsr(/*keysToSign=*/cppbor::Array(), csr, irpc, challenge); in getCsrV3()