Home | History | Annotate | Download | only in crypto
      1 /*
      2  * FIPS 186-2 PRF for libgcrypt
      3  * Copyright (c) 2004-2009, Jouni Malinen <j (at) w1.fi>
      4  *
      5  * This program is free software; you can redistribute it and/or modify
      6  * it under the terms of the GNU General Public License version 2 as
      7  * published by the Free Software Foundation.
      8  *
      9  * Alternatively, this software may be distributed under the terms of BSD
     10  * license.
     11  *
     12  * See README and COPYING for more details.
     13  */
     14 
     15 #include "includes.h"
     16 #include <gcrypt.h>
     17 
     18 #include "common.h"
     19 #include "crypto.h"
     20 
     21 
     22 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen)
     23 {
     24 	/* FIX: how to do this with libgcrypt? */
     25 	return -1;
     26 }
     27