Home
last modified time | relevance | path

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

/external/tpm2/
DCpriRSA.c437 BYTE seedMask[MAX_DIGEST_SIZE]; in OaepDecode() local
459 if((retVal = _cpri__MGF1(hLen, seedMask, hashAlg, in OaepDecode()
464 pm = seedMask; in OaepDecode()
469 hLen, seedMask)) < 0) in OaepDecode()
478 if((retVal=_cpri__HashBlock(hashAlg, lSize,(BYTE *)label, hLen, seedMask)) < 0) in OaepDecode()
480 if(memcmp(seedMask, mask, hLen) != 0) in OaepDecode()
Dpart4.txt29348 389 BYTE seedMask[MAX_DIGEST_SIZE];
29380 416 // to recover the seedMask
29381 417 if((retVal = _cpri__MGF1(hLen, seedMask, hashAlg,
29385 421 // Recover the seed into seedMask
29387 423 pm = seedMask;
29393 429 hLen, seedMask)) < 0)
29404 440 if((retVal=_cpri__HashBlock(hashAlg, lSize,(BYTE *)label, hLen, seedMask)) < 0)
29407 443 if(memcmp(seedMask, mask, hLen) != 0)