Lines Matching refs:testMode
189 bool testMode = false; in TEST_P() local
190 auto status = provisionable_->generateEcdsaP256KeyPair(testMode, &macedPubKey, &privateKeyBlob); in TEST_P()
193 check_maced_pubkey(macedPubKey, testMode, &coseKeyData); in TEST_P()
212 bool testMode = false; in TEST_P() local
213 auto status = provisionable_->generateEcdsaP256KeyPair(testMode, &macedPubKey, &privateKeyBlob); in TEST_P()
216 check_maced_pubkey(macedPubKey, testMode, &coseKeyData); in TEST_P()
266 bool testMode = true; in TEST_P() local
267 auto status = provisionable_->generateEcdsaP256KeyPair(testMode, &macedPubKey, &privateKeyBlob); in TEST_P()
270 check_maced_pubkey(macedPubKey, testMode, nullptr); in TEST_P()
286 void generateKeys(bool testMode, size_t numKeys) { in generateKeys() argument
292 auto status = provisionable_->generateEcdsaP256KeyPair(testMode, &key, &privateKeyBlob); in generateKeys()
296 check_maced_pubkey(key, testMode, &payload_value); in generateKeys()
380 bool testMode = true; in TEST_P() local
389 testMode, {} /* keysToSign */, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()
404 constexpr bool testMode = true; in TEST_P() local
410 testMode, {} /* keysToSign */, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()
419 testMode, {} /* keysToSign */, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()
442 bool testMode = false; in TEST_P() local
448 testMode, {} /* keysToSign */, getProdEekChain(), challenge_, &deviceInfo, in TEST_P()
457 bool testMode = true; in TEST_P() local
458 generateKeys(testMode, 4 /* numKeys */); in TEST_P()
468 testMode, keysToSign_, testEekChain_.chain, challenge_, &deviceInfo, &protectedData, in TEST_P()
482 bool testMode = false; in TEST_P() local
483 generateKeys(testMode, 4 /* numKeys */); in TEST_P()
489 testMode, keysToSign_, getProdEekChain(), challenge_, &deviceInfo, &protectedData, in TEST_P()
498 bool testMode = true; in TEST_P() local
499 generateKeys(testMode, 1 /* numKeys */); in TEST_P()
506 testMode, {keyWithCorruptMac}, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()
516 bool testMode = false; in TEST_P() local
517 generateKeys(testMode, 1 /* numKeys */); in TEST_P()
524 testMode, {keyWithCorruptMac}, getProdEekChain(), challenge_, &deviceInfo, in TEST_P()
535 bool testMode = false; in TEST_P() local
536 generateKeys(testMode, 4 /* numKeys */); in TEST_P()
550 auto status = provisionable_->generateCertificateRequest(testMode, keysToSign_, *chain, in TEST_P()
564 bool testMode = false; in TEST_P() local
565 generateKeys(testMode, 4 /* numKeys */); in TEST_P()
581 testMode, keysToSign_, truncatedChain.encode(), challenge_, &deviceInfo, &protectedData, in TEST_P()