Merged from 4.5.0-beta3a

This commit is contained in:
Joel Sherrill
2000-06-12 15:00:15 +00:00
parent 0ab6547431
commit df49c60c96
2120 changed files with 123526 additions and 13179 deletions

View File

@@ -21,10 +21,26 @@
#include "system.h"
#define MESSAGE_SIZE (sizeof(long) * 4)
void Fill_buffer(
char *source,
long *buffer
)
{
char *p;
int i;
/*
memcpy( buffer, source, 16 );
*/
p = source;
for ( i=0 ; i<MESSAGE_SIZE ; i++ ) {
buffer[i] = *p++;
buffer[i] <<= 8;
buffer[i] |= *p++;
buffer[i] <<= 8;
buffer[i] |= *p++;
buffer[i] <<= 8;
buffer[i] |= *p++;
}
}