Home
last modified time | relevance | path

Searched refs:eccKey (Results 1 – 7 of 7) sorted by relevance

/external/tpm2/
DZGen_2Phase.c29 OBJECT *eccKey; in TPM2_ZGen_2Phase() local
35 eccKey = ObjectGet(in->keyA); in TPM2_ZGen_2Phase()
38 if(eccKey->publicArea.type != TPM_ALG_ECC) in TPM2_ZGen_2Phase()
42 if( eccKey->publicArea.objectAttributes.restricted == SET in TPM2_ZGen_2Phase()
43 || eccKey->publicArea.objectAttributes.decrypt != SET in TPM2_ZGen_2Phase()
49 scheme = eccKey->publicArea.parameters.asymDetail.scheme.scheme; in TPM2_ZGen_2Phase()
61 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()
[all …]
DECDH_ZGen.c28 OBJECT *eccKey; in TPM2_ECDH_ZGen() local
32 eccKey = ObjectGet(in->keyHandle); in TPM2_ECDH_ZGen()
35 if( eccKey->publicArea.type != TPM_ALG_ECC) in TPM2_ECDH_ZGen()
38 if( eccKey->publicArea.objectAttributes.restricted == SET in TPM2_ECDH_ZGen()
39 || eccKey->publicArea.objectAttributes.decrypt != SET in TPM2_ECDH_ZGen()
44 if( eccKey->publicArea.parameters.eccDetail.scheme.scheme != TPM_ALG_ECDH in TPM2_ECDH_ZGen()
45 && eccKey->publicArea.parameters.eccDetail.scheme.scheme != TPM_ALG_NULL) in TPM2_ECDH_ZGen()
52 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_ZGen()
53 &eccKey->sensitive.sensitive.ecc, in TPM2_ECDH_ZGen()
DECDH_KeyGen.c23 OBJECT *eccKey; in TPM2_ECDH_KeyGen() local
29 eccKey = ObjectGet(in->keyHandle); in TPM2_ECDH_KeyGen()
32 if( eccKey->publicArea.type != TPM_ALG_ECC) in TPM2_ECDH_KeyGen()
35 if( eccKey->publicArea.objectAttributes.restricted == SET in TPM2_ECDH_KeyGen()
36 || eccKey->publicArea.objectAttributes.decrypt != SET in TPM2_ECDH_KeyGen()
44 CryptNewEccKey(eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_KeyGen()
52 eccKey->publicArea.parameters.eccDetail.curveID, in TPM2_ECDH_KeyGen()
53 &sensitive, &eccKey->publicArea.unique.ecc); in TPM2_ECDH_KeyGen()
DCommit.c30 OBJECT *eccKey; in TPM2_Commit() local
41 eccKey = ObjectGet(in->signHandle); in TPM2_Commit()
42 parms = & eccKey->publicArea.parameters.eccDetail; in TPM2_Commit()
45 if(eccKey->publicArea.type != TPM_ALG_ECC) in TPM2_Commit()
72 if(!CryptGenerateR(&r, NULL, parms->curveID, &eccKey->name)) in TPM2_Commit()
85 P2.x.t.size = CryptHashBlock(eccKey->publicArea.nameAlg, in TPM2_Commit()
103 if(eccKey->attributes.publicOnly == SET) in TPM2_Commit()
127 &eccKey->sensitive.sensitive.ecc, in TPM2_Commit()
Dpart3.txt5289 11 OBJECT *eccKey;
5295 17 eccKey = ObjectGet(in->keyHandle);
5298 20 if( eccKey->publicArea.type != TPM_ALG_ECC)
5301 23 if( eccKey->publicArea.objectAttributes.restricted == SET
5302 24 || eccKey->publicArea.objectAttributes.decrypt != SET
5310 32 CryptNewEccKey(eccKey->publicArea.parameters.eccDetail.curveID,
5318 40 eccKey->publicArea.parameters.eccDetail.curveID,
5319 41 &sensitive, &eccKey->publicArea.unique.ecc);
5434 12 OBJECT *eccKey;
5438 16 eccKey = ObjectGet(in->keyHandle);
[all …]
/external/tpm2/generator/
Draw_commands.txt9166 *eccKey;
9171 eccKey = ObjectGet(in->keyHandle);
9174 eccKey->publicArea.type != TPM_ALG_ECC
9175 || eccKey->publicArea.objectAttributes.restricted == SET
9176 || eccKey->publicArea.objectAttributes.decrypt != SET
9183 CryptNewEccKey(eccKey->publicArea.parameters.eccDetail.curveID,
9189 eccKey->publicArea.parameters.eccDetail.curveID,
9190 &sensitive, &eccKey->publicArea.unique.ecc);
9400 *eccKey;
9403 eccKey = ObjectGet(in->keyHandle);
[all …]
Draw_commands_fixed.txt9177 *eccKey;
9182 eccKey = ObjectGet(in->keyHandle);
9185 eccKey->publicArea.type != TPM_ALG_ECC
9186 || eccKey->publicArea.objectAttributes.restricted == SET
9187 || eccKey->publicArea.objectAttributes.decrypt != SET
9194 CryptNewEccKey(eccKey->publicArea.parameters.eccDetail.curveID,
9200 eccKey->publicArea.parameters.eccDetail.curveID,
9201 &sensitive, &eccKey->publicArea.unique.ecc);
9411 *eccKey;
9414 eccKey = ObjectGet(in->keyHandle);
[all …]