2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
10 #ifndef HEADER_RAND_LCL_H
11 # define HEADER_RAND_LCL_H
13 /* we require 256 bits of randomness */
14 # define RANDOMNESS_NEEDED (256 / 8)
16 # include <openssl/evp.h>
17 # include <openssl/sha.h>
19 # define RAND_DIGEST EVP_sha1()
20 # define RAND_DIGEST_LENGTH SHA_DIGEST_LENGTH
22 extern RAND_METHOD openssl_rand_meth;