/
usr
/
include
/
openssl
/
/usr/include/openssl
mkdir
upload
Name
Size
Mode
Actions
aes.h
3349
0644
edit
dl
rm
asn1.h
33627
0644
edit
dl
rm
asn1err.h
14687
0644
edit
dl
rm
asn1t.h
32940
0644
edit
dl
rm
asn1_mac.h
395
0644
edit
dl
rm
async.h
2398
0644
edit
dl
rm
asyncerr.h
1326
0644
edit
dl
rm
bio.h
34907
0644
edit
dl
rm
bioerr.h
6400
0644
edit
dl
rm
blowfish.h
1847
0644
edit
dl
rm
bn.h
22135
0644
edit
dl
rm
bnerr.h
4969
0644
edit
dl
rm
buffer.h
1600
0644
edit
dl
rm
buffererr.h
820
0644
edit
dl
rm
camellia.h
3179
0644
edit
dl
rm
cast.h
1674
0644
edit
dl
rm
cmac.h
1064
0644
edit
dl
rm
cms.h
16379
0644
edit
dl
rm
cmserr.h
11160
0644
edit
dl
rm
comp.h
1328
0644
edit
dl
rm
comperr.h
1212
0644
edit
dl
rm
conf.h
5601
0644
edit
dl
rm
conferr.h
3429
0644
edit
dl
rm
conf_api.h
1300
0644
edit
dl
rm
crypto.h
17335
0644
edit
dl
rm
cryptoerr.h
2261
0644
edit
dl
rm
ct.h
15872
0644
edit
dl
rm
cterr.h
3470
0644
edit
dl
rm
des.h
7627
0644
edit
dl
rm
dh.h
13738
0644
edit
dl
rm
dherr.h
4415
0644
edit
dl
rm
dsa.h
10103
0644
edit
dl
rm
dsaerr.h
3350
0644
edit
dl
rm
dtls1.h
1578
0644
edit
dl
rm
ebcdic.h
924
0644
edit
dl
rm
ec.h
63657
0644
edit
dl
rm
ecdh.h
358
0644
edit
dl
rm
ecdsa.h
358
0644
edit
dl
rm
ecerr.h
16640
0644
edit
dl
rm
engine.h
34661
0644
edit
dl
rm
engineerr.h
5447
0644
edit
dl
rm
err.h
11269
0644
edit
dl
rm
evp.h
76938
0644
edit
dl
rm
evperr.h
12073
0644
edit
dl
rm
e_os2.h
8887
0644
edit
dl
rm
fips.h
9975
0644
edit
dl
rm
fips_rand.h
7169
0644
edit
dl
rm
hmac.h
1591
0644
edit
dl
rm
idea.h
2099
0644
edit
dl
rm
kdf.h
7565
0644
edit
dl
rm
kdferr.h
4788
0644
edit
dl
rm
lhash.h
9271
0644
edit
dl
rm
md2.h
1054
0644
edit
dl
rm
md4.h
1322
0644
edit
dl
rm
md5.h
1320
0644
edit
dl
rm
mdc2.h
1053
0644
edit
dl
rm
modes.h
10478
0644
edit
dl
rm
objects.h
6633
0644
edit
dl
rm
objectserr.h
1316
0644
edit
dl
rm
obj_mac.h
218486
0644
edit
dl
rm
ocsp.h
15305
0644
edit
dl
rm
ocsperr.h
3356
0644
edit
dl
rm
opensslconf-x86_64.h
4898
0644
edit
dl
rm
opensslconf.h
1581
0644
edit
dl
rm
opensslv.h
4107
0644
edit
dl
rm
ossl_typ.h
6310
0644
edit
dl
rm
pem.h
15468
0644
edit
dl
rm
pem2.h
415
0644
edit
dl
rm
pemerr.h
5222
0644
edit
dl
rm
pkcs7.h
11590
0644
edit
dl
rm
pkcs7err.h
5110
0644
edit
dl
rm
pkcs12.h
9871
0644
edit
dl
rm
pkcs12err.h
3749
0644
edit
dl
rm
rand.h
2358
0644
edit
dl
rm
randerr.h
4695
0644
edit
dl
rm
rand_drbg.h
4763
0644
edit
dl
rm
rc2.h
1534
0644
edit
dl
rm
rc4.h
825
0644
edit
dl
rm
rc5.h
1988
0644
edit
dl
rm
ripemd.h
1243
0644
edit
dl
rm
rsa.h
22348
0644
edit
dl
rm
rsaerr.h
9819
0644
edit
dl
rm
safestack.h
8139
0644
edit
dl
rm
seed.h
3479
0644
edit
dl
rm
sha.h
3831
0644
edit
dl
rm
srp.h
3827
0644
edit
dl
rm
srtp.h
1316
0644
edit
dl
rm
ssl.h
111160
0644
edit
dl
rm
ssl2.h
542
0644
edit
dl
rm
ssl3.h
14705
0644
edit
dl
rm
sslerr.h
46676
0644
edit
dl
rm
stack.h
3095
0644
edit
dl
rm
store.h
11199
0644
edit
dl
rm
storeerr.h
4399
0644
edit
dl
rm
symhacks.h
1311
0644
edit
dl
rm
tls1.h
72490
0644
edit
dl
rm
ts.h
22429
0644
edit
dl
rm
tserr.h
6746
0644
edit
dl
rm
txt_db.h
1666
0644
edit
dl
rm
ui.h
16052
0644
edit
dl
rm
uierr.h
2737
0644
edit
dl
rm
whrlpool.h
1377
0644
edit
dl
rm
x509.h
43326
0644
edit
dl
rm
x509err.h
6803
0644
edit
dl
rm
x509v3.h
33441
0644
edit
dl
rm
x509v3err.h
8777
0644
edit
dl
rm
x509_vfy.h
32451
0644
edit
dl
rm
Edit:
/usr/include/openssl/fips_rand.h
(7169B)
/* ==================================================================== * Copyright (c) 2003 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. All advertising materials mentioning features or use of this * software must display the following acknowledgment: * "This product includes software developed by the OpenSSL Project * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" * * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to * endorse or promote products derived from this software without * prior written permission. For written permission, please contact * openssl-core@openssl.org. * * 5. Products derived from this software may not be called "OpenSSL" * nor may "OpenSSL" appear in their names without prior written * permission of the OpenSSL Project. * * 6. Redistributions of any form whatsoever must retain the following * acknowledgment: * "This product includes software developed by the OpenSSL Project * for use in the OpenSSL Toolkit (http://www.openssl.org/)" * * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. * */ #ifndef HEADER_FIPS_RAND_H # define HEADER_FIPS_RAND_H # include <openssl/aes.h> # include <openssl/evp.h> # include <openssl/hmac.h> # include <openssl/rand.h> # ifdef OPENSSL_FIPS # ifdef __cplusplus extern "C" { # endif /* * IMPORTANT NOTE: * All functions in this header file are deprecated and should not be used * as they use the old FIPS_drbg implementation that is not FIPS validated * anymore. * To provide backwards compatibility for applications that need FIPS compliant * RNG number generation and use FIPS_drbg_generate, this function was * re-wired to call the FIPS validated DRBG instance instead through * the RAND_bytes() call. * * All these functions will be removed in future. */ typedef struct drbg_ctx_st DRBG_CTX; /* DRBG external flags */ /* Flag for CTR mode only: use derivation function ctr_df */ # define DRBG_FLAG_CTR_USE_DF 0x1 /* PRNG is in test state */ # define DRBG_FLAG_TEST 0x2 DRBG_CTX *FIPS_drbg_new(int type, unsigned int flags); int FIPS_drbg_init(DRBG_CTX *dctx, int type, unsigned int flags); int FIPS_drbg_instantiate(DRBG_CTX *dctx, const unsigned char *pers, size_t perslen); int FIPS_drbg_reseed(DRBG_CTX *dctx, const unsigned char *adin, size_t adinlen); int FIPS_drbg_generate(DRBG_CTX *dctx, unsigned char *out, size_t outlen, int prediction_resistance, const unsigned char *adin, size_t adinlen); int FIPS_drbg_uninstantiate(DRBG_CTX *dctx); void FIPS_drbg_free(DRBG_CTX *dctx); int FIPS_drbg_set_callbacks(DRBG_CTX *dctx, size_t (*get_entropy) (DRBG_CTX *ctx, unsigned char **pout, int entropy, size_t min_len, size_t max_len), void (*cleanup_entropy) (DRBG_CTX *ctx, unsigned char *out, size_t olen), size_t entropy_blocklen, size_t (*get_nonce) (DRBG_CTX *ctx, unsigned char **pout, int entropy, size_t min_len, size_t max_len), void (*cleanup_nonce) (DRBG_CTX *ctx, unsigned char *out, size_t olen)); int FIPS_drbg_set_rand_callbacks(DRBG_CTX *dctx, size_t (*get_adin) (DRBG_CTX *ctx, unsigned char **pout), void (*cleanup_adin) (DRBG_CTX *ctx, unsigned char *out, size_t olen), int (*rand_seed_cb) (DRBG_CTX *ctx, const void *buf, int num), int (*rand_add_cb) (DRBG_CTX *ctx, const void *buf, int num, double entropy)); void *FIPS_drbg_get_app_data(DRBG_CTX *ctx); void FIPS_drbg_set_app_data(DRBG_CTX *ctx, void *app_data); size_t FIPS_drbg_get_blocklength(DRBG_CTX *dctx); int FIPS_drbg_get_strength(DRBG_CTX *dctx); void FIPS_drbg_set_check_interval(DRBG_CTX *dctx, int interval); void FIPS_drbg_set_reseed_interval(DRBG_CTX *dctx, int interval); int FIPS_drbg_health_check(DRBG_CTX *dctx); DRBG_CTX *FIPS_get_default_drbg(void); const RAND_METHOD *FIPS_drbg_method(void); int FIPS_rand_set_method(const RAND_METHOD *meth); const RAND_METHOD *FIPS_rand_get_method(void); void FIPS_rand_set_bits(int nbits); int FIPS_rand_strength(void); /* 1.0.0 compat functions */ int FIPS_rand_seed(const void *buf, int num); int FIPS_rand_bytes(unsigned char *out, int outlen); void FIPS_rand_reset(void); int FIPS_rand_status(void); # ifdef __cplusplus } # endif # endif #endif
Save
cmd:
run