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 232... |
Line 232... |
# define UNALIGNED_P(p) (((md5_uintptr) p) % sizeof (md5_uint32) != 0)
|
# define UNALIGNED_P(p) (((md5_uintptr) p) % sizeof (md5_uint32) != 0)
|
# endif
|
# endif
|
if (UNALIGNED_P (buffer))
|
if (UNALIGNED_P (buffer))
|
while (len > 64)
|
while (len > 64)
|
{
|
{
|
md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx);
|
memcpy (ctx->buffer, buffer, 64);
|
|
md5_process_block (ctx->buffer, 64, ctx);
|
buffer = (const char *) buffer + 64;
|
buffer = (const char *) buffer + 64;
|
len -= 64;
|
len -= 64;
|
}
|
}
|
else
|
else
|
#endif
|
#endif
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.