GRAYBYTE WORDPRESS FILE MANAGER2826

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
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//kdf.h
/*
 * Copyright 2016-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_KDF_H
# define HEADER_KDF_H

# include <openssl/ossl_typ.h>
# include <openssl/kdferr.h>
# ifdef __cplusplus
extern "C" {
# endif

# define EVP_KDF_PBKDF2     NID_id_pbkdf2
# define EVP_KDF_SCRYPT     NID_id_scrypt
# define EVP_KDF_TLS1_PRF   NID_tls1_prf
# define EVP_KDF_HKDF       NID_hkdf
# define EVP_KDF_SSHKDF     NID_sshkdf
# define EVP_KDF_KB         NID_kbkdf
# define EVP_KDF_KRB5KDF    NID_krb5kdf
# define EVP_KDF_SS         NID_sskdf

EVP_KDF_CTX *EVP_KDF_CTX_new_id(int id);
void EVP_KDF_CTX_free(EVP_KDF_CTX *ctx);

void EVP_KDF_reset(EVP_KDF_CTX *ctx);
int EVP_KDF_ctrl(EVP_KDF_CTX *ctx, int cmd, ...);
int EVP_KDF_vctrl(EVP_KDF_CTX *ctx, int cmd, va_list args);
int EVP_KDF_ctrl_str(EVP_KDF_CTX *ctx, const char *type, const char *value);
size_t EVP_KDF_size(EVP_KDF_CTX *ctx);
int EVP_KDF_derive(EVP_KDF_CTX *ctx, unsigned char *key, size_t keylen);


# define EVP_KDF_CTRL_SET_PASS          0x01 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_SET_SALT          0x02 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_SET_ITER          0x03 /* int */
# define EVP_KDF_CTRL_SET_MD            0x04 /* EVP_MD * */
# define EVP_KDF_CTRL_SET_KEY           0x05 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_SET_MAXMEM_BYTES  0x06 /* uint64_t */
# define EVP_KDF_CTRL_SET_TLS_SECRET    0x07 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_RESET_TLS_SEED    0x08
# define EVP_KDF_CTRL_ADD_TLS_SEED      0x09 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_RESET_HKDF_INFO   0x0a
# define EVP_KDF_CTRL_ADD_HKDF_INFO     0x0b /* unsigned char *, size_t */
# define EVP_KDF_CTRL_SET_HKDF_MODE     0x0c /* int */
# define EVP_KDF_CTRL_SET_SCRYPT_N      0x0d /* uint64_t */
# define EVP_KDF_CTRL_SET_SCRYPT_R      0x0e /* uint32_t */
# define EVP_KDF_CTRL_SET_SCRYPT_P      0x0f /* uint32_t */
# define EVP_KDF_CTRL_SET_SSHKDF_XCGHASH    0x10 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_SET_SSHKDF_SESSION_ID 0x11 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_SET_SSHKDF_TYPE       0x12 /* int */
# define EVP_KDF_CTRL_SET_KB_MODE       0x13 /* int */
# define EVP_KDF_CTRL_SET_KB_MAC_TYPE   0x14 /* int */
# define EVP_KDF_CTRL_SET_CIPHER        0x15 /* EVP_CIPHER * */
# define EVP_KDF_CTRL_SET_KB_INFO       0x16 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_SET_KB_SEED       0x17 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_SET_KRB5KDF_CONSTANT  0x18 /* unsigned char *, size_t */
# define EVP_KDF_CTRL_SET_SSKDF_INFO    0x19 /* unsigned char *, size_t */

# define EVP_KDF_HKDF_MODE_EXTRACT_AND_EXPAND  0
# define EVP_KDF_HKDF_MODE_EXTRACT_ONLY        1
# define EVP_KDF_HKDF_MODE_EXPAND_ONLY         2

#define EVP_KDF_SSHKDF_TYPE_INITIAL_IV_CLI_TO_SRV 65
#define EVP_KDF_SSHKDF_TYPE_INITIAL_IV_SRV_TO_CLI 66
#define EVP_KDF_SSHKDF_TYPE_ENCRYPTION_KEY_CLI_TO_SRV 67
#define EVP_KDF_SSHKDF_TYPE_ENCRYPTION_KEY_SRV_TO_CLI 68
#define EVP_KDF_SSHKDF_TYPE_INTEGRITY_KEY_CLI_TO_SRV 69
#define EVP_KDF_SSHKDF_TYPE_INTEGRITY_KEY_SRV_TO_CLI 70

#define EVP_KDF_KB_MODE_COUNTER     0
#define EVP_KDF_KB_MODE_FEEDBACK    1

#define EVP_KDF_KB_MAC_TYPE_HMAC    0
#define EVP_KDF_KB_MAC_TYPE_CMAC    1

/**** The legacy PKEY-based KDF API follows. ****/

# define EVP_PKEY_CTRL_TLS_MD                   (EVP_PKEY_ALG_CTRL)
# define EVP_PKEY_CTRL_TLS_SECRET               (EVP_PKEY_ALG_CTRL + 1)
# define EVP_PKEY_CTRL_TLS_SEED                 (EVP_PKEY_ALG_CTRL + 2)
# define EVP_PKEY_CTRL_HKDF_MD                  (EVP_PKEY_ALG_CTRL + 3)
# define EVP_PKEY_CTRL_HKDF_SALT                (EVP_PKEY_ALG_CTRL + 4)
# define EVP_PKEY_CTRL_HKDF_KEY                 (EVP_PKEY_ALG_CTRL + 5)
# define EVP_PKEY_CTRL_HKDF_INFO                (EVP_PKEY_ALG_CTRL + 6)
# define EVP_PKEY_CTRL_HKDF_MODE                (EVP_PKEY_ALG_CTRL + 7)
# define EVP_PKEY_CTRL_PASS                     (EVP_PKEY_ALG_CTRL + 8)
# define EVP_PKEY_CTRL_SCRYPT_SALT              (EVP_PKEY_ALG_CTRL + 9)
# define EVP_PKEY_CTRL_SCRYPT_N                 (EVP_PKEY_ALG_CTRL + 10)
# define EVP_PKEY_CTRL_SCRYPT_R                 (EVP_PKEY_ALG_CTRL + 11)
# define EVP_PKEY_CTRL_SCRYPT_P                 (EVP_PKEY_ALG_CTRL + 12)
# define EVP_PKEY_CTRL_SCRYPT_MAXMEM_BYTES      (EVP_PKEY_ALG_CTRL + 13)

# define EVP_PKEY_HKDEF_MODE_EXTRACT_AND_EXPAND \
            EVP_KDF_HKDF_MODE_EXTRACT_AND_EXPAND
# define EVP_PKEY_HKDEF_MODE_EXTRACT_ONLY       \
            EVP_KDF_HKDF_MODE_EXTRACT_ONLY
# define EVP_PKEY_HKDEF_MODE_EXPAND_ONLY        \
            EVP_KDF_HKDF_MODE_EXPAND_ONLY

# define EVP_PKEY_CTX_set_tls1_prf_md(pctx, md) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                              EVP_PKEY_CTRL_TLS_MD, 0, (void *)(md))

# define EVP_PKEY_CTX_set1_tls1_prf_secret(pctx, sec, seclen) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                              EVP_PKEY_CTRL_TLS_SECRET, seclen, (void *)(sec))

# define EVP_PKEY_CTX_add1_tls1_prf_seed(pctx, seed, seedlen) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                              EVP_PKEY_CTRL_TLS_SEED, seedlen, (void *)(seed))

# define EVP_PKEY_CTX_set_hkdf_md(pctx, md) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                              EVP_PKEY_CTRL_HKDF_MD, 0, (void *)(md))

# define EVP_PKEY_CTX_set1_hkdf_salt(pctx, salt, saltlen) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                              EVP_PKEY_CTRL_HKDF_SALT, saltlen, (void *)(salt))

# define EVP_PKEY_CTX_set1_hkdf_key(pctx, key, keylen) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                              EVP_PKEY_CTRL_HKDF_KEY, keylen, (void *)(key))

# define EVP_PKEY_CTX_add1_hkdf_info(pctx, info, infolen) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                              EVP_PKEY_CTRL_HKDF_INFO, infolen, (void *)(info))

# define EVP_PKEY_CTX_hkdf_mode(pctx, mode) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                              EVP_PKEY_CTRL_HKDF_MODE, mode, NULL)

# define EVP_PKEY_CTX_set1_pbe_pass(pctx, pass, passlen) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                            EVP_PKEY_CTRL_PASS, passlen, (void *)(pass))

# define EVP_PKEY_CTX_set1_scrypt_salt(pctx, salt, saltlen) \
            EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_DERIVE, \
                            EVP_PKEY_CTRL_SCRYPT_SALT, saltlen, (void *)(salt))

# define EVP_PKEY_CTX_set_scrypt_N(pctx, n) \
            EVP_PKEY_CTX_ctrl_uint64(pctx, -1, EVP_PKEY_OP_DERIVE, \
                            EVP_PKEY_CTRL_SCRYPT_N, n)

# define EVP_PKEY_CTX_set_scrypt_r(pctx, r) \
            EVP_PKEY_CTX_ctrl_uint64(pctx, -1, EVP_PKEY_OP_DERIVE, \
                            EVP_PKEY_CTRL_SCRYPT_R, r)

# define EVP_PKEY_CTX_set_scrypt_p(pctx, p) \
            EVP_PKEY_CTX_ctrl_uint64(pctx, -1, EVP_PKEY_OP_DERIVE, \
                            EVP_PKEY_CTRL_SCRYPT_P, p)

# define EVP_PKEY_CTX_set_scrypt_maxmem_bytes(pctx, maxmem_bytes) \
            EVP_PKEY_CTX_ctrl_uint64(pctx, -1, EVP_PKEY_OP_DERIVE, \
                            EVP_PKEY_CTRL_SCRYPT_MAXMEM_BYTES, maxmem_bytes)


# ifdef __cplusplus
}
# endif
#endif

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 24 2025 07:01:25
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