GRAYBYTE WORDPRESS FILE MANAGER1246

Server IP : 198.54.121.189 / Your IP : 216.73.216.34
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/include/openssl/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/include/openssl//rand_drbg.h
/*
 * Copyright 2017-2018 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_DRBG_RAND_H
# define HEADER_DRBG_RAND_H

# include <time.h>
# include <openssl/ossl_typ.h>
# include <openssl/obj_mac.h>

/*
 * RAND_DRBG  flags
 *
 * Note: if new flags are added, the constant `rand_drbg_used_flags`
 *       in drbg_lib.c needs to be updated accordingly.
 */

/* In CTR mode, disable derivation function ctr_df */
# define RAND_DRBG_FLAG_CTR_NO_DF            0x1


# if OPENSSL_API_COMPAT < 0x10200000L
/* This #define was replaced by an internal constant and should not be used. */
#  define RAND_DRBG_USED_FLAGS  (RAND_DRBG_FLAG_CTR_NO_DF)
# endif

/*
 * Default security strength (in the sense of [NIST SP 800-90Ar1])
 *
 * NIST SP 800-90Ar1 supports the strength of the DRBG being smaller than that
 * of the cipher by collecting less entropy. The current DRBG implementation
 * does not take RAND_DRBG_STRENGTH into account and sets the strength of the
 * DRBG to that of the cipher.
 *
 * RAND_DRBG_STRENGTH is currently only used for the legacy RAND
 * implementation.
 *
 * Currently supported ciphers are: NID_aes_128_ctr, NID_aes_192_ctr and
 * NID_aes_256_ctr
 */
# define RAND_DRBG_STRENGTH             256
/* Default drbg type */
# define RAND_DRBG_TYPE                 NID_aes_256_ctr
/* Default drbg flags */
# define RAND_DRBG_FLAGS                0


# ifdef  __cplusplus
extern "C" {
# endif

/*
 * Object lifetime functions.
 */
RAND_DRBG *RAND_DRBG_new(int type, unsigned int flags, RAND_DRBG *parent);
RAND_DRBG *RAND_DRBG_secure_new(int type, unsigned int flags, RAND_DRBG *parent);
int RAND_DRBG_set(RAND_DRBG *drbg, int type, unsigned int flags);
int RAND_DRBG_set_defaults(int type, unsigned int flags);
int RAND_DRBG_instantiate(RAND_DRBG *drbg,
                          const unsigned char *pers, size_t perslen);
int RAND_DRBG_uninstantiate(RAND_DRBG *drbg);
void RAND_DRBG_free(RAND_DRBG *drbg);

/*
 * Object "use" functions.
 */
int RAND_DRBG_reseed(RAND_DRBG *drbg,
                     const unsigned char *adin, size_t adinlen,
                     int prediction_resistance);
int RAND_DRBG_generate(RAND_DRBG *drbg, unsigned char *out, size_t outlen,
                       int prediction_resistance,
                       const unsigned char *adin, size_t adinlen);
int RAND_DRBG_bytes(RAND_DRBG *drbg, unsigned char *out, size_t outlen);

int RAND_DRBG_set_reseed_interval(RAND_DRBG *drbg, unsigned int interval);
int RAND_DRBG_set_reseed_time_interval(RAND_DRBG *drbg, time_t interval);

int RAND_DRBG_set_reseed_defaults(
                                  unsigned int master_reseed_interval,
                                  unsigned int slave_reseed_interval,
                                  time_t master_reseed_time_interval,
                                  time_t slave_reseed_time_interval
                                  );

RAND_DRBG *RAND_DRBG_get0_master(void);
RAND_DRBG *RAND_DRBG_get0_public(void);
RAND_DRBG *RAND_DRBG_get0_private(void);

/*
 * EXDATA
 */
# define RAND_DRBG_get_ex_new_index(l, p, newf, dupf, freef) \
    CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DRBG, l, p, newf, dupf, freef)
int RAND_DRBG_set_ex_data(RAND_DRBG *drbg, int idx, void *arg);
void *RAND_DRBG_get_ex_data(const RAND_DRBG *drbg, int idx);

/*
 * Callback function typedefs
 */
typedef size_t (*RAND_DRBG_get_entropy_fn)(RAND_DRBG *drbg,
                                           unsigned char **pout,
                                           int entropy, size_t min_len,
                                           size_t max_len,
                                           int prediction_resistance);
typedef void (*RAND_DRBG_cleanup_entropy_fn)(RAND_DRBG *ctx,
                                             unsigned char *out, size_t outlen);
typedef size_t (*RAND_DRBG_get_nonce_fn)(RAND_DRBG *drbg, unsigned char **pout,
                                         int entropy, size_t min_len,
                                         size_t max_len);
typedef void (*RAND_DRBG_cleanup_nonce_fn)(RAND_DRBG *drbg,
                                           unsigned char *out, size_t outlen);

int RAND_DRBG_set_callbacks(RAND_DRBG *drbg,
                            RAND_DRBG_get_entropy_fn get_entropy,
                            RAND_DRBG_cleanup_entropy_fn cleanup_entropy,
                            RAND_DRBG_get_nonce_fn get_nonce,
                            RAND_DRBG_cleanup_nonce_fn cleanup_nonce);


# ifdef  __cplusplus
}
# endif

#endif

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 24 2025 08:30:34
root / root
0755
aes.h
3.271 KB
October 09 2024 13:38:54
root / root
0644
asn1.h
32.839 KB
October 09 2024 13:38:54
root / root
0644
asn1_mac.h
0.386 KB
October 09 2024 13:38:54
root / root
0644
asn1err.h
14.343 KB
October 09 2024 13:38:54
root / root
0644
asn1t.h
32.168 KB
October 09 2024 13:38:54
root / root
0644
async.h
2.342 KB
October 09 2024 13:38:54
root / root
0644
asyncerr.h
1.295 KB
October 09 2024 13:38:54
root / root
0644
bio.h
34.089 KB
October 09 2024 13:38:54
root / root
0644
bioerr.h
6.25 KB
October 09 2024 13:38:54
root / root
0644
blowfish.h
1.804 KB
October 09 2024 13:38:54
root / root
0644
bn.h
21.616 KB
October 09 2024 13:38:54
root / root
0644
bnerr.h
4.853 KB
October 09 2024 13:38:54
root / root
0644
buffer.h
1.563 KB
October 09 2024 13:38:54
root / root
0644
buffererr.h
0.801 KB
October 09 2024 13:38:54
root / root
0644
camellia.h
3.104 KB
October 09 2024 13:38:54
root / root
0644
cast.h
1.635 KB
October 09 2024 13:38:54
root / root
0644
cmac.h
1.039 KB
October 09 2024 13:38:54
root / root
0644
cms.h
15.995 KB
October 09 2024 13:38:54
root / root
0644
cmserr.h
10.898 KB
October 09 2024 13:38:54
root / root
0644
comp.h
1.297 KB
October 09 2024 13:38:54
root / root
0644
comperr.h
1.184 KB
October 09 2024 13:38:54
root / root
0644
conf.h
5.47 KB
October 09 2024 13:38:54
root / root
0644
conf_api.h
1.27 KB
October 09 2024 13:38:54
root / root
0644
conferr.h
3.349 KB
October 09 2024 13:38:54
root / root
0644
crypto.h
16.929 KB
October 09 2024 13:38:54
root / root
0644
cryptoerr.h
2.208 KB
October 09 2024 13:38:54
root / root
0644
ct.h
15.5 KB
October 09 2024 13:38:54
root / root
0644
cterr.h
3.389 KB
October 09 2024 13:38:54
root / root
0644
des.h
7.448 KB
October 09 2024 13:38:54
root / root
0644
dh.h
13.416 KB
October 09 2024 13:38:54
root / root
0644
dherr.h
4.312 KB
October 09 2024 13:38:54
root / root
0644
dsa.h
9.866 KB
October 09 2024 13:38:54
root / root
0644
dsaerr.h
3.271 KB
October 09 2024 13:38:54
root / root
0644
dtls1.h
1.541 KB
October 09 2024 13:38:54
root / root
0644
e_os2.h
8.679 KB
October 09 2024 13:38:54
root / root
0644
ebcdic.h
0.902 KB
October 09 2024 13:38:54
root / root
0644
ec.h
62.165 KB
October 09 2024 13:38:54
root / root
0644
ecdh.h
0.35 KB
October 09 2024 13:38:54
root / root
0644
ecdsa.h
0.35 KB
October 09 2024 13:38:54
root / root
0644
ecerr.h
16.25 KB
October 09 2024 13:38:54
root / root
0644
engine.h
33.849 KB
October 09 2024 13:38:54
root / root
0644
engineerr.h
5.319 KB
October 09 2024 13:38:54
root / root
0644
err.h
11.005 KB
October 09 2024 13:38:54
root / root
0644
evp.h
75.135 KB
October 09 2024 13:38:54
root / root
0644
evperr.h
11.79 KB
October 09 2024 13:38:54
root / root
0644
fips.h
9.741 KB
October 09 2024 13:38:54
root / root
0644
fips_rand.h
7.001 KB
October 09 2024 13:38:54
root / root
0644
hmac.h
1.554 KB
October 09 2024 13:38:54
root / root
0644
idea.h
2.05 KB
October 09 2024 13:38:54
root / root
0644
kdf.h
7.388 KB
October 09 2024 13:38:54
root / root
0644
kdferr.h
4.676 KB
October 09 2024 13:38:54
root / root
0644
lhash.h
9.054 KB
October 09 2024 13:38:54
root / root
0644
md2.h
1.029 KB
October 09 2024 13:38:54
root / root
0644
md4.h
1.291 KB
October 09 2024 13:38:54
root / root
0644
md5.h
1.289 KB
October 09 2024 13:38:54
root / root
0644
mdc2.h
1.028 KB
October 09 2024 13:38:54
root / root
0644
modes.h
10.232 KB
October 09 2024 13:38:54
root / root
0644
obj_mac.h
213.365 KB
October 09 2024 13:38:54
root / root
0644
objects.h
6.478 KB
October 09 2024 13:38:54
root / root
0644
objectserr.h
1.285 KB
October 09 2024 13:38:54
root / root
0644
ocsp.h
14.946 KB
October 09 2024 13:38:54
root / root
0644
ocsperr.h
3.277 KB
October 09 2024 13:38:54
root / root
0644
opensslconf-x86_64.h
4.783 KB
October 09 2024 13:39:34
root / root
0644
opensslconf.h
1.544 KB
October 09 2024 13:39:34
root / root
0644
opensslv.h
4.011 KB
October 09 2024 13:38:54
root / root
0644
ossl_typ.h
6.162 KB
October 09 2024 13:38:54
root / root
0644
pem.h
15.105 KB
October 09 2024 13:38:54
root / root
0644
pem2.h
0.405 KB
October 09 2024 13:38:54
root / root
0644
pemerr.h
5.1 KB
October 09 2024 13:38:54
root / root
0644
pkcs12.h
9.64 KB
October 09 2024 13:38:54
root / root
0644
pkcs12err.h
3.661 KB
October 09 2024 13:38:54
root / root
0644
pkcs7.h
11.318 KB
October 09 2024 13:38:54
root / root
0644
pkcs7err.h
4.99 KB
October 09 2024 13:38:54
root / root
0644
rand.h
2.303 KB
October 09 2024 13:38:54
root / root
0644
rand_drbg.h
4.651 KB
October 09 2024 13:38:54
root / root
0644
randerr.h
4.585 KB
October 09 2024 13:38:54
root / root
0644
rc2.h
1.498 KB
October 09 2024 13:38:54
root / root
0644
rc4.h
0.806 KB
October 09 2024 13:38:54
root / root
0644
rc5.h
1.941 KB
October 09 2024 13:38:54
root / root
0644
ripemd.h
1.214 KB
October 09 2024 13:38:54
root / root
0644
rsa.h
21.824 KB
October 09 2024 13:38:54
root / root
0644
rsaerr.h
9.589 KB
October 09 2024 13:38:54
root / root
0644
safestack.h
7.948 KB
October 09 2024 13:38:54
root / root
0644
seed.h
3.397 KB
October 09 2024 13:38:54
root / root
0644
sha.h
3.741 KB
October 09 2024 13:38:54
root / root
0644
srp.h
3.737 KB
October 09 2024 13:38:54
root / root
0644
srtp.h
1.285 KB
October 09 2024 13:38:54
root / root
0644
ssl.h
108.555 KB
October 09 2024 13:39:22
root / root
0644
ssl2.h
0.529 KB
October 09 2024 13:38:54
root / root
0644
ssl3.h
14.36 KB
October 09 2024 13:38:54
root / root
0644
sslerr.h
45.582 KB
October 09 2024 13:38:54
root / root
0644
stack.h
3.022 KB
October 09 2024 13:38:54
root / root
0644
store.h
10.937 KB
October 09 2024 13:38:54
root / root
0644
storeerr.h
4.296 KB
October 09 2024 13:38:54
root / root
0644
symhacks.h
1.28 KB
October 09 2024 13:38:54
root / root
0644
tls1.h
70.791 KB
October 09 2024 13:38:54
root / root
0644
ts.h
21.903 KB
October 09 2024 13:38:54
root / root
0644
tserr.h
6.588 KB
October 09 2024 13:38:54
root / root
0644
txt_db.h
1.627 KB
October 09 2024 13:38:54
root / root
0644
ui.h
15.676 KB
October 09 2024 13:38:54
root / root
0644
uierr.h
2.673 KB
October 09 2024 13:38:54
root / root
0644
whrlpool.h
1.345 KB
October 09 2024 13:38:54
root / root
0644
x509.h
42.311 KB
October 09 2024 13:38:54
root / root
0644
x509_vfy.h
31.69 KB
October 09 2024 13:38:54
root / root
0644
x509err.h
6.644 KB
October 09 2024 13:38:54
root / root
0644
x509v3.h
32.657 KB
October 09 2024 13:38:54
root / root
0644
x509v3err.h
8.571 KB
October 09 2024 13:38:54
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF