Lines Matching refs:eccKey
29 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()
81 &eccKey->sensitive.sensitive.ecc, in TPM2_ZGen_2Phase()