This library contains functions that compute the SHA-1 hash and MD4 hash of a byte array.
For detailed information on the DS80C400 please see the High-Speed Microcontroller User's Guide: DS80C400 Supplement.
Go to the source code of this file.
Defines | |
| #define | TINI400_CRYPT_VERSION 3 |
Functions | |
| unsigned int | crypt_version (void) |
| Returns the version number of this CRYPT library. | |
| void | crypt_sha1 (short inLength, void *inBuff, void *outBuff) |
| Computes a SHA-1 hash on the given message. | |
| void | crypt_md4 (unsigned char *out, unsigned char *in, int n) |
| Computes a MD4 hash on the given message. | |
|
|
Version number associated with this header file. Should be the same as the version number returned by the crypt_version function.
|
|
||||||||||||||||
|
Computes a MD4 hash on the given message. See RFC 1320 for more information. WARNING! MD4 has known cryptographic weaknesses. Where possible, SHA-1 should be used instead.
|
|
||||||||||||||||
|
Computes a SHA-1 hash on the given message. See FIPS 180-1 for more information on SHA-1.
|
|
|
Returns the version number of this CRYPT library.
|
| Copyright 2005 Dallas Semiconductor, Inc.. | Documentation generated by Doxygen. |