Searched refs:keyScheme (Results 1 – 3 of 3) sorted by relevance
56 TPMT_KDF_SCHEME *keyScheme = &key->publicArea.parameters.eccDetail.kdf; in CryptEccSelectScheme() local60 *scheme = *keyScheme; in CryptEccSelectScheme()61 if(keyScheme->scheme == TPM_ALG_NULL) in CryptEccSelectScheme()62 keyScheme = scheme; in CryptEccSelectScheme()64 (keyScheme->scheme == scheme->scheme in CryptEccSelectScheme()65 && keyScheme->details.anyKdf.hashAlg == scheme->details.anyKdf.hashAlg)); in CryptEccSelectScheme()
957 TPMT_ASYM_SCHEME *keyScheme; in CryptRsaSelectScheme() local962 keyScheme = &rsaObject->publicArea.parameters.asymDetail.scheme; in CryptRsaSelectScheme()966 if(keyScheme->scheme == TPM_ALG_NULL) in CryptRsaSelectScheme()975 retVal = (TPMT_RSA_DECRYPT *)keyScheme; in CryptRsaSelectScheme()982 else if(keyScheme->scheme == scheme->scheme in CryptRsaSelectScheme()983 && keyScheme->details.anySig.hashAlg == scheme->details.anySig.hashAlg) in CryptRsaSelectScheme()
87 TPMT_KEYEDHASH_SCHEME *keyScheme = in CryptHMACVerifySignature() local98 if((keyScheme->scheme != TPM_ALG_NULL) in CryptHMACVerifySignature()99 && ((keyScheme->scheme != signature->sigAlg) in CryptHMACVerifySignature()100 || (keyScheme->details.hmac.hashAlg in CryptHMACVerifySignature()669 TPMT_RSA_SCHEME *keyScheme in CryptSecretDecrypt() local673 scheme = *(TPMT_RSA_DECRYPT *)keyScheme; in CryptSecretDecrypt()