Home
last modified time | relevance | path

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

/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dconversion.c83 EpidStatus ReadTpm2EcPoint(G1ElemStr const* p_str, TPM2B_ECC_POINT* tpm_point) { in ReadTpm2EcPoint() argument
84 if (!p_str || !tpm_point) { in ReadTpm2EcPoint()
89 if (0 != memcpy_S(tpm_point->point.x.t.buffer, MAX_ECC_KEY_BYTES, &p_str->x, in ReadTpm2EcPoint()
96 if (0 != memcpy_S(tpm_point->point.y.t.buffer, MAX_ECC_KEY_BYTES, &p_str->y, in ReadTpm2EcPoint()
107 G1ElemStr* p_str) { in WriteTpm2EcPoint() argument
108 if (!p_str || !tpm_point) { in WriteTpm2EcPoint()
117 memset(p_str, '\0', sizeof(G1ElemStr)); in WriteTpm2EcPoint()
121 memcpy_S(&p_str->x + (sizeof(G1ElemStr) / 2 - tpm_point->point.x.t.size), in WriteTpm2EcPoint()
128 memcpy_S(&p_str->y + (sizeof(G1ElemStr) / 2 - tpm_point->point.y.t.size), in WriteTpm2EcPoint()
Dconversion.h103 EpidStatus ReadTpm2EcPoint(G1ElemStr const* p_str, TPM2B_ECC_POINT* tpm_point);
115 EpidStatus WriteTpm2EcPoint(TPM2B_ECC_POINT const* tpm_point, G1ElemStr* p_str);
Dcreateprimary.c29 EpidStatus Tpm2CreatePrimary(Tpm2Ctx* ctx, G1ElemStr* p_str) { in Tpm2CreatePrimary() argument
30 if (!ctx || !ctx->epid2_params || !p_str) { in Tpm2CreatePrimary()
99 return WriteTpm2EcPoint(&public_area, p_str); in Tpm2CreatePrimary()
/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64.c216 uint8_t p_str[33]; in ecp_nistz256_windowed_mul() local
217 OPENSSL_memcpy(p_str, p_scalar->bytes, 32); in ecp_nistz256_windowed_mul()
218 p_str[32] = 0; in ecp_nistz256_windowed_mul()
248 unsigned wvalue = p_str[(index - 1) / 8]; in ecp_nistz256_windowed_mul()
257 wvalue = p_str[off] | p_str[off + 1] << 8; in ecp_nistz256_windowed_mul()
280 wvalue = p_str[0]; in ecp_nistz256_windowed_mul()
298 static unsigned calc_first_wvalue(unsigned *index, const uint8_t p_str[33]) { in calc_first_wvalue()
303 unsigned wvalue = (p_str[0] << 1) & kMask; in calc_first_wvalue()
307 static unsigned calc_wvalue(unsigned *index, const uint8_t p_str[33]) { in calc_wvalue()
312 unsigned wvalue = p_str[off] | p_str[off + 1] << 8; in calc_wvalue()
[all …]
/external/epid-sdk/epid/common-testhelper/unittests/
Decgroup_wrapper-test.cc44 static const BigNumStr p_str; member in __anon317f2b280111::EcGroupObjTest
56 const BigNumStr EcGroupObjTest::p_str = { member in __anon317f2b280111::EcGroupObjTest
96 FfElementObj(&fq, this->g1_str.y), BigNumObj(this->p_str), in TEST_F()
/external/epid-sdk/epid/common/math/
Decgroup.h147 EpidStatus ReadEcPoint(EcGroup* g, ConstOctStr p_str, size_t strlen,
165 EpidStatus WriteEcPoint(EcGroup* g, EcPoint const* p, OctStr p_str,
364 EpidStatus EcInGroup(EcGroup* g, ConstOctStr p_str, size_t strlen,
/external/epid-sdk/epid/common/math/src/
Decgroup.c278 EpidStatus eccontains(EcGroup* g, ConstOctStr p_str, size_t strlen, EcPoint* p, in eccontains() argument
285 ConstIppOctStr byte_str = (ConstIppOctStr)p_str; in eccontains()
289 if (!g || !p_str || !p || !in_group) { in eccontains()
381 EpidStatus ReadEcPoint(EcGroup* g, ConstOctStr p_str, size_t strlen, in ReadEcPoint() argument
386 if (!g || !p_str || !p) { in ReadEcPoint()
393 result = eccontains(g, p_str, strlen, p, &in_group); in ReadEcPoint()
409 EpidStatus WriteEcPoint(EcGroup* g, EcPoint const* p, OctStr p_str, in WriteEcPoint() argument
415 IppOctStr byte_str = (IppOctStr)p_str; in WriteEcPoint()
419 if (!g || !p || !p_str) { in WriteEcPoint()
455 memset(p_str, 0, strlen); in WriteEcPoint()
[all …]
/external/epid-sdk/epid/member/tpm2/src/
Dcreateprimary.c34 EpidStatus Tpm2CreatePrimary(Tpm2Ctx* ctx, G1ElemStr* p_str) { in Tpm2CreatePrimary() argument
41 (void)p_str; in Tpm2CreatePrimary()
/external/boringssl/src/crypto/fipsmodule/bn/
Drsaz_exp.c189 const uint8_t *p_str = (const uint8_t *)exponent; in RSAZ_1024_mod_exp_avx2() local
192 int wvalue = p_str[127] >> 3; in RSAZ_1024_mod_exp_avx2()
201 memcpy(&wvalue_16, &p_str[index / 8], sizeof(wvalue_16)); in RSAZ_1024_mod_exp_avx2()
213 wvalue = p_str[0] & 15; in RSAZ_1024_mod_exp_avx2()
/external/epid-sdk/epid/member/tiny/math/unittests/
Dfp-test.cc248 uint8_t p_str[32] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0xF0, 0xCD, in TEST() local
252 FpFromHash(&p_mod_p, p_str, sizeof(p_str)); in TEST()
/external/epid-sdk/epid/member/src/
Ddecompress_privkey.c83 FpElemStr p_str = {0}; in EpidDecompressPrivKey() local
133 result = WriteBigNum(p, sizeof(p_str), &p_str); in EpidDecompressPrivKey()
144 DeriveXF(&priv_key->x, &priv_key->f, &compressed_privkey->seed, &p_str); in EpidDecompressPrivKey()
/external/epid-sdk/epid/common-testhelper/
Decgroup_wrapper-testhelper.cc68 const BigNumStr p_str = { in EcGroupObj() local
87 BigNumObj(p_str), BigNumObj(h1), &temp); in EcGroupObj()
/external/epid-sdk/epid/common/math/unittests/
Dprintutils-test.cc49 static const FpElemStr p_str; member in __anon2fa6ae9d0111::PrintutilsTest
94 fp_elem = FfElementObj(&fp, p_str); in ConstructFiniteFields()
170 const FpElemStr PrintutilsTest::p_str = { member in __anon2fa6ae9d0111::PrintutilsTest
Decgroup-test.cc1700 G1ElemStr p_str = this->efq_a_str; in TEST_F() local
1701 p_str.y.data.data[31] -= 1; in TEST_F()
1704 EXPECT_EQ(kEpidNoErr, EcInGroup(this->efq, &p_str, sizeof(p_str), &in_group)); in TEST_F()
/external/epid-sdk/epid/member/tpm2/
Dcreateprimary.h37 EpidStatus Tpm2CreatePrimary(Tpm2Ctx* ctx, G1ElemStr* p_str);
/external/swiftshader/third_party/llvm-subzero/lib/Support/
Dregcomp.c80 static void p_str(struct parse *);
234 p_str(p); in llvm_regcomp()
483 p_str(struct parse *p) in p_str() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
Dregcomp.c207 static void p_str(struct parse *);
361 p_str(p); in llvm_regcomp()
610 p_str(struct parse *p) in p_str() function
/external/llvm/lib/Support/
Dregcomp.c80 static void p_str(struct parse *);
234 p_str(p); in llvm_regcomp()
483 p_str(struct parse *p) in p_str() function
/external/swiftshader/third_party/LLVM/lib/Support/
Dregcomp.c72 static void p_str(struct parse *);
226 p_str(p); in llvm_regcomp()
447 p_str(struct parse *p) in p_str() function
/external/python/cpython3/Objects/
Dunicodeobject.c14616 PyObject **p_str) in unicode_format_arg_format() argument
14641 *p_str = v; in unicode_format_arg_format()
14642 Py_INCREF(*p_str); in unicode_format_arg_format()
14646 *p_str = PyObject_Str(v); in unicode_format_arg_format()
14648 *p_str = PyObject_Repr(v); in unicode_format_arg_format()
14650 *p_str = PyObject_ASCII(v); in unicode_format_arg_format()
14661 int ret = mainformatlong(v, arg, p_str, writer); in unicode_format_arg_format()
14684 if (formatfloat(v, arg, p_str, NULL) == -1) in unicode_format_arg_format()
14699 *p_str = PyUnicode_FromOrdinal(ch); in unicode_format_arg_format()
14712 if (*p_str == NULL) in unicode_format_arg_format()
[all …]
/external/iproute2/devlink/
Ddevlink.c669 static int dl_argv_str(struct dl *dl, const char **p_str) in dl_argv_str() argument
677 *p_str = str; in dl_argv_str()