In message <014e01c2a1b6$7864b1a0$0591cf0a@shng> on Thu, 12 Dec 2002 16:14:03 +0800, "Ng Siak Hooi" <[EMAIL PROTECTED]> said:
shng> Hi, shng> I am using openssl-0.9.6h on Linux shng> I put a extra followingline at line 79 of file crypto/des/ncbc_enc.c shng> file: shng> printf("length=%ld\n", length); shng> shng> just to check how the size of data come in. shng> I tried on a file with 14392 bytes. shng> shng> for encrypt, the size coming are: shng> 4096, 4096, 4096, 2104, 8 shng> shng> but for decrypt, the size coming are: shng> 4088, 8, 4088, 8, 4088, 8, 2104, 8 shng> shng> why it is so big different? This depends entirely on the caller, so to unravel this, you need to look at who's calling the function in question in ncbc_enc.c, possibly several call frames above... -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 \ SWEDEN \ or +46-708-26 53 44 Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Unsolicited commercial email is subject to an archival fee of $400. See <http://www.stacken.kth.se/~levitte/mail/> for more info. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]