mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-17 09:38:55 +00:00
17 lines
436 B
C
17 lines
436 B
C
/*
|
|
* SHA1 hash implementation and interface functions
|
|
* Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef SHA1_I_H
|
|
#define SHA1_I_H
|
|
|
|
#define SHA1_MAC_LEN 20
|
|
|
|
int sha1_prf(const u8 *key, size_t key_len, const char *label,
|
|
const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
|
#endif /* SHA1_I_H */
|