Home
last modified time | relevance | path

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

/external/tpm2/
DCommit.c62 p = (TPM2B *)CryptEccGetParameter('p', parms->curveID); in TPM2_Commit()
72 if(!CryptGenerateR(&r, NULL, parms->curveID, &eccKey->name)) in TPM2_Commit()
100 if(!CryptEccIsPointOnCurve(parms->curveID, pP2)) in TPM2_Commit()
113 if(!CryptEccIsPointOnCurve(parms->curveID, pP1)) in TPM2_Commit()
124 parms->curveID, in TPM2_Commit()
DZGen_2Phase.c61 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
65 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
71 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
79 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ZGen_2Phase()
DEC_Ephemeral.c29 in->curveID, in TPM2_EC_Ephemeral()
33 CryptEccPointMultiply(&out->Q.t.point, in->curveID, &r, NULL); in TPM2_EC_Ephemeral()
DCryptUtil_fp.h14 TPM_ECC_CURVE curveID, // IN: the starting ECC curve
29 TPM_ECC_CURVE curveID, // IN: The curve for the computation
132 BOOL CryptEccIsPointOnCurve(TPM_ECC_CURVE curveID, // IN: ECC curve ID
140 TPMI_ECC_CURVE curveID, // IN: the curve for the value
238 TPM_RC CryptNewEccKey(TPM_ECC_CURVE curveID, // IN: ECC curve
DCryptUtil.c1223 TPM_ECC_CURVE curveID // IN: id of the curve in CryptEccGetCurveDataPointer() argument
1226 return _cpri__EccGetParametersByCurveId(curveID); in CryptEccGetCurveDataPointer()
1236 TPM_ECC_CURVE curveID // IN: id of the curve in CryptEccGetKeySizeInBits() argument
1239 const ECC_CURVE *curve = CryptEccGetCurveDataPointer(curveID); in CryptEccGetKeySizeInBits()
1321 TPM_ECC_CURVE curveID, // IN: ECC curve ID in CryptEccIsPointOnCurve() argument
1330 if(_cpri__EccIsPointOnCurve(curveID, Q)) in CryptEccIsPointOnCurve()
1343 TPM_ECC_CURVE curveID, // IN: ECC curve in CryptNewEccKey() argument
1350 if(_cpri__GetEphemeralEcc(publicPoint, sensitive, curveID) != CRYPT_SUCCESS) in CryptNewEccKey()
1429 publicArea->parameters.eccDetail.curveID, in CryptGenerateKeyECC()
1469 signKey->publicArea.parameters.eccDetail.curveID, in CryptSignECC()
[all …]
DECDH_KeyGen.c44 CryptNewEccKey(eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_KeyGen()
52 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_KeyGen()
DECC_Parameters.c26 if(CryptEccGetParameters(in->curveID, &out->parameters)) in TPM2_ECC_Parameters()
DECC_Parameters_fp.h12 typedef struct { TPMI_ECC_CURVE curveID; } ECC_Parameters_In; member
DEC_Ephemeral_fp.h12 typedef struct { TPMI_ECC_CURVE curveID; } EC_Ephemeral_In; member
DECDH_ZGen.c52 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_ZGen()
DMarshal_ECC_Parameters.c44 result = TPMI_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); in ECC_Parameters_In_Unmarshal()
DMarshal_EC_Ephemeral.c44 result = TPMI_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); in EC_Ephemeral_In_Unmarshal()
DCryptoEngine.h167 UINT32 curveID; // The curve identifier member
DObject_spt.c394 TPM_ECC_CURVE curveID = publicArea->parameters.eccDetail.curveID; in SchemeChecks() local
395 const TPMT_ECC_SCHEME *curveScheme = CryptGetCurveSignScheme(curveID); in SchemeChecks()
Dtpm_types.h1294 TPM_ECC_CURVE curveID; member
1428 TPMI_ECC_CURVE curveID; member
Dpart4.txt7164 317 TPM_ECC_CURVE curveID = publicArea->parameters.eccDetail.curveID;
7165 318 const TPMT_ECC_SCHEME *curveScheme = CryptGetCurveSignScheme(curveID);
7169 322 // If the curveID requires a specific scheme, then the key must select
20800 945 TPM_ECC_CURVE curveID // IN: id of the curve
20803 948 return _cpri__EccGetParametersByCurveId(curveID);
20813 952 TPM_ECC_CURVE curveID // IN: id of the curve
20816 955 const ECC_CURVE *curve = CryptEccGetCurveDataPointer(curveID);
20907 This function will validate that an ECC point is on the curve of given curveID.
20916 1020 TPM_ECC_CURVE curveID, // IN: ECC curve ID
20931 1030 if(_cpri__EccIsPointOnCurve(curveID, Q))
[all …]
Dtpm_generated.c3035 total_size += TPMI_ECC_CURVE_Marshal(&source->curveID, buffer, size); in TPMS_ECC_PARMS_Marshal()
3052 result = TPMI_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); in TPMS_ECC_PARMS_Unmarshal()
6012 total_size += TPM_ECC_CURVE_Marshal(&source->curveID, buffer, size); in TPMS_ALGORITHM_DETAIL_ECC_Marshal()
6030 result = TPM_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); in TPMS_ALGORITHM_DETAIL_ECC_Unmarshal()
Dpart3.txt2690 5) If the key is an ECC key and the scheme required by the curveID is not the same as scheme in
2692 …6) If the key is an ECC key and the KDF required by the curveID is not the same as kdf in the pubic
5310 32 CryptNewEccKey(eccKey->publicArea.parameters.eccDetail.curveID,
5318 40 eccKey->publicArea.parameters.eccDetail.curveID,
5458 36 eccKey->publicArea.parameters.eccDetail.curveID,
5483 This command returns the parameters of an ECC curve identified by its TCG-assigned curveID.
5496 TPMI_ECC_CURVE curveID parameter set selector
5538 14 if(CryptEccGetParameters(in->curveID, &out->parameters))
5713 43 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID,
5717 47 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID,
[all …]
/external/tpm2/generator/
Dstructures.txt1359 _NAME curveID
1432 _NAME curveID
Draw_commands.txt4245 5) If the key is an ECC key and the scheme required by the curveID is not the same as scheme in
4247 6) If the key is an ECC key and the KDF required by the curveID is not the same as kdf in the pubic
9183 CryptNewEccKey(eccKey->publicArea.parameters.eccDetail.curveID,
9189 eccKey->publicArea.parameters.eccDetail.curveID,
9414 eccKey->publicArea.parameters.eccDetail.curveID,
9443 This command returns the parameters of an ECC curve identified by its TCG-assigned curveID.
9468 curveID
9557 if(CryptEccGetParameters(in->curveID, &out->parameters))
9867 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID,
9870 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID,
[all …]
Draw_commands_fixed.txt4247 5) If the key is an ECC key and the scheme required by the curveID is not the same as scheme in
4249 6) If the key is an ECC key and the KDF required by the curveID is not the same as kdf in the pubic
9194 CryptNewEccKey(eccKey->publicArea.parameters.eccDetail.curveID,
9200 eccKey->publicArea.parameters.eccDetail.curveID,
9425 eccKey->publicArea.parameters.eccDetail.curveID,
9454 This command returns the parameters of an ECC curve identified by its TCG-assigned curveID.
9479 curveID
9568 if(CryptEccGetParameters(in->curveID, &out->parameters))
9878 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID,
9881 if(!CryptEccIsPointOnCurve(eccKey->publicArea.parameters.eccDetail.curveID,
[all …]
Dcommands.txt641 _NAME curveID
1225 _NAME curveID
Draw_structures.txt13964 curveID
14706 If the sign parameter in curveID indicates a mandatory
14713 curveID
14726 parameter associated with curveID is not
Draw_structures_fixed.txt13966 curveID
14690 If the sign parameter in curveID indicates a mandatory
14693 curveID