mirror of
https://github.com/sheumann/65816-crypto.git
synced 2024-11-22 07:31:58 +00:00
12 lines
297 B
C
12 lines
297 B
C
struct sha1_context {
|
|
unsigned char reserved1[8];
|
|
unsigned long a,b,c,d,e;
|
|
unsigned char reserved2[12];
|
|
unsigned long h0,h1,h2,h3,h4;
|
|
unsigned char chunk[64];
|
|
unsigned char reserved3[300];
|
|
};
|
|
|
|
int sha1_init(struct sha1_context *context);
|
|
int sha1_processchunk(struct sha1_context *context);
|