source: bootcd/isolinux/syslinux-6.03/com32/libutil/include/sha1.h @ dd1be7c

Last change on this file since dd1be7c was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 472 bytes
Line 
1#ifndef LIBUTIL_SHA1_H
2#define LIBUTIL_SHA1_H
3
4#include <stdint.h>
5
6typedef struct {
7    uint32_t state[5];
8    uint32_t count[2];
9    unsigned char buffer[64];
10} SHA1_CTX;
11
12void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]);
13void SHA1Init(SHA1_CTX * context);
14void SHA1Update(SHA1_CTX * context, const unsigned char *data, uint32_t len);   /*
15                                                                                   JHB */
16void SHA1Final(unsigned char digest[20], SHA1_CTX * context);
17
18#endif /* LIBUTIL_SHA1_H */
Note: See TracBrowser for help on using the repository browser.