Home
last modified time | relevance | path

Searched refs:keyScheme (Results 1 – 3 of 3) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccCrypt.c56 TPMT_KDF_SCHEME *keyScheme = &key->publicArea.parameters.eccDetail.kdf; in CryptEccSelectScheme() local
60 *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()
DCryptRsa.c957 TPMT_ASYM_SCHEME *keyScheme; in CryptRsaSelectScheme() local
962 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()
DCryptUtil.c87 TPMT_KEYEDHASH_SCHEME *keyScheme = in CryptHMACVerifySignature() local
98 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() local
673 scheme = *(TPMT_RSA_DECRYPT *)keyScheme; in CryptSecretDecrypt()