Home
last modified time | relevance | path

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

/external/epid-sdk/epid/member/tpm2/unittests/
Dconversion-tss-test.cc28 bool operator==(OctStr256 const& lhs, OctStr256 const& rhs) { in operator ==()
29 return 0 == std::memcmp(&lhs, &rhs, sizeof(OctStr256)); in operator ==()
64 OctStr256 stub = {0}; in TEST_F()
72 ReadTpm2FfElement((OctStr256*)this->kTpmFfElemStrData.data(), in TEST_F()
75 EXPECT_EQ(*(OctStr256*)this->kTpmFfElemStrData.data(), in TEST_F()
76 *(OctStr256*)ecc_parameter.b.buffer); in TEST_F()
84 OctStr256 result = {0}; in TEST_F()
91 OctStr256 result = {0}; in TEST_F()
92 THROW_ON_EPIDERR(ReadTpm2FfElement((OctStr256*)this->kTpmFfElemStrData.data(), in TEST_F()
101 OctStr256 result = {0}; in TEST_F()
[all …]
/external/epid-sdk/epid/common/
Dtypes.h91 typedef struct OctStr256 { struct
93 } OctStr256; argument
101 OctStr256 data; ///< 256 bit octet string
105 OctStr256 data; ///< 256 bit octet string
109 OctStr256 data; ///< 256 bit octet string
181 typedef OctStr256 Seed;
204 typedef OctStr256 IssuerNonce;
345 OctStr256 x; ///< 256-bit integer
346 OctStr256 y; ///< 256-bit integer
351 OctStr256 x; ///< 256-bit integer
[all …]
Dfile_parser.h78 OctStr256 prime; ///< Prime of GF(p)
79 OctStr256 a; ///< Coefficient of E Curve
80 OctStr256 b; ///< Coefficient of E Curve
81 OctStr256 x; ///< X coordinate of Base point G
82 OctStr256 y; ///< Y coordinate of Base point G
83 OctStr256 r; ///< Order of base point
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dconversion.c52 EpidStatus ReadTpm2FfElement(OctStr256 const* str, in ReadTpm2FfElement()
58 memcpy_S(tpm_data->b.buffer, MAX_ECC_KEY_BYTES, str, sizeof(OctStr256))) { in ReadTpm2FfElement()
61 tpm_data->b.size = (UINT16)sizeof(OctStr256); in ReadTpm2FfElement()
66 OctStr256* str) { in WriteTpm2FfElement()
67 if (!tpm_data || !str || tpm_data->b.size > (UINT16)sizeof(OctStr256)) { in WriteTpm2FfElement()
71 size_t real_size = sizeof(OctStr256); in WriteTpm2FfElement()
Dconversion.h76 EpidStatus ReadTpm2FfElement(OctStr256 const* str,
91 OctStr256* str);
Dsign.c104 (OctStr256*)&k_str); in Tpm2Sign()
111 (OctStr256*)&s_str); in Tpm2Sign()
/external/epid-sdk/epid/member/src/
Djoin_commitment.h28 typedef struct OctStr256 OctStr256; typedef
29 typedef struct OctStr256 IssuerNonce;
/external/epid-sdk/epid/common-testhelper/
Doctstr-testhelper.cc37 EpidStatus create_BigNum(IppsBigNumState** bn, const OctStr256* str) { in create_BigNum()
42 unsigned int byte_size = sizeof(OctStr256); in create_BigNum()
96 EpidStatus Cmp_OctStr256(const OctStr256* pA, const OctStr256* pB, in Cmp_OctStr256()
Doctstr-testhelper.h44 EpidStatus Cmp_OctStr256(const OctStr256* pA, const OctStr256* pB,
/external/epid-sdk/epid/common/1.1/
Dtypes.h130 OctStr256 c; ///< a 256-bit integer
147 OctStr256 c; ///< a 256-bit integer