mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
put state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment
Originally committed as revision 8379 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5fd7f87b8d
commit
2001304500
@ -6,9 +6,9 @@
|
||||
#include "sha1.h"
|
||||
|
||||
typedef struct AVSHA1 {
|
||||
uint32_t state[5];
|
||||
uint64_t count;
|
||||
uint8_t buffer[64];
|
||||
uint32_t state[5];
|
||||
} AVSHA1;
|
||||
|
||||
#define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))
|
||||
|
Loading…
Reference in New Issue
Block a user