Home
last modified time | relevance | path

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

/external/tpm2/
DCpriRSA.c567 UINT32 codedSize, // IN: the encoded message size in RSAES_Decode() argument
573 fail = (codedSize < 11); in RSAES_Decode()
575 for(ps = 2; ps < codedSize; ps++) in RSAES_Decode()
583 fail |= ((ps >= codedSize) || ((ps-2) < 8)); in RSAES_Decode()
584 if((*messageSize < codedSize - ps) || fail) in RSAES_Decode()
586 *messageSize = codedSize - ps; in RSAES_Decode()
587 memcpy(message, &coded[ps], codedSize - ps); in RSAES_Decode()
Dpart4.txt29500 509 UINT32 codedSize, // IN: the encoded message size
29512 516 fail = (codedSize < 11);
29514 518 for(ps = 2; ps < codedSize; ps++)
29523 527 fail |= ((ps >= codedSize) || ((ps-2) < 8));
29524 528 if((*messageSize < codedSize - ps) || fail)
29527 531 *messageSize = codedSize - ps;
29528 532 memcpy(message, &coded[ps], codedSize - ps);