GRAYBYTE WORDPRESS FILE MANAGER6949

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
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 : /opt/cpanel/ea-openssl11/include/openssl/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cpanel/ea-openssl11/include/openssl//objects.h
/*
 * Copyright 1995-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_OBJECTS_H
# define HEADER_OBJECTS_H

# include <openssl/obj_mac.h>
# include <openssl/bio.h>
# include <openssl/asn1.h>
# include <openssl/objectserr.h>

# define OBJ_NAME_TYPE_UNDEF             0x00
# define OBJ_NAME_TYPE_MD_METH           0x01
# define OBJ_NAME_TYPE_CIPHER_METH       0x02
# define OBJ_NAME_TYPE_PKEY_METH         0x03
# define OBJ_NAME_TYPE_COMP_METH         0x04
# define OBJ_NAME_TYPE_NUM               0x05

# define OBJ_NAME_ALIAS                  0x8000

# define OBJ_BSEARCH_VALUE_ON_NOMATCH            0x01
# define OBJ_BSEARCH_FIRST_VALUE_ON_MATCH        0x02


#ifdef  __cplusplus
extern "C" {
#endif

typedef struct obj_name_st {
    int type;
    int alias;
    const char *name;
    const char *data;
} OBJ_NAME;

# define         OBJ_create_and_add_object(a,b,c) OBJ_create(a,b,c)

int OBJ_NAME_init(void);
int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *),
                       int (*cmp_func) (const char *, const char *),
                       void (*free_func) (const char *, int, const char *));
const char *OBJ_NAME_get(const char *name, int type);
int OBJ_NAME_add(const char *name, int type, const char *data);
int OBJ_NAME_remove(const char *name, int type);
void OBJ_NAME_cleanup(int type); /* -1 for everything */
void OBJ_NAME_do_all(int type, void (*fn) (const OBJ_NAME *, void *arg),
                     void *arg);
void OBJ_NAME_do_all_sorted(int type,
                            void (*fn) (const OBJ_NAME *, void *arg),
                            void *arg);

ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *o);
ASN1_OBJECT *OBJ_nid2obj(int n);
const char *OBJ_nid2ln(int n);
const char *OBJ_nid2sn(int n);
int OBJ_obj2nid(const ASN1_OBJECT *o);
ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name);
int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);
int OBJ_txt2nid(const char *s);
int OBJ_ln2nid(const char *s);
int OBJ_sn2nid(const char *s);
int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
const void *OBJ_bsearch_(const void *key, const void *base, int num, int size,
                         int (*cmp) (const void *, const void *));
const void *OBJ_bsearch_ex_(const void *key, const void *base, int num,
                            int size,
                            int (*cmp) (const void *, const void *),
                            int flags);

# define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm)    \
  static int nm##_cmp_BSEARCH_CMP_FN(const void *, const void *); \
  static int nm##_cmp(type1 const *, type2 const *); \
  scope type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)

# define DECLARE_OBJ_BSEARCH_CMP_FN(type1, type2, cmp)   \
  _DECLARE_OBJ_BSEARCH_CMP_FN(static, type1, type2, cmp)
# define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm)     \
  type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)

/*-
 * Unsolved problem: if a type is actually a pointer type, like
 * nid_triple is, then its impossible to get a const where you need
 * it. Consider:
 *
 * typedef int nid_triple[3];
 * const void *a_;
 * const nid_triple const *a = a_;
 *
 * The assignment discards a const because what you really want is:
 *
 * const int const * const *a = a_;
 *
 * But if you do that, you lose the fact that a is an array of 3 ints,
 * which breaks comparison functions.
 *
 * Thus we end up having to cast, sadly, or unpack the
 * declarations. Or, as I finally did in this case, declare nid_triple
 * to be a struct, which it should have been in the first place.
 *
 * Ben, August 2008.
 *
 * Also, strictly speaking not all types need be const, but handling
 * the non-constness means a lot of complication, and in practice
 * comparison routines do always not touch their arguments.
 */

# define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm)  \
  static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_)    \
      { \
      type1 const *a = a_; \
      type2 const *b = b_; \
      return nm##_cmp(a,b); \
      } \
  static type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
      { \
      return (type2 *)OBJ_bsearch_(key, base, num, sizeof(type2), \
                                        nm##_cmp_BSEARCH_CMP_FN); \
      } \
      extern void dummy_prototype(void)

# define IMPLEMENT_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm)   \
  static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_)    \
      { \
      type1 const *a = a_; \
      type2 const *b = b_; \
      return nm##_cmp(a,b); \
      } \
  type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
      { \
      return (type2 *)OBJ_bsearch_(key, base, num, sizeof(type2), \
                                        nm##_cmp_BSEARCH_CMP_FN); \
      } \
      extern void dummy_prototype(void)

# define OBJ_bsearch(type1,key,type2,base,num,cmp)                              \
  ((type2 *)OBJ_bsearch_(CHECKED_PTR_OF(type1,key),CHECKED_PTR_OF(type2,base), \
                         num,sizeof(type2),                             \
                         ((void)CHECKED_PTR_OF(type1,cmp##_type_1),     \
                          (void)CHECKED_PTR_OF(type2,cmp##_type_2),     \
                          cmp##_BSEARCH_CMP_FN)))

# define OBJ_bsearch_ex(type1,key,type2,base,num,cmp,flags)                      \
  ((type2 *)OBJ_bsearch_ex_(CHECKED_PTR_OF(type1,key),CHECKED_PTR_OF(type2,base), \
                         num,sizeof(type2),                             \
                         ((void)CHECKED_PTR_OF(type1,cmp##_type_1),     \
                          (void)type_2=CHECKED_PTR_OF(type2,cmp##_type_2), \
                          cmp##_BSEARCH_CMP_FN)),flags)

int OBJ_new_nid(int num);
int OBJ_add_object(const ASN1_OBJECT *obj);
int OBJ_create(const char *oid, const char *sn, const char *ln);
#if OPENSSL_API_COMPAT < 0x10100000L
# define OBJ_cleanup() while(0) continue
#endif
int OBJ_create_objects(BIO *in);

size_t OBJ_length(const ASN1_OBJECT *obj);
const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);

int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid);
int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid);
int OBJ_add_sigid(int signid, int dig_id, int pkey_id);
void OBJ_sigid_free(void);


# ifdef  __cplusplus
}
# endif
#endif

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
January 01 1970 00:00:00
root / root
0
aes.h
3.271 KB
December 04 2023 16:33:45
root / root
0644
asn1.h
32.839 KB
December 04 2023 16:33:45
root / root
0644
asn1_mac.h
0.386 KB
December 04 2023 16:33:45
root / root
0644
asn1err.h
14.343 KB
December 04 2023 16:33:45
root / root
0644
asn1t.h
32.168 KB
December 04 2023 16:33:45
root / root
0644
async.h
2.342 KB
December 04 2023 16:33:45
root / root
0644
asyncerr.h
1.295 KB
December 04 2023 16:33:45
root / root
0644
bio.h
34.089 KB
December 04 2023 16:33:45
root / root
0644
bioerr.h
6.25 KB
December 04 2023 16:33:45
root / root
0644
blowfish.h
1.804 KB
December 04 2023 16:33:45
root / root
0644
bn.h
21.616 KB
December 04 2023 16:33:45
root / root
0644
bnerr.h
4.853 KB
December 04 2023 16:33:45
root / root
0644
buffer.h
1.563 KB
December 04 2023 16:33:45
root / root
0644
buffererr.h
0.801 KB
December 04 2023 16:33:45
root / root
0644
camellia.h
3.104 KB
December 04 2023 16:33:45
root / root
0644
cast.h
1.635 KB
December 04 2023 16:33:45
root / root
0644
cmac.h
1.039 KB
December 04 2023 16:33:45
root / root
0644
cms.h
15.995 KB
December 04 2023 16:33:45
root / root
0644
cmserr.h
10.96 KB
December 04 2023 16:33:45
root / root
0644
comp.h
1.297 KB
December 04 2023 16:33:45
root / root
0644
comperr.h
1.184 KB
December 04 2023 16:33:45
root / root
0644
conf.h
5.47 KB
December 04 2023 16:33:45
root / root
0644
conf_api.h
1.27 KB
December 04 2023 16:33:45
root / root
0644
conferr.h
3.349 KB
December 04 2023 16:33:45
root / root
0644
crypto.h
16.835 KB
December 04 2023 16:33:45
root / root
0644
cryptoerr.h
2.208 KB
December 04 2023 16:33:45
root / root
0644
ct.h
15.5 KB
December 04 2023 16:33:46
root / root
0644
cterr.h
3.389 KB
December 04 2023 16:33:46
root / root
0644
des.h
7.448 KB
December 04 2023 16:33:46
root / root
0644
dh.h
13.323 KB
December 04 2023 16:33:46
root / root
0644
dherr.h
4.004 KB
December 04 2023 16:33:46
root / root
0644
dsa.h
9.815 KB
December 04 2023 16:33:46
root / root
0644
dsaerr.h
2.902 KB
December 04 2023 16:33:46
root / root
0644
dtls1.h
1.541 KB
December 04 2023 16:33:46
root / root
0644
e_os2.h
8.711 KB
December 04 2023 16:33:46
root / root
0644
ebcdic.h
0.902 KB
December 04 2023 16:33:46
root / root
0644
ec.h
62.191 KB
December 04 2023 16:33:46
root / root
0644
ecdh.h
0.35 KB
December 04 2023 16:33:46
root / root
0644
ecdsa.h
0.35 KB
December 04 2023 16:33:46
root / root
0644
ecerr.h
15.45 KB
December 04 2023 16:33:46
root / root
0644
engine.h
33.912 KB
December 04 2023 16:33:46
root / root
0644
engineerr.h
5.319 KB
December 04 2023 16:33:46
root / root
0644
err.h
11.005 KB
December 04 2023 16:33:46
root / root
0644
evp.h
75.027 KB
December 04 2023 16:33:46
root / root
0644
evperr.h
11.185 KB
December 04 2023 16:33:46
root / root
0644
hmac.h
1.554 KB
December 04 2023 16:33:46
root / root
0644
idea.h
2.05 KB
December 04 2023 16:33:46
root / root
0644
kdf.h
4.225 KB
December 04 2023 16:33:46
root / root
0644
kdferr.h
2.072 KB
December 04 2023 16:33:46
root / root
0644
lhash.h
9.054 KB
December 04 2023 16:33:46
root / root
0644
md2.h
1.029 KB
December 04 2023 16:33:46
root / root
0644
md4.h
1.291 KB
December 04 2023 16:33:46
root / root
0644
md5.h
1.289 KB
December 04 2023 16:33:46
root / root
0644
mdc2.h
1.028 KB
December 04 2023 16:33:46
root / root
0644
modes.h
10.232 KB
December 04 2023 16:33:46
root / root
0644
obj_mac.h
212.424 KB
December 04 2023 16:33:46
root / root
0644
objects.h
6.478 KB
December 04 2023 16:33:46
root / root
0644
objectserr.h
1.285 KB
December 04 2023 16:33:46
root / root
0644
ocsp.h
14.946 KB
December 04 2023 16:33:46
root / root
0644
ocsperr.h
3.277 KB
December 04 2023 16:33:46
root / root
0644
opensslconf.h
4.555 KB
December 04 2023 16:33:46
root / root
0644
opensslv.h
4.006 KB
December 04 2023 16:33:46
root / root
0644
ossl_typ.h
6.119 KB
December 04 2023 16:33:46
root / root
0644
pem.h
15.105 KB
December 04 2023 16:33:46
root / root
0644
pem2.h
0.405 KB
December 04 2023 16:33:46
root / root
0644
pemerr.h
5.1 KB
December 04 2023 16:33:46
root / root
0644
pkcs12.h
9.64 KB
December 04 2023 16:33:46
root / root
0644
pkcs12err.h
3.661 KB
December 04 2023 16:33:46
root / root
0644
pkcs7.h
11.318 KB
December 04 2023 16:33:46
root / root
0644
pkcs7err.h
4.99 KB
December 04 2023 16:33:46
root / root
0644
rand.h
2.161 KB
December 04 2023 16:33:46
root / root
0644
rand_drbg.h
4.651 KB
December 04 2023 16:33:46
root / root
0644
randerr.h
4.524 KB
December 04 2023 16:33:46
root / root
0644
rc2.h
1.498 KB
December 04 2023 16:33:46
root / root
0644
rc4.h
0.806 KB
December 04 2023 16:33:46
root / root
0644
rc5.h
1.941 KB
December 04 2023 16:33:46
root / root
0644
ripemd.h
1.214 KB
December 04 2023 16:33:46
root / root
0644
rsa.h
21.682 KB
December 04 2023 16:33:46
root / root
0644
rsaerr.h
8.862 KB
December 04 2023 16:33:46
root / root
0644
safestack.h
7.948 KB
December 04 2023 16:33:46
root / root
0644
seed.h
3.397 KB
December 04 2023 16:33:46
root / root
0644
sha.h
3.741 KB
December 04 2023 16:33:46
root / root
0644
srp.h
3.737 KB
December 04 2023 16:33:46
root / root
0644
srtp.h
1.285 KB
December 04 2023 16:33:46
root / root
0644
ssl.h
109.195 KB
December 04 2023 16:33:46
root / root
0644
ssl2.h
0.529 KB
December 04 2023 16:33:46
root / root
0644
ssl3.h
14.36 KB
December 04 2023 16:33:46
root / root
0644
sslerr.h
45.764 KB
December 04 2023 16:33:46
root / root
0644
stack.h
3.022 KB
December 04 2023 16:33:46
root / root
0644
store.h
10.937 KB
December 04 2023 16:33:46
root / root
0644
storeerr.h
4.296 KB
December 04 2023 16:33:46
root / root
0644
symhacks.h
1.28 KB
December 04 2023 16:33:46
root / root
0644
tls1.h
70.791 KB
December 04 2023 16:33:46
root / root
0644
ts.h
21.903 KB
December 04 2023 16:33:46
root / root
0644
tserr.h
6.588 KB
December 04 2023 16:33:46
root / root
0644
txt_db.h
1.627 KB
December 04 2023 16:33:46
root / root
0644
ui.h
15.676 KB
December 04 2023 16:33:46
root / root
0644
uierr.h
2.673 KB
December 04 2023 16:33:46
root / root
0644
whrlpool.h
1.345 KB
December 04 2023 16:33:46
root / root
0644
x509.h
42.311 KB
December 04 2023 16:33:46
root / root
0644
x509_vfy.h
31.69 KB
December 04 2023 16:33:46
root / root
0644
x509err.h
6.644 KB
December 04 2023 16:33:46
root / root
0644
x509v3.h
32.657 KB
December 04 2023 16:33:46
root / root
0644
x509v3err.h
8.692 KB
December 04 2023 16:33:46
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF