[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Sample/reference code of RFCs


I need help with sample code from RFCs.

It's about the package `masqmail'. The upstream release includes an
MD5 implementation (in src/md5). This MD5 code is the reference
implementation code from RFC 1321 and RFC 2104.

These three files
- global.h
- md5c.c  (some parts removed)
- md5.h
were taken from RFC 1321.

The file
- hmac_md5.c
was taken from RFC 2104.

The files are from somewhere else:
- hmac_md5.h  (is trivial)
- hmactest.c  (possibly from masqmail's former upstream author)

The sources from RFC 1321 include the following copyright notice:

/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
rights reserved.

License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this software
or this function.

License is also granted to make and use derivative works provided
that such works are identified as "derived from the RSA Data
Security, Inc. MD5 Message-Digest Algorithm" in all material
mentioning or referencing the derived work.

RSA Data Security, Inc. makes no representations concerning either
the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.

These notices must be retained in any copies of any part of this
documentation and/or software.

    Can I include such software?

But no matter if, I plan to replace this code with the public domain
implementation from
anyways. Thus an answer to this question is not important.

But the code from RFC 2104 shows no copyright information at all. See
(In the Appendix, page 8 and 9.)

    Can I include this code in Debian?

This question is important, because I couldn't find a public domain
implementation of this function.

Hope you can help me.


I'm off-list, please CC me.

Reply to: