]>
git.ipfire.org Git - thirdparty/hostap.git/blob - src/crypto/sha256_i.h
2 * SHA-256 internal definitions
3 * Copyright (c) 2003-2011, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
12 #define SHA256_BLOCK_SIZE 64
17 u8 buf
[SHA256_BLOCK_SIZE
];
20 void sha256_init(struct sha256_state
*md
);
21 int sha256_process(struct sha256_state
*md
, const unsigned char *in
,
23 int sha256_done(struct sha256_state
*md
, unsigned char *out
);
25 #endif /* SHA256_I_H */