fips_prf_nss.c 584 B

12345678910111213141516171819202122232425
  1. /*
  2. * FIPS 186-2 PRF for NSS
  3. * Copyright (c) 2009, Jouni Malinen <j@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. #include "includes.h"
  15. #include <openssl/sha.h>
  16. #include "common.h"
  17. #include "crypto.h"
  18. int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen)
  19. {
  20. return -1;
  21. }