OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
alt-nodejs22
/
root
/
usr
/
include
/
openssl
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/21/2025 06:56:31 AM
rwxr-xr-x
📄
aes.h
3.27 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
asn1.h
32.84 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
asn1_mac.h
395 bytes
04/29/2024 07:49:38 AM
rw-r--r--
📄
asn1err.h
14.34 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
asn1t.h
32.17 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
async.h
2.34 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
asyncerr.h
1.29 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
bio.h
34.09 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
bioerr.h
6.25 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
blowfish.h
1.8 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
bn.h
21.62 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
bnerr.h
4.79 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
buffer.h
1.56 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
buffererr.h
820 bytes
04/29/2024 07:49:38 AM
rw-r--r--
📄
camellia.h
3.1 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
cast.h
1.63 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
cmac.h
1.04 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
cms.h
16 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
cmserr.h
10.9 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
comp.h
1.3 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
comperr.h
1.18 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
conf.h
5.47 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
conf_api.h
1.27 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
conferr.h
3.35 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
crypto.h
16.93 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
cryptoerr.h
2.21 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ct.h
15.5 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
cterr.h
3.39 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
des.h
7.45 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
dh.h
13.14 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
dherr.h
4.19 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
dsa.h
9.87 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
dsaerr.h
3.27 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
dtls1.h
1.54 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
e_os2.h
8.71 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ebcdic.h
924 bytes
04/29/2024 07:49:38 AM
rw-r--r--
📄
ec.h
62.19 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ecdh.h
358 bytes
04/29/2024 07:49:38 AM
rw-r--r--
📄
ecdsa.h
358 bytes
04/29/2024 07:49:38 AM
rw-r--r--
📄
ecerr.h
16.25 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
engine.h
33.91 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
engineerr.h
5.32 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
err.h
11 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
evp.h
75.13 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
evperr.h
11.79 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
fips.h
9.44 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
fips_rand.h
7 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
hmac.h
1.55 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
idea.h
2.05 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
kdf.h
7.39 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
kdferr.h
4.68 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
lhash.h
9.05 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
md2.h
1.03 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
md4.h
1.29 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
md5.h
1.29 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
mdc2.h
1.03 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
modes.h
10.23 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
obj_mac.h
213.37 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
objects.h
6.48 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
objectserr.h
1.29 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ocsp.h
14.95 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ocsperr.h
3.28 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
opensslconf-x86_64.h
4.66 KB
04/29/2024 07:50:05 AM
rw-r--r--
📄
opensslconf.h
1.54 KB
04/29/2024 07:50:05 AM
rw-r--r--
📄
opensslv.h
4.01 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ossl_typ.h
6.16 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
pem.h
15.11 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
pem2.h
415 bytes
04/29/2024 07:49:38 AM
rw-r--r--
📄
pemerr.h
5.1 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
pkcs12.h
9.64 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
pkcs12err.h
3.66 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
pkcs7.h
11.32 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
pkcs7err.h
4.99 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
rand.h
2.3 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
rand_drbg.h
4.65 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
randerr.h
4.58 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
rc2.h
1.5 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
rc4.h
825 bytes
04/29/2024 07:49:38 AM
rw-r--r--
📄
rc5.h
1.94 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ripemd.h
1.21 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
rsa.h
21.68 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
rsaerr.h
9.59 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
safestack.h
7.95 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
seed.h
3.4 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
sha.h
3.74 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
srp.h
3.74 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
srtp.h
1.29 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ssl.h
109.36 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ssl2.h
542 bytes
04/29/2024 07:49:38 AM
rw-r--r--
📄
ssl3.h
14.36 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
sslerr.h
45.76 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
stack.h
3.02 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
store.h
10.94 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
storeerr.h
4.3 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
symhacks.h
1.28 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
tls1.h
70.79 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ts.h
21.9 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
tserr.h
6.59 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
txt_db.h
1.63 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
ui.h
15.68 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
uierr.h
2.67 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
whrlpool.h
1.34 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
x509.h
42.31 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
x509_vfy.h
31.69 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
x509err.h
6.64 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
x509v3.h
32.66 KB
04/29/2024 07:49:38 AM
rw-r--r--
📄
x509v3err.h
8.69 KB
04/29/2024 07:49:38 AM
rw-r--r--
Editing: srp.h
Close
/* * 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