2009-12-20 18:14:20 +02:00
|
|
|
/*
|
|
|
|
* FIPS 186-2 PRF for Microsoft CryptoAPI
|
|
|
|
* Copyright (c) 2009, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
2012-02-11 16:46:35 +02:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2009-12-20 18:14:20 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "includes.h"
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
#include "crypto.h"
|
|
|
|
|
|
|
|
|
|
|
|
int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen)
|
|
|
|
{
|
|
|
|
/* FIX: how to do this with CryptoAPI? */
|
|
|
|
return -1;
|
|
|
|
}
|