source: wpa_supplicant/vendor/current/src/crypto/sha1_i.h@ 793

Last change on this file since 793 was 793, checked in by andi.b@gmx.net, 11 years ago

wpa_supplicant: initial import of wpa_supplicant2.2

  • Property svn:eol-style set to native
File size: 590 bytes
Line 
1/*
2 * SHA1 internal definitions
3 * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef SHA1_I_H
10#define SHA1_I_H
11
12struct SHA1Context {
13 u32 state[5];
14 u32 count[2];
15 unsigned char buffer[64];
16};
17
18void SHA1Init(struct SHA1Context *context);
19void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
20void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
21void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
22
23#endif /* SHA1_I_H */
Note: See TracBrowser for help on using the repository browser.