Lines Matching refs:deviceInfo
301 void checkProtectedData(const DeviceInfo& deviceInfo, const cppbor::Array& keysToSign, in checkProtectedData() argument
337 auto [deviceInfoMap, __2, deviceInfoErrMsg] = cppbor::parse(deviceInfo.deviceInfo); in checkProtectedData()
386 DeviceInfo deviceInfo; in TEST_P() local
389 testMode, {} /* keysToSign */, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()
393 checkProtectedData(deviceInfo, cppbor::Array(), keysToSignMac, protectedData); in TEST_P()
407 DeviceInfo deviceInfo; in TEST_P() local
410 testMode, {} /* keysToSign */, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()
415 checkProtectedData(deviceInfo, /*keysToSign=*/cppbor::Array(), keysToSignMac, protectedData, in TEST_P()
419 testMode, {} /* keysToSign */, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()
424 checkProtectedData(deviceInfo, /*keysToSign=*/cppbor::Array(), keysToSignMac, protectedData, in TEST_P()
445 DeviceInfo deviceInfo; in TEST_P() local
448 testMode, {} /* keysToSign */, getProdEekChain(), challenge_, &deviceInfo, in TEST_P()
465 DeviceInfo deviceInfo; in TEST_P() local
468 testMode, keysToSign_, testEekChain_.chain, challenge_, &deviceInfo, &protectedData, in TEST_P()
472 checkProtectedData(deviceInfo, cborKeysToSign_, keysToSignMac, protectedData); in TEST_P()
486 DeviceInfo deviceInfo; in TEST_P() local
489 testMode, keysToSign_, getProdEekChain(), challenge_, &deviceInfo, &protectedData, in TEST_P()
503 DeviceInfo deviceInfo; in TEST_P() local
506 testMode, {keyWithCorruptMac}, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()
521 DeviceInfo deviceInfo; in TEST_P() local
524 testMode, {keyWithCorruptMac}, getProdEekChain(), challenge_, &deviceInfo, in TEST_P()
548 DeviceInfo deviceInfo; in TEST_P() local
551 challenge_, &deviceInfo, in TEST_P()
578 DeviceInfo deviceInfo; in TEST_P() local
581 testMode, keysToSign_, truncatedChain.encode(), challenge_, &deviceInfo, &protectedData, in TEST_P()
595 DeviceInfo deviceInfo; in TEST_P() local
598 true /* testMode */, keysToSign_, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()
613 DeviceInfo deviceInfo; in TEST_P() local
616 false /* testMode */, keysToSign_, testEekChain_.chain, challenge_, &deviceInfo, in TEST_P()