#include "includes.h"
#include "common.h"
#include "sha1.h"
#include "md5.h"
#include "crypto.h"
Include dependency graph for sha1.c:
Go to the source code of this file.
Functions | |
void | hmac_sha1_vector (const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) |
HMAC-SHA1 over data vector (RFC 2104). | |
void | hmac_sha1 (const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) |
HMAC-SHA1 over data buffer (RFC 2104). | |
void | 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) |
SHA1-based Pseudo-Random Function (PRF) (IEEE 802.11i, 8.5.1.1). | |
void | sha1_t_prf (const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) |
EAP-FAST Pseudo-Random Function (T-PRF). | |
int | tls_prf (const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) |
Pseudo-Random Function for TLS (TLS-PRF, RFC 2246). | |
void | pbkdf2_sha1 (const char *passphrase, const char *ssid, size_t ssid_len, int iterations, u8 *buf, size_t buflen) |
SHA1-based key derivation function (PBKDF2) for IEEE 802.11i. |
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
Definition in file sha1.c.
|
HMAC-SHA1 over data buffer (RFC 2104).
Definition at line 106 of file sha1.c. Here is the call graph for this function: |
|
HMAC-SHA1 over data vector (RFC 2104).
Definition at line 34 of file sha1.c. Here is the call graph for this function: |
|
SHA1-based key derivation function (PBKDF2) for IEEE 802.11i.
|
|
SHA1-based Pseudo-Random Function (PRF) (IEEE 802.11i, 8.5.1.1).
Definition at line 127 of file sha1.c. Here is the call graph for this function: |
|
EAP-FAST Pseudo-Random Function (T-PRF).
Definition at line 179 of file sha1.c. Here is the call graph for this function: |
|
Pseudo-Random Function for TLS (TLS-PRF, RFC 2246).
Definition at line 235 of file sha1.c. Here is the call graph for this function: |