Searched refs:ResizeOctStr (Results 1 – 4 of 4) sorted by relevance
/external/epid-sdk/epid/member/unittests/ |
D | resize-test.cc | 28 TEST(ResizeOctStr, FailsGivenNullPointer) { in TEST() argument 31 EXPECT_EQ(kEpidBadArgErr, ResizeOctStr(nullptr, sizeof(a), r, sizeof(r))); in TEST() 32 EXPECT_EQ(kEpidBadArgErr, ResizeOctStr(a, sizeof(a), nullptr, sizeof(r))); in TEST() 35 TEST(ResizeOctStr, FailsGivenInvalidSize) { in TEST() argument 38 EXPECT_EQ(kEpidBadArgErr, ResizeOctStr(a, 0, r, sizeof(r))); in TEST() 39 EXPECT_EQ(kEpidBadArgErr, ResizeOctStr(a, sizeof(a), r, 0)); in TEST() 42 TEST(ResizeOctStr, FailsGivenResultIsTooSmall) { in TEST() argument 45 EXPECT_EQ(kEpidBadArgErr, ResizeOctStr(a, sizeof(a), r, sizeof(r))); in TEST() 48 TEST(ResizeOctStr, CanShrink) { in TEST() argument 52 EXPECT_EQ(kEpidNoErr, ResizeOctStr(a, sizeof(a), r.data(), r.size())); in TEST() [all …]
|
/external/epid-sdk/epid/member/src/ |
D | resize.h | 43 EpidStatus ResizeOctStr(ConstOctStr a, size_t a_size, OctStr r, size_t r_size);
|
D | resize.c | 24 EpidStatus ResizeOctStr(ConstOctStr a, size_t a_size, OctStr r, size_t r_size) { in ResizeOctStr() function
|
D | join.c | 118 sts = ResizeOctStr(&request.c, sizeof(request.c), digest, digest_size); in EpidCreateJoinRequest()
|