Home
last modified time | relevance | path

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

/external/tpm2/
DCpriRSA.c572 UINT32 codedSize, // IN: the encoded message size in RSAES_Decode() argument
578 fail = (codedSize < 11); in RSAES_Decode()
580 for(ps = 2; ps < codedSize; ps++) in RSAES_Decode()
588 fail |= ((ps >= codedSize) || ((ps-2) < 8)); in RSAES_Decode()
589 if((*messageSize < codedSize - ps) || fail) in RSAES_Decode()
591 *messageSize = codedSize - ps; in RSAES_Decode()
592 memcpy(message, &coded[ps], codedSize - ps); in RSAES_Decode()