|
wpa_supplicant / hostapd 2.0
|
WPA Supplicant / Empty template functions for crypto wrapper. More...
Functions | |
| int | md4_vector (size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) |
| MD4 hash for data vector. | |
| void | des_encrypt (const u8 *clear, const u8 *key, u8 *cypher) |
| Encrypt one block with DES. | |
WPA Supplicant / Empty template functions for crypto wrapper.
This software may be distributed under the terms of the BSD license. See README for more details.
| void des_encrypt | ( | const u8 * | clear, |
| const u8 * | key, | ||
| u8 * | cypher | ||
| ) |
Encrypt one block with DES.
| clear | 8 octets (in) |
| key | 7 octets (in) (no parity bits included) |
| cypher | 8 octets (out) |
| int md4_vector | ( | size_t | num_elem, |
| const u8 * | addr[], | ||
| const size_t * | len, | ||
| u8 * | mac | ||
| ) |
MD4 hash for data vector.
| num_elem | Number of elements in the data vector |
| addr | Pointers to the data areas |
| len | Lengths of the data blocks |
| mac | Buffer for the hash |
1.7.3