Home
last modified time | relevance | path

Searched refs:decryptKey (Results 1 – 2 of 2) sorted by relevance

/external/tpm2/
DCryptUtil.c2513 OBJECT *decryptKey = ObjectGet(tpmKey); //TPM key used for decrypting in CryptSecretDecrypt() local
2515 switch(decryptKey->publicArea.type) in CryptSecretDecrypt()
2523 scheme.details.oaep.hashAlg = decryptKey->publicArea.nameAlg; in CryptSecretDecrypt()
2527 result = CryptDecryptRSA(&data->t.size, data->t.buffer, decryptKey, in CryptSecretDecrypt()
2532 > CryptGetHashDigestSize(decryptKey->publicArea.nameAlg))) in CryptSecretDecrypt()
2549 decryptKey->publicArea.parameters.eccDetail.curveID, in CryptSecretDecrypt()
2550 &decryptKey->sensitive.sensitive.ecc, in CryptSecretDecrypt()
2557 CryptGetHashDigestSize(decryptKey->publicArea.nameAlg); in CryptSecretDecrypt()
2571 CryptKDFe(decryptKey->publicArea.nameAlg, &eccSecret.x.b, label, in CryptSecretDecrypt()
2573 &decryptKey->publicArea.unique.ecc.x.b, in CryptSecretDecrypt()
[all …]
Dpart4.txt22306 2033 OBJECT *decryptKey = ObjectGet(tpmKey); //TPM key used for decrypting
22309 2036 switch(decryptKey->publicArea.type)
22319 2046 scheme.details.oaep.hashAlg = decryptKey->publicArea.nameAlg;
22325 2052 result = CryptDecryptRSA(&data->t.size, data->t.buffer, decryptKey,
22330 2057 > CryptGetHashDigestSize(decryptKey->publicArea.nameAlg)))
22349 2076 decryptKey->publicArea.parameters.eccDetail.curveID,
22350 2077 &decryptKey->sensitive.sensitive.ecc,
22359 2086 CryptGetHashDigestSize(decryptKey->publicArea.nameAlg);
22379 2101 CryptKDFe(decryptKey->publicArea.nameAlg, &eccSecret.x.b, label,
22381 2103 &decryptKey->publicArea.unique.ecc.x.b,
[all …]