Home
last modified time | relevance | path

Searched refs:pk8_key (Results 1 – 2 of 2) sorted by relevance

/system/core/trusty/keymaster/
Dtrusty_keymaster_device_test.cpp445 string pk8_key = read_file("../../../../system/keymaster/rsa_privkey_pk8.der"); in TEST_F() local
446 ASSERT_EQ(633U, pk8_key.size()); in TEST_F()
450 ASSERT_EQ(KM_ERROR_OK, device.import_keypair(reinterpret_cast<const uint8_t*>(pk8_key.data()), in TEST_F()
451 pk8_key.size(), &key, &size)); in TEST_F()
468 string pk8_key = read_file("../../../../system/keymaster/ec_privkey_pk8.der"); in TEST_F() local
469 ASSERT_EQ(138U, pk8_key.size()); in TEST_F()
473 ASSERT_EQ(KM_ERROR_OK, device.import_keypair(reinterpret_cast<const uint8_t*>(pk8_key.data()), in TEST_F()
474 pk8_key.size(), &key, &size)); in TEST_F()
/system/keymaster/
Dandroid_keymaster_test.cpp1682 string pk8_key = read_file("rsa_privkey_pk8.der"); in TEST_P() local
1683 ASSERT_EQ(633U, pk8_key.size()); in TEST_P()
1689 KM_KEY_FORMAT_PKCS8, pk8_key)); in TEST_P()
1719 string pk8_key = read_file("rsa_privkey_pk8.der"); in TEST_P() local
1720 ASSERT_EQ(633U, pk8_key.size()); in TEST_P()
1726 KM_KEY_FORMAT_PKCS8, pk8_key)); in TEST_P()
1732 string pk8_key = read_file("rsa_privkey_pk8.der"); in TEST_P() local
1733 ASSERT_EQ(633U, pk8_key.size()); in TEST_P()
1739 KM_KEY_FORMAT_PKCS8, pk8_key)); in TEST_P()
1745 string pk8_key = read_file("ec_privkey_pk8.der"); in TEST_P() local
[all …]