Searched refs:OctStr2Bnu (Results 1 – 4 of 4) sorted by relevance
/external/epid-sdk/epid/common/math/unittests/ |
D | octstrconvert-test.cc | 40 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/ |
D | bignum-internal.h | 61 int OctStr2Bnu(BNU bnu_ptr, ConstOctStr octstr_ptr, int octstr_len);
|
D | bignum.c | 162 int OctStr2Bnu(BNU bnu_ptr, ConstOctStr octstr_ptr, int octstr_len) { in OctStr2Bnu() function
|
D | finitefield.c | 89 bnu_size = OctStr2Bnu(bnu, prime, sizeof(*prime)); in NewFiniteField()
|