Home
last modified time | relevance | path

Searched refs:OctStr2Bnu (Results 1 – 4 of 4) sorted by relevance

/external/epid-sdk/epid/common/math/unittests/
Doctstrconvert-test.cc40 TEST(OctStr2Bnu, octstr2bnuFailsGivenNullBnu) { in TEST() argument
41 int len = OctStr2Bnu(nullptr, bnstr1, sizeof(bnstr1) / sizeof(uint8_t)); in TEST()
44 TEST(OctStr2Bnu, octstr2bnuFailsGivenNullOctstr) { in TEST() argument
46 int len = OctStr2Bnu(bnustr_res, nullptr, sizeof(bnstr1) / sizeof(uint8_t)); in TEST()
49 TEST(OctStr2Bnu, octstr2bnuFailsGivenInvalidOctsrtLen) { in TEST() argument
51 int len = OctStr2Bnu(bnustr_res, bnstr1, -1); in TEST()
53 len = OctStr2Bnu(bnustr_res, bnstr1, 0); in TEST()
55 len = OctStr2Bnu(bnustr_res, bnstr1, 3); in TEST()
57 len = OctStr2Bnu(bnustr_res, bnstr1, 5); in TEST()
60 TEST(OctStr2Bnu, octstr2bnuWorksGivenOctstr1) { in TEST() argument
[all …]
/external/epid-sdk/epid/common/math/src/
Dbignum-internal.h61 int OctStr2Bnu(BNU bnu_ptr, ConstOctStr octstr_ptr, int octstr_len);
Dbignum.c162 int OctStr2Bnu(BNU bnu_ptr, ConstOctStr octstr_ptr, int octstr_len) { in OctStr2Bnu() function
Dfinitefield.c89 bnu_size = OctStr2Bnu(bnu, prime, sizeof(*prime)); in NewFiniteField()