Home
last modified time | relevance | path

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

/external/tpm2-tss/test/unit/
DTPMS-marshal.c50 cap.data.eccCurves.count = 3; in tpms_marshal_success()
51 cap.data.eccCurves.eccCurves[0] = TPM2_ECC_NIST_P256; in tpms_marshal_success()
52 cap.data.eccCurves.eccCurves[1] = TPM2_ECC_NIST_P384; in tpms_marshal_success()
53 cap.data.eccCurves.eccCurves[2] = TPM2_ECC_NIST_P521; in tpms_marshal_success()
59 assert_int_equal (ptr2->data.eccCurves.count, HOST_TO_BE_32(3)); in tpms_marshal_success()
60 assert_int_equal (ptr2->data.eccCurves.eccCurves[0], HOST_TO_BE_16(TPM2_ECC_NIST_P256)); in tpms_marshal_success()
61 assert_int_equal (ptr2->data.eccCurves.eccCurves[1], HOST_TO_BE_16(TPM2_ECC_NIST_P384)); in tpms_marshal_success()
62 assert_int_equal (ptr2->data.eccCurves.eccCurves[2], HOST_TO_BE_16(TPM2_ECC_NIST_P521)); in tpms_marshal_success()
96 cap.data.eccCurves.count = 3; in tpms_marshal_success_offset()
97 cap.data.eccCurves.eccCurves[0] = TPM2_ECC_NIST_P256; in tpms_marshal_success_offset()
[all …]
/external/tpm2-tss/src/tss2-mu/
Dtpml-types.c168 TPML_MARSHAL(TPML_ECC_CURVE, Tss2_MU_UINT16_Marshal, eccCurves, VAL)
169 TPML_UNMARSHAL(TPML_ECC_CURVE, Tss2_MU_UINT16_Unmarshal, eccCurves)
Dtpmu-types.c454 TPM2_CAP_ECC_CURVES, ADDR, eccCurves, Tss2_MU_TPML_ECC_CURVE_Marshal,
465 TPM2_CAP_ECC_CURVES, eccCurves, Tss2_MU_TPML_ECC_CURVE_Unmarshal,
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccMain.c109 if(eccCurves[i].curveId == curveId) in CryptEccGetParametersByCurveId()
110 return &eccCurves[i]; in CryptEccGetParametersByCurveId()
162 return eccCurves[i].curveId; in CryptEccGetCurveByIndex()
250 curveList->eccCurves[curveList->count] = curve; in CryptCapGetECCCurve()
DCryptEccData.c559 const ECC_CURVE eccCurves[] = { variable
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptEcc.h67 extern const ECC_CURVE eccCurves[ECC_CURVE_COUNT];
DTpmTypes.h1532 TPM_ECC_CURVE eccCurves[MAX_ECC_CURVES]; member
1555 TPML_ECC_CURVE eccCurves; member
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Capability/
DGetCapability.c159 &data->eccCurves); in TPM2_GetCapability()
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h1073 TPM2_ECC_CURVE eccCurves[TPM2_MAX_ECC_CURVES]; /* array of ECC curve identifiers */ member
1092 TPML_ECC_CURVE eccCurves; member
/external/tpm2-tss/src/tss2-fapi/
Dtpm_json_serialize.c1777 r = ifapi_json_TPM2_ECC_CURVE_serialize (in->eccCurves[i], &jso2); in ifapi_json_TPML_ECC_CURVE_serialize()
1817 return ifapi_json_TPML_ECC_CURVE_serialize(&in->eccCurves, jso); in ifapi_json_TPMU_CAPABILITIES_serialize()
Dfapi_util.c3606 ADD_CAPABILITY_INFO(eccCurves, eccCurves,, in ifapi_capability_get()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DTableMarshalData.c492 (UINT8)(offsetof(TPML_ECC_CURVE, eccCurves)),
DMarshal.c2649 …result = (UINT16)(result + TPM_ECC_CURVE_Array_Marshal((TPM_ECC_CURVE *)(source->eccCurves), buffe… in TPML_ECC_CURVE_Marshal()
2697 return TPML_ECC_CURVE_Marshal((TPML_ECC_CURVE *)&(source->eccCurves), buffer, size); in TPMU_CAPABILITIES_Marshal()