Deleted Added
full compact
rand_lcl.h (302408) rand_lcl.h (340704)
1/* crypto/rand/rand_lcl.h */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 42 unchanged lines hidden (view full) ---

51 * SUCH DAMAGE.
52 *
53 * The licence and distribution terms for any publically available version or
54 * derivative of this code cannot be changed. i.e. this code cannot simply be
55 * copied and put under another distribution licence
56 * [including the GNU Public Licence.]
57 */
58/* ====================================================================
1/* crypto/rand/rand_lcl.h */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 42 unchanged lines hidden (view full) ---

51 * SUCH DAMAGE.
52 *
53 * The licence and distribution terms for any publically available version or
54 * derivative of this code cannot be changed. i.e. this code cannot simply be
55 * copied and put under another distribution licence
56 * [including the GNU Public Licence.]
57 */
58/* ====================================================================
59 * Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved.
59 * Copyright (c) 1998-2018 The OpenSSL Project. All rights reserved.
60 *
61 * Redistribution and use in source and binary forms, with or without
62 * modification, are permitted provided that the following conditions
63 * are met:
64 *
65 * 1. Redistributions of source code must retain the above copyright
66 * notice, this list of conditions and the following disclaimer.
67 *

--- 81 unchanged lines hidden (view full) ---

149# elif defined(USE_MD2_RAND)
150# include <openssl/md2.h>
151# define MD_DIGEST_LENGTH MD2_DIGEST_LENGTH
152# define MD_Init(a) EVP_DigestInit_ex(a,EVP_md2(), NULL)
153# define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_md2(), NULL)
154# endif
155
156int ssleay_rand_bytes(unsigned char *buf, int num, int pseudo, int lock);
60 *
61 * Redistribution and use in source and binary forms, with or without
62 * modification, are permitted provided that the following conditions
63 * are met:
64 *
65 * 1. Redistributions of source code must retain the above copyright
66 * notice, this list of conditions and the following disclaimer.
67 *

--- 81 unchanged lines hidden (view full) ---

149# elif defined(USE_MD2_RAND)
150# include <openssl/md2.h>
151# define MD_DIGEST_LENGTH MD2_DIGEST_LENGTH
152# define MD_Init(a) EVP_DigestInit_ex(a,EVP_md2(), NULL)
153# define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_md2(), NULL)
154# endif
155
156int ssleay_rand_bytes(unsigned char *buf, int num, int pseudo, int lock);
157
157int ssleay_rand_bytes_from_system(unsigned char *buf, int num);
158#endif
158#endif