aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/randerr.h
blob: 244fd0e4b42913fc4691a07a2a443dc40289a856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * Generated by util/mkerr.pl DO NOT EDIT
 * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the OpenSSL license (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

#ifndef HEADER_RANDERR_H
# define HEADER_RANDERR_H

# ifdef  __cplusplus
extern "C" {
# endif
int ERR_load_RAND_strings(void);
# ifdef  __cplusplus
}
# endif

/*
 * RAND function codes.
 */
# define RAND_F_RAND_BYTES                                100
# define RAND_F_RAND_LOAD_FILE                            101
# define RAND_F_RAND_WRITE_FILE                           102

/*
 * RAND reason codes.
 */
# define RAND_R_CANNOT_OPEN_FILE                          102
# define RAND_R_FUNC_NOT_IMPLEMENTED                      101
# define RAND_R_FWRITE_ERROR                              103
# define RAND_R_NOT_A_REGULAR_FILE                        104
# define RAND_R_PRNG_NOT_SEEDED                           100

#endif