|
wpa_supplicant / hostapd
2.5
|
FIPS 186-2 PRF for libcrypto. More...
Functions | |
| int | fips186_2_prf (const u8 *seed, size_t seed_len, u8 *x, size_t xlen) |
| NIST FIPS Publication 186-2 change notice 1 PRF. More... | |
FIPS 186-2 PRF for libcrypto.
| int fips186_2_prf | ( | const u8 * | seed, |
| size_t | seed_len, | ||
| u8 * | x, | ||
| size_t | xlen | ||
| ) |
NIST FIPS Publication 186-2 change notice 1 PRF.
| seed | Seed/key for the PRF |
| seed_len | Seed length in bytes |
| x | Buffer for PRF output |
| xlen | Output length in bytes |
This function implements random number generation specified in NIST FIPS Publication 186-2 for EAP-SIM. This PRF uses a function that is similar to SHA-1, but has different message padding.
1.8.6