OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros
rand_lcl.h File Reference
#include <openssl/evp.h>
#include <openssl/sha.h>

Go to the source code of this file.

Macros

#define ENTROPY_NEEDED   32 /* require 256 bits = 32 bytes of randomness */
 
#define USE_SHA1_RAND
 
#define MD_Update(a, b, c)   EVP_DigestUpdate(a,b,c)
 
#define MD_Final(a, b)   EVP_DigestFinal_ex(a,b,NULL)
 
#define MD_DIGEST_LENGTH   SHA_DIGEST_LENGTH
 
#define MD_Init(a)   EVP_DigestInit_ex(a,EVP_sha1(), NULL)
 
#define MD(a, b, c)   EVP_Digest(a,b,c,NULL,EVP_sha1(), NULL)
 

Macro Definition Documentation

#define ENTROPY_NEEDED   32 /* require 256 bits = 32 bytes of randomness */

Definition at line 115 of file rand_lcl.h.

#define MD (   a,
  b,
  c 
)    EVP_Digest(a,b,c,NULL,EVP_sha1(), NULL)

Definition at line 144 of file rand_lcl.h.

#define MD_DIGEST_LENGTH   SHA_DIGEST_LENGTH

Definition at line 142 of file rand_lcl.h.

#define MD_Final (   a,
  b 
)    EVP_DigestFinal_ex(a,b,NULL)

Definition at line 134 of file rand_lcl.h.

#define MD_Init (   a)    EVP_DigestInit_ex(a,EVP_sha1(), NULL)

Definition at line 143 of file rand_lcl.h.

#define MD_Update (   a,
  b,
  c 
)    EVP_DigestUpdate(a,b,c)

Definition at line 133 of file rand_lcl.h.

#define USE_SHA1_RAND

Definition at line 120 of file rand_lcl.h.