Lines Matching refs:ecc_parameter
63 TPM2B_ECC_PARAMETER ecc_parameter = {0}; in TEST_F() local
65 EXPECT_EQ(kEpidBadArgErr, ReadTpm2FfElement(nullptr, &ecc_parameter)); in TEST_F()
70 TPM2B_ECC_PARAMETER ecc_parameter = {0}; in TEST_F() local
73 &ecc_parameter)); in TEST_F()
74 EXPECT_EQ((uint16_t)this->kTpmFfElemStrData.size(), ecc_parameter.b.size); in TEST_F()
76 *(OctStr256*)ecc_parameter.b.buffer); in TEST_F()
83 TPM2B_ECC_PARAMETER ecc_parameter = {0}; in TEST_F() local
86 EXPECT_EQ(kEpidBadArgErr, WriteTpm2FfElement(&ecc_parameter, nullptr)); in TEST_F()
90 TPM2B_ECC_PARAMETER ecc_parameter = {0}; in TEST_F() local
93 &ecc_parameter)); in TEST_F()
95 ecc_parameter.b.size++; in TEST_F()
96 EXPECT_EQ(kEpidBadArgErr, WriteTpm2FfElement(&ecc_parameter, &result)); in TEST_F()
100 TPM2B_ECC_PARAMETER ecc_parameter = {0}; in TEST_F() local
103 &ecc_parameter)); in TEST_F()
105 std::vector<uint8_t> expected(ecc_parameter.b.size); in TEST_F()
109 ecc_parameter.b.size--; in TEST_F()
111 EXPECT_EQ(kEpidNoErr, WriteTpm2FfElement(&ecc_parameter, &result)); in TEST_F()
117 TPM2B_ECC_PARAMETER ecc_parameter = {0}; in TEST_F() local
120 &ecc_parameter)); in TEST_F()
122 EXPECT_EQ(kEpidNoErr, WriteTpm2FfElement(&ecc_parameter, &result)); in TEST_F()