Title: MDC2 block size

Hi folks,

(I am not subscribed to the list, so please reply directly)

I am trying to use openssl on Solaris to checksum files coming from an IBM mainframe.  The only function that exists on both platforms is the MDC2 checksum.

I have noticed a couple of discrepancies between mainframe support for MDC2 and OpenSSL's support:

* Mainframe supports MDC2 with various keys (The documentation notes that the default key is the same as the one used by OpenSSL) - Openssl has a single key hardcoded.

* The Mainframe MDC2 blocksize is 16, OpenSSL's blocksize is 8 bytes.

Does anyone know of a definitive standard that documents the MDC2 checksum algorithm, and the associated conventions i.e. block size, etc?

I have searched the Web, and been unable to find anything.

If I want to change the MDC2 blocksize, should I do it only in my local copy, or should I contrib a patch to the original source?

Thanks for your help.

Rogan
(using a colleagues mailbox)

Reply via email to