[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.222.182.195: ~ $
/* ====================================================================
 * Copyright (c) 2008 The OpenSSL Project. All rights reserved.
 *
 * Rights for redistribution and usage in source and binary
 * forms are granted according to the OpenSSL license.
 */

#include <stddef.h>

#ifdef  __cplusplus
extern "C" {
#endif
typedef void (*block128_f) (const unsigned char in[16],
                            unsigned char out[16], const void *key);

typedef void (*cbc128_f) (const unsigned char *in, unsigned char *out,
                          size_t len, const void *key,
                          unsigned char ivec[16], int enc);

typedef void (*ctr128_f) (const unsigned char *in, unsigned char *out,
                          size_t blocks, const void *key,
                          const unsigned char ivec[16]);

typedef void (*ccm128_f) (const unsigned char *in, unsigned char *out,
                          size_t blocks, const void *key,
                          const unsigned char ivec[16],
                          unsigned char cmac[16]);

void CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out,
                           size_t len, const void *key,
                           unsigned char ivec[16], block128_f block);
void CRYPTO_cbc128_decrypt(const unsigned char *in, unsigned char *out,
                           size_t len, const void *key,
                           unsigned char ivec[16], block128_f block);

void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out,
                           size_t len, const void *key,
                           unsigned char ivec[16],
                           unsigned char ecount_buf[16], unsigned int *num,
                           block128_f block);

void CRYPTO_ctr128_encrypt_ctr32(const unsigned char *in, unsigned char *out,
                                 size_t len, const void *key,
                                 unsigned char ivec[16],
                                 unsigned char ecount_buf[16],
                                 unsigned int *num, ctr128_f ctr);

void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out,
                           size_t len, const void *key,
                           unsigned char ivec[16], int *num,
                           block128_f block);

void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out,
                           size_t len, const void *key,
                           unsigned char ivec[16], int *num,
                           int enc, block128_f block);
void CRYPTO_cfb128_8_encrypt(const unsigned char *in, unsigned char *out,
                             size_t length, const void *key,
                             unsigned char ivec[16], int *num,
                             int enc, block128_f block);
void CRYPTO_cfb128_1_encrypt(const unsigned char *in, unsigned char *out,
                             size_t bits, const void *key,
                             unsigned char ivec[16], int *num,
                             int enc, block128_f block);

size_t CRYPTO_cts128_encrypt_block(const unsigned char *in,
                                   unsigned char *out, size_t len,
                                   const void *key, unsigned char ivec[16],
                                   block128_f block);
size_t CRYPTO_cts128_encrypt(const unsigned char *in, unsigned char *out,
                             size_t len, const void *key,
                             unsigned char ivec[16], cbc128_f cbc);
size_t CRYPTO_cts128_decrypt_block(const unsigned char *in,
                                   unsigned char *out, size_t len,
                                   const void *key, unsigned char ivec[16],
                                   block128_f block);
size_t CRYPTO_cts128_decrypt(const unsigned char *in, unsigned char *out,
                             size_t len, const void *key,
                             unsigned char ivec[16], cbc128_f cbc);

size_t CRYPTO_nistcts128_encrypt_block(const unsigned char *in,
                                       unsigned char *out, size_t len,
                                       const void *key,
                                       unsigned char ivec[16],
                                       block128_f block);
size_t CRYPTO_nistcts128_encrypt(const unsigned char *in, unsigned char *out,
                                 size_t len, const void *key,
                                 unsigned char ivec[16], cbc128_f cbc);
size_t CRYPTO_nistcts128_decrypt_block(const unsigned char *in,
                                       unsigned char *out, size_t len,
                                       const void *key,
                                       unsigned char ivec[16],
                                       block128_f block);
size_t CRYPTO_nistcts128_decrypt(const unsigned char *in, unsigned char *out,
                                 size_t len, const void *key,
                                 unsigned char ivec[16], cbc128_f cbc);

typedef struct gcm128_context GCM128_CONTEXT;

GCM128_CONTEXT *CRYPTO_gcm128_new(void *key, block128_f block);
void CRYPTO_gcm128_init(GCM128_CONTEXT *ctx, void *key, block128_f block);
void CRYPTO_gcm128_setiv(GCM128_CONTEXT *ctx, const unsigned char *iv,
                         size_t len);
int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad,
                      size_t len);
int CRYPTO_gcm128_encrypt(GCM128_CONTEXT *ctx,
                          const unsigned char *in, unsigned char *out,
                          size_t len);
int CRYPTO_gcm128_decrypt(GCM128_CONTEXT *ctx,
                          const unsigned char *in, unsigned char *out,
                          size_t len);
int CRYPTO_gcm128_encrypt_ctr32(GCM128_CONTEXT *ctx,
                                const unsigned char *in, unsigned char *out,
                                size_t len, ctr128_f stream);
int CRYPTO_gcm128_decrypt_ctr32(GCM128_CONTEXT *ctx,
                                const unsigned char *in, unsigned char *out,
                                size_t len, ctr128_f stream);
int CRYPTO_gcm128_finish(GCM128_CONTEXT *ctx, const unsigned char *tag,
                         size_t len);
void CRYPTO_gcm128_tag(GCM128_CONTEXT *ctx, unsigned char *tag, size_t len);
void CRYPTO_gcm128_release(GCM128_CONTEXT *ctx);

typedef struct ccm128_context CCM128_CONTEXT;

void CRYPTO_ccm128_init(CCM128_CONTEXT *ctx,
                        unsigned int M, unsigned int L, void *key,
                        block128_f block);
int CRYPTO_ccm128_setiv(CCM128_CONTEXT *ctx, const unsigned char *nonce,
                        size_t nlen, size_t mlen);
void CRYPTO_ccm128_aad(CCM128_CONTEXT *ctx, const unsigned char *aad,
                       size_t alen);
int CRYPTO_ccm128_encrypt(CCM128_CONTEXT *ctx, const unsigned char *inp,
                          unsigned char *out, size_t len);
int CRYPTO_ccm128_decrypt(CCM128_CONTEXT *ctx, const unsigned char *inp,
                          unsigned char *out, size_t len);
int CRYPTO_ccm128_encrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp,
                                unsigned char *out, size_t len,
                                ccm128_f stream);
int CRYPTO_ccm128_decrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp,
                                unsigned char *out, size_t len,
                                ccm128_f stream);
size_t CRYPTO_ccm128_tag(CCM128_CONTEXT *ctx, unsigned char *tag, size_t len);

typedef struct xts128_context XTS128_CONTEXT;

int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx,
                          const unsigned char iv[16],
                          const unsigned char *inp, unsigned char *out,
                          size_t len, int enc);

size_t CRYPTO_128_wrap(void *key, const unsigned char *iv,
                       unsigned char *out,
                       const unsigned char *in, size_t inlen,
                       block128_f block);

size_t CRYPTO_128_unwrap(void *key, const unsigned char *iv,
                         unsigned char *out,
                         const unsigned char *in, size_t inlen,
                         block128_f block);
size_t CRYPTO_128_wrap_pad(void *key, const unsigned char *icv,
                           unsigned char *out, const unsigned char *in,
                           size_t inlen, block128_f block);
size_t CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv,
                             unsigned char *out, const unsigned char *in,
                             size_t inlen, block128_f block);

#ifdef  __cplusplus
}
#endif

Filemanager

Name Type Size Permission Actions
aes.h File 6 KB 0644
asn1.h File 61.84 KB 0644
asn1_mac.h File 23.86 KB 0644
asn1t.h File 33.67 KB 0644
bio.h File 37.83 KB 0644
blowfish.h File 5.23 KB 0644
bn.h File 38.24 KB 0644
buffer.h File 4.91 KB 0644
camellia.h File 5.43 KB 0644
cast.h File 4.55 KB 0644
cmac.h File 3.18 KB 0644
cms.h File 27.97 KB 0644
comp.h File 2.32 KB 0644
conf.h File 10.99 KB 0644
conf_api.h File 4.05 KB 0644
crypto.h File 27.45 KB 0644
des.h File 11.49 KB 0644
des_old.h File 20.98 KB 0644
dh.h File 15.9 KB 0644
dsa.h File 14.64 KB 0644
dso.h File 19.74 KB 0644
dtls1.h File 8.83 KB 0644
e_os2.h File 10.69 KB 0644
ebcdic.h File 616 B 0644
ec.h File 50.77 KB 0644
ecdh.h File 5.07 KB 0644
ecdsa.h File 13.71 KB 0644
engine.h File 43.89 KB 0644
err.h File 16.42 KB 0644
evp.h File 66.76 KB 0644
fips.h File 13.31 KB 0644
fips_rand.h File 7.16 KB 0644
hmac.h File 4.43 KB 0644
idea.h File 4.57 KB 0644
krb5_asn.h File 7.97 KB 0644
kssl.h File 6.69 KB 0644
lhash.h File 9.33 KB 0644
md2.h File 3.89 KB 0644
md4.h File 4.67 KB 0644
md5.h File 4.67 KB 0644
modes.h File 8.46 KB 0644
obj_mac.h File 171.54 KB 0644
objects.h File 46.45 KB 0644
ocsp.h File 26.51 KB 0644
opensslconf-x86_64.h File 7.6 KB 0644
opensslconf.h File 1.54 KB 0644
opensslv.h File 3.85 KB 0644
ossl_typ.h File 7.65 KB 0644
pem.h File 25.27 KB 0644
pem2.h File 2.79 KB 0644
pkcs12.h File 14.5 KB 0644
pkcs7.h File 20.29 KB 0644
pqueue.h File 3.59 KB 0644
rand.h File 6.73 KB 0644
rc2.h File 4.44 KB 0644
rc4.h File 3.72 KB 0644
rc5.h File 4.82 KB 0644
ripemd.h File 4.27 KB 0644
rsa.h File 29.68 KB 0644
safestack.h File 198.15 KB 0644
seed.h File 5.9 KB 0644
sha.h File 7.4 KB 0644
srtp.h File 6.48 KB 0644
ssl.h File 143.33 KB 0644
ssl2.h File 11.77 KB 0644
ssl23.h File 3.7 KB 0644
ssl3.h File 32.5 KB 0644
stack.h File 4.43 KB 0644
symhacks.h File 27.04 KB 0644
tls1.h File 38.48 KB 0644
ts.h File 33.75 KB 0644
txt_db.h File 4.52 KB 0644
ui.h File 18.25 KB 0644
ui_compat.h File 3.41 KB 0644
whrlpool.h File 1.06 KB 0644
x509.h File 52.07 KB 0644
x509_vfy.h File 28.55 KB 0644
x509v3.h File 39.44 KB 0644