$search

fips_prf_nss.c File Reference

#include "includes.h"
#include <openssl/sha.h>
#include "common.h"
#include "crypto.h"
Include dependency graph for fips_prf_nss.c:

Go to the source code of this file.

Functions

int fips186_2_prf (const u8 *seed, size_t seed_len, u8 *x, size_t xlen)

Function Documentation

int fips186_2_prf ( const u8 seed,
size_t  seed_len,
u8 x,
size_t  xlen 
)

fips186_2-prf - NIST FIPS Publication 186-2 change notice 1 PRF : Seed/key for the PRF : Seed length in bytes : Buffer for PRF output : Output length in bytes Returns: 0 on success, -1 on failure

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.

Definition at line 22 of file fips_prf_nss.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Mar 1 16:00:22 2013