Home
last modified time | relevance | path

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

/external/epid-sdk/epid/common/math/src/
Dprintutils.c60 static int PrintBuf(ConstOctStr buf, size_t size) { in PrintBuf()
127 if (0 != PrintBuf((ConstOctStr)buf, ipp_word_buf_size * sizeof(Ipp32u))) { in PrintBigNum()
294 if (0 != PrintBuf((ConstOctStr)big_num_str, sizeof(*big_num_str))) { in PrintBigNumStr()
311 if (0 != PrintBuf((ConstOctStr)fp_elem_str, sizeof(*fp_elem_str))) { in PrintFpElemStr()
328 if (0 != PrintBuf((ConstOctStr)fq_elem_str, sizeof(*fq_elem_str))) { in PrintFqElemStr()
349 if (0 != PrintBuf((ConstOctStr)&fq2_elem_str->a[0], in PrintFq2ElemStr()
357 if (0 != PrintBuf((ConstOctStr)&fq2_elem_str->a[1], in PrintFq2ElemStr()
364 if (0 != PrintBuf((ConstOctStr)fq2_elem_str, sizeof(*fq2_elem_str))) { in PrintFq2ElemStr()
396 if (0 != PrintBuf((ConstOctStr)&fq6_elem_str->a[i].a[j], in PrintFq6ElemStr()
405 if (0 != PrintBuf((ConstOctStr)fq6_elem_str, sizeof(*fq6_elem_str))) { in PrintFq6ElemStr()
[all …]
Dbignum-internal.h61 int OctStr2Bnu(BNU bnu_ptr, ConstOctStr octstr_ptr, int octstr_len);
72 size_t OctStrBitSize(ConstOctStr octstr_ptr, size_t octstr_len);
Decdsa_verify.c50 static EpidStatus CalcHashBn(ConstOctStr buf, size_t buf_len,
58 EpidStatus EcdsaVerifyBuffer(ConstOctStr buf, size_t buf_len, in EcdsaVerifyBuffer()
272 static EpidStatus CalcHashBn(ConstOctStr buf, size_t buf_len, in CalcHashBn()
Dbignum.c95 EpidStatus ReadBigNum(ConstOctStr bn_str, size_t strlen, BigNum* bn) { in ReadBigNum()
162 int OctStr2Bnu(BNU bnu_ptr, ConstOctStr octstr_ptr, int octstr_len) { in OctStr2Bnu()
183 size_t OctStrBitSize(ConstOctStr octstr_ptr, size_t octstr_len) { in OctStrBitSize()
Dfinitefield-internal.h60 EpidStatus SetFfElementOctString(ConstOctStr ff_elem_str, int strlen,
Decgroup.c278 EpidStatus eccontains(EcGroup* g, ConstOctStr p_str, size_t strlen, EcPoint* p, in eccontains()
381 EpidStatus ReadEcPoint(EcGroup* g, ConstOctStr p_str, size_t strlen, in ReadEcPoint()
775 EpidStatus EcInGroup(EcGroup* g, ConstOctStr p_str, size_t strlen, in EcInGroup()
872 static EpidStatus SplitHashBits(ConstOctStr str, size_t str_len, in SplitHashBits()
895 EpidStatus Epid11EcHash(EcGroup* g, ConstOctStr msg, size_t msg_len, in Epid11EcHash()
1072 EpidStatus EcHash(EcGroup* g, ConstOctStr msg, size_t msg_len, HashAlg hash_alg, in EcHash()
Decdsa_sign.c32 EpidStatus EcdsaSignBuffer(ConstOctStr buf, size_t buf_len, in EcdsaSignBuffer()
Dfinitefield.c476 EpidStatus IsValidFfElemOctString(ConstOctStr ff_elem_str, int strlen, in IsValidFfElemOctString()
528 EpidStatus SetFfElementOctString(ConstOctStr ff_elem_str, int strlen, in SetFfElementOctString()
573 EpidStatus ReadFfElement(FiniteField* ff, ConstOctStr ff_elem_str, in ReadFfElement()
1213 EpidStatus FfHash(FiniteField* ff, ConstOctStr msg, size_t msg_len, in FfHash()
Dtatepairing.c161 result = SetFfElementOctString((ConstOctStr)ff_modulus.x[0].x, in NewEpid11PairingState()
/external/epid-sdk/epid/common/math/
Decgroup.h147 EpidStatus ReadEcPoint(EcGroup* g, ConstOctStr p_str, size_t strlen,
364 EpidStatus EcInGroup(EcGroup* g, ConstOctStr p_str, size_t strlen,
384 EpidStatus Epid11EcHash(EcGroup* g, ConstOctStr msg, size_t msg_len,
407 EpidStatus EcHash(EcGroup* g, ConstOctStr msg, size_t msg_len, HashAlg hash_alg,
Decdsa.h72 EpidStatus EcdsaVerifyBuffer(ConstOctStr buf, size_t buf_len,
106 EpidStatus EcdsaSignBuffer(ConstOctStr buf, size_t buf_len,
Dfinitefield.h187 EpidStatus ReadFfElement(FiniteField* ff, ConstOctStr ff_elem_str,
466 EpidStatus FfHash(FiniteField* ff, ConstOctStr msg, size_t msg_len,
Dbignum.h87 EpidStatus ReadBigNum(ConstOctStr bn_str, size_t strlen, BigNum* bn);
/external/epid-sdk/epid/member/src/
Dresize.h43 EpidStatus ResizeOctStr(ConstOctStr a, size_t a_size, OctStr r, size_t r_size);
Dresize.c24 EpidStatus ResizeOctStr(ConstOctStr a, size_t a_size, OctStr r, size_t r_size) { in ResizeOctStr()
/external/epid-sdk/epid/common-testhelper/
Dprng-testhelper.h92 StaticPrng(ConstOctStr bytes, size_t length) in StaticPrng()
/external/epid-sdk/epid/common/
Dtypes.h47 typedef void const* ConstOctStr; typedef