Home | History | Annotate | Download | only in tpm2

Lines Matching full:unique

737    // Create unique area in public
739 sensitive, &publicArea->unique.sym);
785 key->publicKey = &rsaKey->publicArea.unique.rsa.b;
873 retVal = _cpri__GenerateKeyRSA(&publicArea->unique.rsa.b,
907 &(publicArea->unique.rsa.b),
1020 if(cipherInSize != rsaKey->publicArea.unique.rsa.t.size)
1086 && *cipherOutSize >= rsaKey->publicArea.unique.rsa.t.size);
1428 retVal = _cpri__GenerateKeyEcc(&publicArea->unique.ecc,
1520 &signKey->publicArea.unique.ecc,
1965 // Create unique area in public
1967 sensitive, &publicArea->unique.sym);
2427 &encryptKey->publicArea.unique.ecc))
2447 &encryptKey->publicArea.unique.ecc)
2466 &encryptKey->publicArea.unique.ecc.x.b,
2574 &decryptKey->publicArea.unique.ecc.x.b,
2780 // This function computes the unique field in public area for symmetric objects.
2786 TPM2B_DIGEST *unique // OUT: unique buffer
2790 pAssert(sensitive != NULL && unique != NULL);
2791 // Compute the public value as the hash of sensitive.symkey || unique.buffer
2792 unique->t.size = CryptGetHashDigestSize(nameAlg);
2798 CryptCompleteHash2B(&hashState, &unique->b);
2860 // c) compute the unique id in public area for symmetric keys.
3010 &publicArea->unique.ecc);
3069 if(sensitive->sensitive.rsa.t.size != publicArea->unique.rsa.t.size/2)
3082 if( publicArea->unique.ecc.x.t.size
3093 if( (!Memory2BEqual(&publicArea->unique.ecc.x.b,
3095 || (!Memory2BEqual(&publicArea->unique.ecc.y.b,
3121 // Compute unique for symmetric key
3124 // Compare unique
3125 if(!Memory2BEqual(&publicArea->unique.sym.b,
3667 == publicArea->unique.rsa.t.size);
3677 && publicArea->unique.ecc.x.t.size <= keySizeInBytes
3678 && publicArea->unique.ecc.y.t.size <= keySizeInBytes;