nettle: Compatibility functions

1 
1 6.11 Compatibility functions
1 ============================
1 
1 For convenience, Nettle includes alternative interfaces to some
1 algorithms, for compatibility with some other popular crypto toolkits.
1 These are not fully documented here; refer to the source or to the
1 documentation for the original implementation.
1 
1    MD5 is defined in [RFC 1321], which includes a reference
1 implementation.  Nettle defines a compatible interface to MD5 in
1 ‘<nettle/md5-compat.h>’.  This file defines the typedef ‘MD5_CTX’, and
1 declares the functions ‘MD5Init’, ‘MD5Update’ and ‘MD5Final’.
1 
1    Eric Young’s “libdes” (also part of OpenSSL) is a quite popular DES
1 implementation.  Nettle includes a subset if its interface in
1 ‘<nettle/des-compat.h>’.  This file defines the typedefs
1 ‘des_key_schedule’ and ‘des_cblock’, two constants ‘DES_ENCRYPT’ and
1 ‘DES_DECRYPT’, and declares one global variable ‘des_check_key’, and the
1 functions ‘des_cbc_cksum’ ‘des_cbc_encrypt’, ‘des_ecb2_encrypt’,
1 ‘des_ecb3_encrypt’, ‘des_ecb_encrypt’, ‘des_ede2_cbc_encrypt’,
1 ‘des_ede3_cbc_encrypt’, ‘des_is_weak_key’, ‘des_key_sched’,
1 ‘des_ncbc_encrypt’ ‘des_set_key’, and ‘des_set_odd_parity’.
1