Lines Matching refs:messageSize
342 UINT32 messageSize, // IN: the message size in OaepEncode() argument
371 if(messageSize > paddedSize - 2 * hLen - 2) in OaepEncode()
378 padLen = paddedSize - messageSize - (2 * hLen) - 2; in OaepEncode()
382 memcpy(&pp[hLen+padLen], message, messageSize); in OaepEncode()
384 dbSize = hLen+padLen+messageSize; in OaepEncode()
530 UINT32 messageSize, // IN: the message size in RSAES_PKSC1v1_5Encode() argument
534 UINT32 ps = paddedSize - messageSize - 3; in RSAES_PKSC1v1_5Encode()
535 if(messageSize > paddedSize - 11) in RSAES_PKSC1v1_5Encode()
538 memcpy(&padded[paddedSize - messageSize], message, messageSize); in RSAES_PKSC1v1_5Encode()
570 UINT32 *messageSize, // IN/OUT: recovered message size in RSAES_Decode() argument
589 if((*messageSize < codedSize - ps) || fail) in RSAES_Decode()
591 *messageSize = codedSize - ps; in RSAES_Decode()