SM0 She11
Path:
/
/
usr
/
include
/
openssl
Full Path (server): /usr/include/openssl
Create Fil3
Upl04d Fil3
📄 aes.h
[E]
[D]
[R]
📄 asn1.h
[E]
[D]
[R]
📄 asn1_mac.h
[E]
[D]
[R]
📄 asn1t.h
[E]
[D]
[R]
📄 bio.h
[E]
[D]
[R]
📄 blowfish.h
[E]
[D]
[R]
📄 bn.h
[E]
[D]
[R]
📄 buffer.h
[E]
[D]
[R]
📄 camellia.h
[E]
[D]
[R]
📄 cast.h
[E]
[D]
[R]
📄 cmac.h
[E]
[D]
[R]
📄 cms.h
[E]
[D]
[R]
📄 comp.h
[E]
[D]
[R]
📄 conf.h
[E]
[D]
[R]
📄 conf_api.h
[E]
[D]
[R]
📄 crypto.h
[E]
[D]
[R]
📄 des.h
[E]
[D]
[R]
📄 des_old.h
[E]
[D]
[R]
📄 dh.h
[E]
[D]
[R]
📄 dsa.h
[E]
[D]
[R]
📄 dso.h
[E]
[D]
[R]
📄 dtls1.h
[E]
[D]
[R]
📄 e_os2.h
[E]
[D]
[R]
📄 ebcdic.h
[E]
[D]
[R]
📄 ec.h
[E]
[D]
[R]
📄 ecdh.h
[E]
[D]
[R]
📄 ecdsa.h
[E]
[D]
[R]
📄 engine.h
[E]
[D]
[R]
📄 err.h
[E]
[D]
[R]
📄 evp.h
[E]
[D]
[R]
📄 fips.h
[E]
[D]
[R]
📄 fips_rand.h
[E]
[D]
[R]
📄 hmac.h
[E]
[D]
[R]
📄 idea.h
[E]
[D]
[R]
📄 krb5_asn.h
[E]
[D]
[R]
📄 kssl.h
[E]
[D]
[R]
📄 lhash.h
[E]
[D]
[R]
📄 md2.h
[E]
[D]
[R]
📄 md4.h
[E]
[D]
[R]
📄 md5.h
[E]
[D]
[R]
📄 modes.h
[E]
[D]
[R]
📄 obj_mac.h
[E]
[D]
[R]
📄 objects.h
[E]
[D]
[R]
📄 ocsp.h
[E]
[D]
[R]
📄 opensslconf-x86_64.h
[E]
[D]
[R]
📄 opensslconf.h
[E]
[D]
[R]
📄 opensslv.h
[E]
[D]
[R]
📄 ossl_typ.h
[E]
[D]
[R]
📄 pem.h
[E]
[D]
[R]
📄 pem2.h
[E]
[D]
[R]
📄 pkcs12.h
[E]
[D]
[R]
📄 pkcs7.h
[E]
[D]
[R]
📄 pqueue.h
[E]
[D]
[R]
📄 rand.h
[E]
[D]
[R]
📄 rc2.h
[E]
[D]
[R]
📄 rc4.h
[E]
[D]
[R]
📄 rc5.h
[E]
[D]
[R]
📄 ripemd.h
[E]
[D]
[R]
📄 rsa.h
[E]
[D]
[R]
📄 safestack.h
[E]
[D]
[R]
📄 seed.h
[E]
[D]
[R]
📄 sha.h
[E]
[D]
[R]
📄 srtp.h
[E]
[D]
[R]
📄 ssl.h
[E]
[D]
[R]
📄 ssl2.h
[E]
[D]
[R]
📄 ssl23.h
[E]
[D]
[R]
📄 ssl3.h
[E]
[D]
[R]
📄 stack.h
[E]
[D]
[R]
📄 symhacks.h
[E]
[D]
[R]
📄 tls1.h
[E]
[D]
[R]
📄 ts.h
[E]
[D]
[R]
📄 txt_db.h
[E]
[D]
[R]
📄 ui.h
[E]
[D]
[R]
📄 ui_compat.h
[E]
[D]
[R]
📄 whrlpool.h
[E]
[D]
[R]
📄 x509.h
[E]
[D]
[R]
📄 x509_vfy.h
[E]
[D]
[R]
📄 x509v3.h
[E]
[D]
[R]
Editing: aes.h
/* crypto/aes/aes.h */ /* ==================================================================== * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. All advertising materials mentioning features or use of this * software must display the following acknowledgment: * "This product includes software developed by the OpenSSL Project * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" * * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to * endorse or promote products derived from this software without * prior written permission. For written permission, please contact * openssl-core@openssl.org. * * 5. Products derived from this software may not be called "OpenSSL" * nor may "OpenSSL" appear in their names without prior written * permission of the OpenSSL Project. * * 6. Redistributions of any form whatsoever must retain the following * acknowledgment: * "This product includes software developed by the OpenSSL Project * for use in the OpenSSL Toolkit (http://www.openssl.org/)" * * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. * ==================================================================== * */ #ifndef HEADER_AES_H # define HEADER_AES_H # include <openssl/opensslconf.h> # ifdef OPENSSL_NO_AES # error AES is disabled. # endif # include <stddef.h> # define AES_ENCRYPT 1 # define AES_DECRYPT 0 /* * Because array size can't be a const in C, the following two are macros. * Both sizes are in bytes. */ # define AES_MAXNR 14 # define AES_BLOCK_SIZE 16 #ifdef __cplusplus extern "C" { #endif /* This should be a hidden type, but EVP requires that the size be known */ struct aes_key_st { # ifdef AES_LONG unsigned long rd_key[4 * (AES_MAXNR + 1)]; # else unsigned int rd_key[4 * (AES_MAXNR + 1)]; # endif int rounds; }; typedef struct aes_key_st AES_KEY; const char *AES_options(void); int AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key); int AES_set_decrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key); int private_AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key); int private_AES_set_decrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key); void AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key); void AES_decrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key); void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key, const int enc); void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, const int enc); void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc); void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc); void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc); void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num); void AES_ctr128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char ivec[AES_BLOCK_SIZE], unsigned char ecount_buf[AES_BLOCK_SIZE], unsigned int *num); /* NB: the IV is _two_ blocks long */ void AES_ige_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, const int enc); /* NB: the IV is _four_ blocks long */ void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, const AES_KEY *key2, const unsigned char *ivec, const int enc); int AES_wrap_key(AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen); int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen); #ifdef __cplusplus } #endif #endif /* !HEADER_AES_H */
Save