]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/openssl/randerr.h
244fd0e4b42913fc4691a07a2a443dc40289a856
[thirdparty/openssl.git] / include / openssl / randerr.h
1 /*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
4 *
5 * Licensed under the OpenSSL license (the "License"). You may not use
6 * this file except in compliance with the License. You can obtain a copy
7 * in the file LICENSE in the source distribution or at
8 * https://www.openssl.org/source/license.html
9 */
10
11 #ifndef HEADER_RANDERR_H
12 # define HEADER_RANDERR_H
13
14 # ifdef __cplusplus
15 extern "C" {
16 # endif
17 int ERR_load_RAND_strings(void);
18 # ifdef __cplusplus
19 }
20 # endif
21
22 /*
23 * RAND function codes.
24 */
25 # define RAND_F_RAND_BYTES 100
26 # define RAND_F_RAND_LOAD_FILE 101
27 # define RAND_F_RAND_WRITE_FILE 102
28
29 /*
30 * RAND reason codes.
31 */
32 # define RAND_R_CANNOT_OPEN_FILE 102
33 # define RAND_R_FUNC_NOT_IMPLEMENTED 101
34 # define RAND_R_FWRITE_ERROR 103
35 # define RAND_R_NOT_A_REGULAR_FILE 104
36 # define RAND_R_PRNG_NOT_SEEDED 100
37
38 #endif