URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 157 |
Rev 225 |
Line 70... |
Line 70... |
/* We have to make a guess about the integer type equivalent in size
|
/* We have to make a guess about the integer type equivalent in size
|
to pointers which should always be correct. */
|
to pointers which should always be correct. */
|
typedef unsigned long int md5_uintptr;
|
typedef unsigned long int md5_uintptr;
|
#endif
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
/* Structure to save state of computation between the single steps. */
|
/* Structure to save state of computation between the single steps. */
|
struct md5_ctx
|
struct md5_ctx
|
{
|
{
|
md5_uint32 A;
|
md5_uint32 A;
|
md5_uint32 B;
|
md5_uint32 B;
|
Line 136... |
Line 140... |
result is always in little endian byte order, so that a byte-wise
|
result is always in little endian byte order, so that a byte-wise
|
output yields to the wanted ASCII representation of the message
|
output yields to the wanted ASCII representation of the message
|
digest. */
|
digest. */
|
extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
|
extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
#endif
|
#endif
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.