Home
last modified time | relevance | path

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

/external/epid-sdk/epid/common/math/unittests/
Doctstrconvert-test.cc45 uint32_t bnustr_res[sizeof(bnstr1) / sizeof(uint32_t)] = {0}; in TEST() local
46 int len = OctStr2Bnu(bnustr_res, nullptr, sizeof(bnstr1) / sizeof(uint8_t)); in TEST()
50 uint32_t bnustr_res[sizeof(bnstr1) / sizeof(uint32_t)] = {0}; in TEST() local
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()
61 uint32_t bnustr_res[sizeof(bnstr1) / sizeof(uint32_t)] = {0}; in TEST() local
62 int len = OctStr2Bnu(bnustr_res, bnstr1, sizeof(bnstr1) / sizeof(uint8_t)); in TEST()
65 memcmp(bnustr1, bnustr_res, sizeof(bnustr_res) / sizeof(uint32_t))) in TEST()
[all …]