X7ROOT File Manager
Current Path:
/opt/cpanel/ea-openssl11/include/openssl
opt
/
cpanel
/
ea-openssl11
/
include
/
openssl
/
ðŸ“
..
📄
aes.h
(3.27 KB)
📄
asn1.h
(32.84 KB)
📄
asn1_mac.h
(395 B)
📄
asn1err.h
(14.34 KB)
📄
asn1t.h
(32.17 KB)
📄
async.h
(2.34 KB)
📄
asyncerr.h
(1.29 KB)
📄
bio.h
(34.09 KB)
📄
bioerr.h
(6.25 KB)
📄
blowfish.h
(1.8 KB)
📄
bn.h
(21.62 KB)
📄
bnerr.h
(4.85 KB)
📄
buffer.h
(1.56 KB)
📄
buffererr.h
(820 B)
📄
camellia.h
(3.1 KB)
📄
cast.h
(1.63 KB)
📄
cmac.h
(1.04 KB)
📄
cms.h
(16 KB)
📄
cmserr.h
(10.96 KB)
📄
comp.h
(1.3 KB)
📄
comperr.h
(1.18 KB)
📄
conf.h
(5.47 KB)
📄
conf_api.h
(1.27 KB)
📄
conferr.h
(3.35 KB)
📄
crypto.h
(16.83 KB)
📄
cryptoerr.h
(2.21 KB)
📄
ct.h
(15.5 KB)
📄
cterr.h
(3.39 KB)
📄
des.h
(7.45 KB)
📄
dh.h
(13.32 KB)
📄
dherr.h
(4 KB)
📄
dsa.h
(9.82 KB)
📄
dsaerr.h
(2.9 KB)
📄
dtls1.h
(1.54 KB)
📄
e_os2.h
(8.71 KB)
📄
ebcdic.h
(924 B)
📄
ec.h
(62.19 KB)
📄
ecdh.h
(358 B)
📄
ecdsa.h
(358 B)
📄
ecerr.h
(15.45 KB)
📄
engine.h
(33.91 KB)
📄
engineerr.h
(5.32 KB)
📄
err.h
(11 KB)
📄
evp.h
(75.03 KB)
📄
evperr.h
(11.18 KB)
📄
hmac.h
(1.55 KB)
📄
idea.h
(2.05 KB)
📄
kdf.h
(4.22 KB)
📄
kdferr.h
(2.07 KB)
📄
lhash.h
(9.05 KB)
📄
md2.h
(1.03 KB)
📄
md4.h
(1.29 KB)
📄
md5.h
(1.29 KB)
📄
mdc2.h
(1.03 KB)
📄
modes.h
(10.23 KB)
📄
obj_mac.h
(212.42 KB)
📄
objects.h
(6.48 KB)
📄
objectserr.h
(1.29 KB)
📄
ocsp.h
(14.95 KB)
📄
ocsperr.h
(3.28 KB)
📄
opensslconf.h
(4.55 KB)
📄
opensslv.h
(4.01 KB)
📄
ossl_typ.h
(6.12 KB)
📄
pem.h
(15.11 KB)
📄
pem2.h
(415 B)
📄
pemerr.h
(5.1 KB)
📄
pkcs12.h
(9.64 KB)
📄
pkcs12err.h
(3.66 KB)
📄
pkcs7.h
(11.32 KB)
📄
pkcs7err.h
(4.99 KB)
📄
rand.h
(2.16 KB)
📄
rand_drbg.h
(4.65 KB)
📄
randerr.h
(4.52 KB)
📄
rc2.h
(1.5 KB)
📄
rc4.h
(825 B)
📄
rc5.h
(1.94 KB)
📄
ripemd.h
(1.21 KB)
📄
rsa.h
(21.68 KB)
📄
rsaerr.h
(8.86 KB)
📄
safestack.h
(7.95 KB)
📄
seed.h
(3.4 KB)
📄
sha.h
(3.74 KB)
📄
srp.h
(3.74 KB)
📄
srtp.h
(1.29 KB)
📄
ssl.h
(109.2 KB)
📄
ssl2.h
(542 B)
📄
ssl3.h
(14.36 KB)
📄
sslerr.h
(45.76 KB)
📄
stack.h
(3.02 KB)
📄
store.h
(10.94 KB)
📄
storeerr.h
(4.3 KB)
📄
symhacks.h
(1.28 KB)
📄
tls1.h
(70.79 KB)
📄
ts.h
(21.9 KB)
📄
tserr.h
(6.59 KB)
📄
txt_db.h
(1.63 KB)
📄
ui.h
(15.68 KB)
📄
uierr.h
(2.67 KB)
📄
whrlpool.h
(1.34 KB)
📄
x509.h
(42.31 KB)
📄
x509_vfy.h
(31.69 KB)
📄
x509err.h
(6.64 KB)
📄
x509v3.h
(32.66 KB)
📄
x509v3err.h
(8.69 KB)
Editing: srp.h
/* * Copyright 2004-2018 The OpenSSL Project Authors. All Rights Reserved. * Copyright (c) 2004, EdelKey Project. 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 * * Originally written by Christophe Renou and Peter Sylvester, * for the EdelKey project. */ #ifndef HEADER_SRP_H # define HEADER_SRP_H #include <openssl/opensslconf.h> #ifndef OPENSSL_NO_SRP # include <stdio.h> # include <string.h> # include <openssl/safestack.h> # include <openssl/bn.h> # include <openssl/crypto.h> # ifdef __cplusplus extern "C" { # endif typedef struct SRP_gN_cache_st { char *b64_bn; BIGNUM *bn; } SRP_gN_cache; DEFINE_STACK_OF(SRP_gN_cache) typedef struct SRP_user_pwd_st { /* Owned by us. */ char *id; BIGNUM *s; BIGNUM *v; /* Not owned by us. */ const BIGNUM *g; const BIGNUM *N; /* Owned by us. */ char *info; } SRP_user_pwd; void SRP_user_pwd_free(SRP_user_pwd *user_pwd); DEFINE_STACK_OF(SRP_user_pwd) typedef struct SRP_VBASE_st { STACK_OF(SRP_user_pwd) *users_pwd; STACK_OF(SRP_gN_cache) *gN_cache; /* to simulate a user */ char *seed_key; const BIGNUM *default_g; const BIGNUM *default_N; } SRP_VBASE; /* * Internal structure storing N and g pair */ typedef struct SRP_gN_st { char *id; const BIGNUM *g; const BIGNUM *N; } SRP_gN; DEFINE_STACK_OF(SRP_gN) SRP_VBASE *SRP_VBASE_new(char *seed_key); void SRP_VBASE_free(SRP_VBASE *vb); int SRP_VBASE_init(SRP_VBASE *vb, char *verifier_file); /* This method ignores the configured seed and fails for an unknown user. */ DEPRECATEDIN_1_1_0(SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username)) /* NOTE: unlike in SRP_VBASE_get_by_user, caller owns the returned pointer.*/ SRP_user_pwd *SRP_VBASE_get1_by_user(SRP_VBASE *vb, char *username); char *SRP_create_verifier(const char *user, const char *pass, char **salt, char **verifier, const char *N, const char *g); int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, BIGNUM **verifier, const BIGNUM *N, const BIGNUM *g); # define SRP_NO_ERROR 0 # define SRP_ERR_VBASE_INCOMPLETE_FILE 1 # define SRP_ERR_VBASE_BN_LIB 2 # define SRP_ERR_OPEN_FILE 3 # define SRP_ERR_MEMORY 4 # define DB_srptype 0 # define DB_srpverifier 1 # define DB_srpsalt 2 # define DB_srpid 3 # define DB_srpgN 4 # define DB_srpinfo 5 # undef DB_NUMBER # define DB_NUMBER 6 # define DB_SRP_INDEX 'I' # define DB_SRP_VALID 'V' # define DB_SRP_REVOKED 'R' # define DB_SRP_MODIF 'v' /* see srp.c */ char *SRP_check_known_gN_param(const BIGNUM *g, const BIGNUM *N); SRP_gN *SRP_get_default_gN(const char *id); /* server side .... */ BIGNUM *SRP_Calc_server_key(const BIGNUM *A, const BIGNUM *v, const BIGNUM *u, const BIGNUM *b, const BIGNUM *N); BIGNUM *SRP_Calc_B(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g, const BIGNUM *v); int SRP_Verify_A_mod_N(const BIGNUM *A, const BIGNUM *N); BIGNUM *SRP_Calc_u(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N); /* client side .... */ BIGNUM *SRP_Calc_x(const BIGNUM *s, const char *user, const char *pass); BIGNUM *SRP_Calc_A(const BIGNUM *a, const BIGNUM *N, const BIGNUM *g); BIGNUM *SRP_Calc_client_key(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g, const BIGNUM *x, const BIGNUM *a, const BIGNUM *u); int SRP_Verify_B_mod_N(const BIGNUM *B, const BIGNUM *N); # define SRP_MINIMAL_N 1024 # ifdef __cplusplus } # endif # endif #endif
Upload File
Create Folder