OEMCrypto and OPK 18.8

This commit is contained in:
Vicky Min
2024-11-26 20:08:25 +00:00
parent 92b538334c
commit f79f9bf998
33 changed files with 2047 additions and 1471 deletions

View File

@@ -5,6 +5,8 @@
#include "oemcrypto_license_test.h"
#include <string>
#include "platform.h"
#include "test_sleep.h"
@@ -12,6 +14,9 @@ using ::testing::Range;
namespace wvoec {
/// @addtogroup license
/// @{
// Function to test APIs that expect a buffer length as input
// by passing huge buffer lengths up to end_buffer_length and test that the API
// doesn't crash.
@@ -758,6 +763,7 @@ TEST_P(OEMCryptoLicenseTest, MaxTotalKeysManySessions) {
TEST_F(OEMCryptoSessionTests, CheckMinimumPatchLevel) {
uint8_t patch_level = OEMCrypto_Security_Patch_Level();
printf(" Current Patch Level: %u.\n", patch_level);
RecordWvProperty("security_patch_level", std::to_string(patch_level));
{
Session s;
ASSERT_NO_FATAL_FAILURE(s.open());