Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
54540811
提交
54540811
authored
3月 31, 2013
作者:
Jeff Lenk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
upgrade windows openssl to 1.0.1c
上级
4f47c495
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
97 个修改的文件
包含
41108 行增加
和
3202 行删除
+41108
-3202
Freeswitch.2008.express.unsupported.sln
Freeswitch.2008.express.unsupported.sln
+0
-0
Freeswitch.2008.unsupported.sln
Freeswitch.2008.unsupported.sln
+0
-0
Download OPENSSL.2010.vcxproj
libs/win32/Download OPENSSL.2010.vcxproj
+2
-2
Download OPENSSL.2012.vcxproj
libs/win32/Download OPENSSL.2012.vcxproj
+3
-3
aes.h
libs/win32/openssl/include/aes.h
+147
-2
asn1.h
libs/win32/openssl/include/asn1.h
+1404
-2
asn1_mac.h
libs/win32/openssl/include/asn1_mac.h
+578
-2
asn1t.h
libs/win32/openssl/include/asn1t.h
+960
-2
bio.h
libs/win32/openssl/include/bio.h
+847
-2
blowfish.h
libs/win32/openssl/include/blowfish.h
+129
-2
bn.h
libs/win32/openssl/include/bn.h
+891
-2
buffer.h
libs/win32/openssl/include/buffer.h
+119
-2
camellia.h
libs/win32/openssl/include/camellia.h
+130
-2
cast.h
libs/win32/openssl/include/cast.h
+107
-2
cmac.h
libs/win32/openssl/include/cmac.h
+82
-0
cms.h
libs/win32/openssl/include/cms.h
+501
-2
comp.h
libs/win32/openssl/include/comp.h
+80
-2
conf.h
libs/win32/openssl/include/conf.h
+263
-2
conf_api.h
libs/win32/openssl/include/conf_api.h
+89
-2
crypto.h
libs/win32/openssl/include/crypto.h
+604
-2
des.h
libs/win32/openssl/include/des.h
+248
-2
des_old.h
libs/win32/openssl/include/des_old.h
+446
-2
dh.h
libs/win32/openssl/include/dh.h
+280
-2
dsa.h
libs/win32/openssl/include/dsa.h
+327
-2
dso.h
libs/win32/openssl/include/dso.h
+409
-2
dtls1.h
libs/win32/openssl/include/dtls1.h
+283
-2
e_os.h
libs/win32/openssl/include/e_os.h
+734
-2
e_os2.h
libs/win32/openssl/include/e_os2.h
+315
-2
ebcdic.h
libs/win32/openssl/include/ebcdic.h
+19
-2
ec.h
libs/win32/openssl/include/ec.h
+1159
-2
ecdh.h
libs/win32/openssl/include/ecdh.h
+125
-2
ecdsa.h
libs/win32/openssl/include/ecdsa.h
+260
-2
engine.h
libs/win32/openssl/include/engine.h
+842
-2
err.h
libs/win32/openssl/include/err.h
+386
-2
evp.h
libs/win32/openssl/include/evp.h
+1402
-2
hmac.h
libs/win32/openssl/include/hmac.h
+110
-2
idea.h
libs/win32/openssl/include/idea.h
+103
-2
krb5_asn.h
libs/win32/openssl/include/krb5_asn.h
+256
-2
kssl.h
libs/win32/openssl/include/kssl.h
+183
-2
lhash.h
libs/win32/openssl/include/lhash.h
+241
-2
md2.h
libs/win32/openssl/include/md2.h
+95
-2
md4.h
libs/win32/openssl/include/md4.h
+120
-2
md5.h
libs/win32/openssl/include/md5.h
+120
-2
mdc2.h
libs/win32/openssl/include/mdc2.h
+98
-2
modes.h
libs/win32/openssl/include/modes.h
+135
-2
o_dir.h
libs/win32/openssl/include/o_dir.h
+53
-2
o_str.h
libs/win32/openssl/include/o_str.h
+68
-2
obj_mac.h
libs/win32/openssl/include/obj_mac.h
+4032
-2
objects.h
libs/win32/openssl/include/objects.h
+1138
-2
ocsp.h
libs/win32/openssl/include/ocsp.h
+623
-2
opensslv.h
libs/win32/openssl/include/opensslv.h
+89
-2
ossl_typ.h
libs/win32/openssl/include/ossl_typ.h
+202
-2
pem.h
libs/win32/openssl/include/pem.h
+641
-2
pem2.h
libs/win32/openssl/include/pem2.h
+70
-2
pkcs12.h
libs/win32/openssl/include/pkcs12.h
+331
-2
pkcs7.h
libs/win32/openssl/include/pkcs7.h
+499
-2
pqueue.h
libs/win32/openssl/include/pqueue.h
+94
-2
rand.h
libs/win32/openssl/include/rand.h
+149
-2
rc2.h
libs/win32/openssl/include/rc2.h
+103
-2
rc4.h
libs/win32/openssl/include/rc4.h
+90
-2
rc5.h
libs/win32/openssl/include/rc5.h
+118
-2
ripemd.h
libs/win32/openssl/include/ripemd.h
+107
-2
rsa.h
libs/win32/openssl/include/rsa.h
+582
-2
safestack.h
libs/win32/openssl/include/safestack.h
+2663
-2
seed.h
libs/win32/openssl/include/seed.h
+139
-2
sha.h
libs/win32/openssl/include/sha.h
+214
-2
srp.h
libs/win32/openssl/include/srp.h
+172
-0
ssl.h
libs/win32/openssl/include/ssl.h
+2573
-2
ssl2.h
libs/win32/openssl/include/ssl2.h
+272
-2
ssl23.h
libs/win32/openssl/include/ssl23.h
+83
-2
ssl3.h
libs/win32/openssl/include/ssl3.h
+678
-2
stack.h
libs/win32/openssl/include/stack.h
+108
-2
store.h
libs/win32/openssl/include/store.h
+561
-2
symhacks.h
libs/win32/openssl/include/symhacks.h
+477
-2
tls1.h
libs/win32/openssl/include/tls1.h
+735
-2
ts.h
libs/win32/openssl/include/ts.h
+858
-2
txt_db.h
libs/win32/openssl/include/txt_db.h
+112
-2
ui.h
libs/win32/openssl/include/ui.h
+383
-2
ui_compat.h
libs/win32/openssl/include/ui_compat.h
+83
-2
whrlpool.h
libs/win32/openssl/include/whrlpool.h
+41
-2
x509.h
libs/win32/openssl/include/x509.h
+1297
-2
x509_vfy.h
libs/win32/openssl/include/x509_vfy.h
+567
-2
x509v3.h
libs/win32/openssl/include/x509v3.h
+1007
-2
libeay32.2010.vcxproj
libs/win32/openssl/libeay32.2010.vcxproj
+696
-668
libeay32.2010.vcxproj.filters
libs/win32/openssl/libeay32.2010.vcxproj.filters
+726
-636
libeay32.2012.vcxproj
libs/win32/openssl/libeay32.2012.vcxproj
+698
-670
libeay32.2012.vcxproj.filters
libs/win32/openssl/libeay32.2012.vcxproj.filters
+726
-636
libeay32.def
libs/win32/openssl/libeay32.def
+118
-1
openssl.2010.vcxproj
libs/win32/openssl/openssl.2010.vcxproj
+57
-56
openssl.2010.vcxproj.filters
libs/win32/openssl/openssl.2010.vcxproj.filters
+55
-52
openssl.2012.vcxproj
libs/win32/openssl/openssl.2012.vcxproj
+59
-58
openssl.2012.vcxproj.filters
libs/win32/openssl/openssl.2012.vcxproj.filters
+55
-52
ssleay32.2010.vcxproj
libs/win32/openssl/ssleay32.2010.vcxproj
+61
-59
ssleay32.2010.vcxproj.filters
libs/win32/openssl/ssleay32.2010.vcxproj.filters
+53
-47
ssleay32.2012.vcxproj
libs/win32/openssl/ssleay32.2012.vcxproj
+63
-61
ssleay32.2012.vcxproj.filters
libs/win32/openssl/ssleay32.2012.vcxproj.filters
+53
-47
ssleay32.def
libs/win32/openssl/ssleay32.def
+44
-0
没有找到文件。
Freeswitch.2008.express.sln
→
Freeswitch.2008.express.
unsupported.
sln
浏览文件 @
54540811
File moved
Freeswitch.2008.sln
→
Freeswitch.2008.
unsupported.
sln
浏览文件 @
54540811
File moved
libs/win32/Download OPENSSL.2010.vcxproj
浏览文件 @
54540811
...
...
@@ -52,11 +52,11 @@
<CustomBuild
Include=
"OPENSSL\cleancount"
>
<FileType>
Document
</FileType>
<Message
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
Downloading OPENSSL
</Message>
<Command
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
if not exist "$(ProjectDir)..\openssl-1.0.
0a" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/openssl-1.0.0a
.tar.gz "$(ProjectDir).."
<Command
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
if not exist "$(ProjectDir)..\openssl-1.0.
1c" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/openssl-1.0.1c
.tar.gz "$(ProjectDir).."
</Command>
<Outputs
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
$(ProjectDir)..\OPENSSL;%(Outputs)
</Outputs>
<Message
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
Downloading OPENSSL
</Message>
<Command
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
if not exist "$(ProjectDir)..\openssl-1.0.
0a" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/openssl-1.0.0a
.tar.gz "$(ProjectDir).."
<Command
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
if not exist "$(ProjectDir)..\openssl-1.0.
1c" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/openssl-1.0.1c
.tar.gz "$(ProjectDir).."
</Command>
<Outputs
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
$(ProjectDir)..\OPENSSL;%(Outputs)
</Outputs>
</CustomBuild>
...
...
libs/win32/Download OPENSSL.2012.vcxproj
浏览文件 @
54540811
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project
DefaultTargets=
"Build"
ToolsVersion=
"4.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<ItemGroup
Label=
"ProjectConfigurations"
>
<ProjectConfiguration
Include=
"Debug|Win32"
>
...
...
@@ -54,7 +54,7 @@
<CustomBuild
Include=
"OPENSSL\cleancount"
>
<FileType>
Document
</FileType>
<Message
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
Downloading OPENSSL
</Message>
<Command
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
if not exist "$(ProjectDir)..\openssl-1.0.
0a" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/openssl-1.0.0a
.tar.gz "$(ProjectDir).."
<Command
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
if not exist "$(ProjectDir)..\openssl-1.0.
1c" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/openssl-1.0.1c
.tar.gz "$(ProjectDir).."
</Command>
<Outputs
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
$(ProjectDir)..\OPENSSL;%(Outputs)
</Outputs>
<Message
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
Downloading OPENSSL
</Message>
...
...
@@ -66,4 +66,4 @@
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.targets"
/>
<ImportGroup
Label=
"ExtensionTargets"
>
</ImportGroup>
</Project>
</Project>
\ No newline at end of file
libs/win32/openssl/include/aes.h
浏览文件 @
54540811
/* file generated by 'generate-global-headers.bat' */
#include "..\../crypto/aes/aes.h"
/* crypto/aes/aes.h -*- mode:C; c-file-style: "eay" -*- */
/* ====================================================================
* 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 */
libs/win32/openssl/include/asn1.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/asn1_mac.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/asn1t.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/bio.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/blowfish.h
浏览文件 @
54540811
/* file generated by 'generate-global-headers.bat' */
#include "..\../crypto/bf/blowfish.h"
/* crypto/bf/blowfish.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* 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 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 acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@cryptsoft.com)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS 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 AUTHOR OR 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.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
#ifndef HEADER_BLOWFISH_H
#define HEADER_BLOWFISH_H
#include <openssl/e_os2.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#ifdef OPENSSL_NO_BF
#error BF is disabled.
#endif
#define BF_ENCRYPT 1
#define BF_DECRYPT 0
/*
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* ! BF_LONG has to be at least 32 bits wide. If it's wider, then !
* ! BF_LONG_LOG2 has to be defined along. !
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*/
#if defined(__LP32__)
#define BF_LONG unsigned long
#elif defined(OPENSSL_SYS_CRAY) || defined(__ILP64__)
#define BF_LONG unsigned long
#define BF_LONG_LOG2 3
/*
* _CRAY note. I could declare short, but I have no idea what impact
* does it have on performance on none-T3E machines. I could declare
* int, but at least on C90 sizeof(int) can be chosen at compile time.
* So I've chosen long...
* <appro@fy.chalmers.se>
*/
#else
#define BF_LONG unsigned int
#endif
#define BF_ROUNDS 16
#define BF_BLOCK 8
typedef
struct
bf_key_st
{
BF_LONG
P
[
BF_ROUNDS
+
2
];
BF_LONG
S
[
4
*
256
];
}
BF_KEY
;
#ifdef OPENSSL_FIPS
void
private_BF_set_key
(
BF_KEY
*
key
,
int
len
,
const
unsigned
char
*
data
);
#endif
void
BF_set_key
(
BF_KEY
*
key
,
int
len
,
const
unsigned
char
*
data
);
void
BF_encrypt
(
BF_LONG
*
data
,
const
BF_KEY
*
key
);
void
BF_decrypt
(
BF_LONG
*
data
,
const
BF_KEY
*
key
);
void
BF_ecb_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
const
BF_KEY
*
key
,
int
enc
);
void
BF_cbc_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
long
length
,
const
BF_KEY
*
schedule
,
unsigned
char
*
ivec
,
int
enc
);
void
BF_cfb64_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
long
length
,
const
BF_KEY
*
schedule
,
unsigned
char
*
ivec
,
int
*
num
,
int
enc
);
void
BF_ofb64_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
long
length
,
const
BF_KEY
*
schedule
,
unsigned
char
*
ivec
,
int
*
num
);
const
char
*
BF_options
(
void
);
#ifdef __cplusplus
}
#endif
#endif
libs/win32/openssl/include/bn.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/buffer.h
浏览文件 @
54540811
/* file generated by 'generate-global-headers.bat' */
#include "..\../crypto/buffer/buffer.h"
/* crypto/buffer/buffer.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* 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 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 acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@cryptsoft.com)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS 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 AUTHOR OR 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.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
#ifndef HEADER_BUFFER_H
#define HEADER_BUFFER_H
#include <openssl/ossl_typ.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#include <stddef.h>
#if !defined(NO_SYS_TYPES_H)
#include <sys/types.h>
#endif
/* Already declared in ossl_typ.h */
/* typedef struct buf_mem_st BUF_MEM; */
struct
buf_mem_st
{
size_t
length
;
/* current number of bytes */
char
*
data
;
size_t
max
;
/* size of buffer */
};
BUF_MEM
*
BUF_MEM_new
(
void
);
void
BUF_MEM_free
(
BUF_MEM
*
a
);
int
BUF_MEM_grow
(
BUF_MEM
*
str
,
size_t
len
);
int
BUF_MEM_grow_clean
(
BUF_MEM
*
str
,
size_t
len
);
char
*
BUF_strdup
(
const
char
*
str
);
char
*
BUF_strndup
(
const
char
*
str
,
size_t
siz
);
void
*
BUF_memdup
(
const
void
*
data
,
size_t
siz
);
void
BUF_reverse
(
unsigned
char
*
out
,
unsigned
char
*
in
,
size_t
siz
);
/* safe string functions */
size_t
BUF_strlcpy
(
char
*
dst
,
const
char
*
src
,
size_t
siz
);
size_t
BUF_strlcat
(
char
*
dst
,
const
char
*
src
,
size_t
siz
);
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes
* made after this point may be overwritten when the script is next run.
*/
void
ERR_load_BUF_strings
(
void
);
/* Error codes for the BUF functions. */
/* Function codes. */
#define BUF_F_BUF_MEMDUP 103
#define BUF_F_BUF_MEM_GROW 100
#define BUF_F_BUF_MEM_GROW_CLEAN 105
#define BUF_F_BUF_MEM_NEW 101
#define BUF_F_BUF_STRDUP 102
#define BUF_F_BUF_STRNDUP 104
/* Reason codes. */
#ifdef __cplusplus
}
#endif
#endif
libs/win32/openssl/include/camellia.h
浏览文件 @
54540811
/* file generated by 'generate-global-headers.bat' */
#include "..\../crypto/camellia/camellia.h"
/* crypto/camellia/camellia.h -*- mode:C; c-file-style: "eay" -*- */
/* ====================================================================
* Copyright (c) 2006 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_CAMELLIA_H
#define HEADER_CAMELLIA_H
#include <openssl/opensslconf.h>
#ifdef OPENSSL_NO_CAMELLIA
#error CAMELLIA is disabled.
#endif
#include <stddef.h>
#define CAMELLIA_ENCRYPT 1
#define CAMELLIA_DECRYPT 0
/* Because array size can't be a const in C, the following two are macros.
Both sizes are in bytes. */
#ifdef __cplusplus
extern
"C"
{
#endif
/* This should be a hidden type, but EVP requires that the size be known */
#define CAMELLIA_BLOCK_SIZE 16
#define CAMELLIA_TABLE_BYTE_LEN 272
#define CAMELLIA_TABLE_WORD_LEN (CAMELLIA_TABLE_BYTE_LEN / 4)
typedef
unsigned
int
KEY_TABLE_TYPE
[
CAMELLIA_TABLE_WORD_LEN
];
/* to match with WORD */
struct
camellia_key_st
{
union
{
double
d
;
/* ensures 64-bit align */
KEY_TABLE_TYPE
rd_key
;
}
u
;
int
grand_rounds
;
};
typedef
struct
camellia_key_st
CAMELLIA_KEY
;
#ifdef OPENSSL_FIPS
int
private_Camellia_set_key
(
const
unsigned
char
*
userKey
,
const
int
bits
,
CAMELLIA_KEY
*
key
);
#endif
int
Camellia_set_key
(
const
unsigned
char
*
userKey
,
const
int
bits
,
CAMELLIA_KEY
*
key
);
void
Camellia_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
const
CAMELLIA_KEY
*
key
);
void
Camellia_decrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
const
CAMELLIA_KEY
*
key
);
void
Camellia_ecb_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
const
CAMELLIA_KEY
*
key
,
const
int
enc
);
void
Camellia_cbc_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
size_t
length
,
const
CAMELLIA_KEY
*
key
,
unsigned
char
*
ivec
,
const
int
enc
);
void
Camellia_cfb128_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
size_t
length
,
const
CAMELLIA_KEY
*
key
,
unsigned
char
*
ivec
,
int
*
num
,
const
int
enc
);
void
Camellia_cfb1_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
size_t
length
,
const
CAMELLIA_KEY
*
key
,
unsigned
char
*
ivec
,
int
*
num
,
const
int
enc
);
void
Camellia_cfb8_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
size_t
length
,
const
CAMELLIA_KEY
*
key
,
unsigned
char
*
ivec
,
int
*
num
,
const
int
enc
);
void
Camellia_ofb128_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
size_t
length
,
const
CAMELLIA_KEY
*
key
,
unsigned
char
*
ivec
,
int
*
num
);
void
Camellia_ctr128_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
size_t
length
,
const
CAMELLIA_KEY
*
key
,
unsigned
char
ivec
[
CAMELLIA_BLOCK_SIZE
],
unsigned
char
ecount_buf
[
CAMELLIA_BLOCK_SIZE
],
unsigned
int
*
num
);
#ifdef __cplusplus
}
#endif
#endif
/* !HEADER_Camellia_H */
libs/win32/openssl/include/cast.h
浏览文件 @
54540811
/* file generated by 'generate-global-headers.bat' */
#include "..\../crypto/cast/cast.h"
/* crypto/cast/cast.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* 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 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 acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@cryptsoft.com)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS 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 AUTHOR OR 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.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
#ifndef HEADER_CAST_H
#define HEADER_CAST_H
#ifdef __cplusplus
extern
"C"
{
#endif
#include <openssl/opensslconf.h>
#ifdef OPENSSL_NO_CAST
#error CAST is disabled.
#endif
#define CAST_ENCRYPT 1
#define CAST_DECRYPT 0
#define CAST_LONG unsigned int
#define CAST_BLOCK 8
#define CAST_KEY_LENGTH 16
typedef
struct
cast_key_st
{
CAST_LONG
data
[
32
];
int
short_key
;
/* Use reduced rounds for short key */
}
CAST_KEY
;
#ifdef OPENSSL_FIPS
void
private_CAST_set_key
(
CAST_KEY
*
key
,
int
len
,
const
unsigned
char
*
data
);
#endif
void
CAST_set_key
(
CAST_KEY
*
key
,
int
len
,
const
unsigned
char
*
data
);
void
CAST_ecb_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
const
CAST_KEY
*
key
,
int
enc
);
void
CAST_encrypt
(
CAST_LONG
*
data
,
const
CAST_KEY
*
key
);
void
CAST_decrypt
(
CAST_LONG
*
data
,
const
CAST_KEY
*
key
);
void
CAST_cbc_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
long
length
,
const
CAST_KEY
*
ks
,
unsigned
char
*
iv
,
int
enc
);
void
CAST_cfb64_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
long
length
,
const
CAST_KEY
*
schedule
,
unsigned
char
*
ivec
,
int
*
num
,
int
enc
);
void
CAST_ofb64_encrypt
(
const
unsigned
char
*
in
,
unsigned
char
*
out
,
long
length
,
const
CAST_KEY
*
schedule
,
unsigned
char
*
ivec
,
int
*
num
);
#ifdef __cplusplus
}
#endif
#endif
libs/win32/openssl/include/cmac.h
0 → 100644
浏览文件 @
54540811
/* crypto/cmac/cmac.h */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
/* ====================================================================
* Copyright (c) 2010 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
* licensing@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_CMAC_H
#define HEADER_CMAC_H
#ifdef __cplusplus
extern
"C"
{
#endif
#include <openssl/evp.h>
/* Opaque */
typedef
struct
CMAC_CTX_st
CMAC_CTX
;
CMAC_CTX
*
CMAC_CTX_new
(
void
);
void
CMAC_CTX_cleanup
(
CMAC_CTX
*
ctx
);
void
CMAC_CTX_free
(
CMAC_CTX
*
ctx
);
EVP_CIPHER_CTX
*
CMAC_CTX_get0_cipher_ctx
(
CMAC_CTX
*
ctx
);
int
CMAC_CTX_copy
(
CMAC_CTX
*
out
,
const
CMAC_CTX
*
in
);
int
CMAC_Init
(
CMAC_CTX
*
ctx
,
const
void
*
key
,
size_t
keylen
,
const
EVP_CIPHER
*
cipher
,
ENGINE
*
impl
);
int
CMAC_Update
(
CMAC_CTX
*
ctx
,
const
void
*
data
,
size_t
dlen
);
int
CMAC_Final
(
CMAC_CTX
*
ctx
,
unsigned
char
*
out
,
size_t
*
poutlen
);
int
CMAC_resume
(
CMAC_CTX
*
ctx
);
#ifdef __cplusplus
}
#endif
#endif
libs/win32/openssl/include/cms.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/comp.h
浏览文件 @
54540811
/* file generated by 'generate-global-headers.bat' */
#include "..\../crypto/comp/comp.h"
#ifndef HEADER_COMP_H
#define HEADER_COMP_H
#include <openssl/crypto.h>
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
struct
comp_ctx_st
COMP_CTX
;
typedef
struct
comp_method_st
{
int
type
;
/* NID for compression library */
const
char
*
name
;
/* A text string to identify the library */
int
(
*
init
)(
COMP_CTX
*
ctx
);
void
(
*
finish
)(
COMP_CTX
*
ctx
);
int
(
*
compress
)(
COMP_CTX
*
ctx
,
unsigned
char
*
out
,
unsigned
int
olen
,
unsigned
char
*
in
,
unsigned
int
ilen
);
int
(
*
expand
)(
COMP_CTX
*
ctx
,
unsigned
char
*
out
,
unsigned
int
olen
,
unsigned
char
*
in
,
unsigned
int
ilen
);
/* The following two do NOTHING, but are kept for backward compatibility */
long
(
*
ctrl
)(
void
);
long
(
*
callback_ctrl
)(
void
);
}
COMP_METHOD
;
struct
comp_ctx_st
{
COMP_METHOD
*
meth
;
unsigned
long
compress_in
;
unsigned
long
compress_out
;
unsigned
long
expand_in
;
unsigned
long
expand_out
;
CRYPTO_EX_DATA
ex_data
;
};
COMP_CTX
*
COMP_CTX_new
(
COMP_METHOD
*
meth
);
void
COMP_CTX_free
(
COMP_CTX
*
ctx
);
int
COMP_compress_block
(
COMP_CTX
*
ctx
,
unsigned
char
*
out
,
int
olen
,
unsigned
char
*
in
,
int
ilen
);
int
COMP_expand_block
(
COMP_CTX
*
ctx
,
unsigned
char
*
out
,
int
olen
,
unsigned
char
*
in
,
int
ilen
);
COMP_METHOD
*
COMP_rle
(
void
);
COMP_METHOD
*
COMP_zlib
(
void
);
void
COMP_zlib_cleanup
(
void
);
#ifdef HEADER_BIO_H
#ifdef ZLIB
BIO_METHOD
*
BIO_f_zlib
(
void
);
#endif
#endif
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes
* made after this point may be overwritten when the script is next run.
*/
void
ERR_load_COMP_strings
(
void
);
/* Error codes for the COMP functions. */
/* Function codes. */
#define COMP_F_BIO_ZLIB_FLUSH 99
#define COMP_F_BIO_ZLIB_NEW 100
#define COMP_F_BIO_ZLIB_READ 101
#define COMP_F_BIO_ZLIB_WRITE 102
/* Reason codes. */
#define COMP_R_ZLIB_DEFLATE_ERROR 99
#define COMP_R_ZLIB_INFLATE_ERROR 100
#define COMP_R_ZLIB_NOT_SUPPORTED 101
#ifdef __cplusplus
}
#endif
#endif
libs/win32/openssl/include/conf.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/conf_api.h
浏览文件 @
54540811
/* file generated by 'generate-global-headers.bat' */
#include "..\../crypto/conf/conf_api.h"
/* conf_api.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* 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 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 acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@cryptsoft.com)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS 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 AUTHOR OR 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.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
#ifndef HEADER_CONF_API_H
#define HEADER_CONF_API_H
#include <openssl/lhash.h>
#include <openssl/conf.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* Up until OpenSSL 0.9.5a, this was new_section */
CONF_VALUE
*
_CONF_new_section
(
CONF
*
conf
,
const
char
*
section
);
/* Up until OpenSSL 0.9.5a, this was get_section */
CONF_VALUE
*
_CONF_get_section
(
const
CONF
*
conf
,
const
char
*
section
);
/* Up until OpenSSL 0.9.5a, this was CONF_get_section */
STACK_OF
(
CONF_VALUE
)
*
_CONF_get_section_values
(
const
CONF
*
conf
,
const
char
*
section
);
int
_CONF_add_string
(
CONF
*
conf
,
CONF_VALUE
*
section
,
CONF_VALUE
*
value
);
char
*
_CONF_get_string
(
const
CONF
*
conf
,
const
char
*
section
,
const
char
*
name
);
long
_CONF_get_number
(
const
CONF
*
conf
,
const
char
*
section
,
const
char
*
name
);
int
_CONF_new_data
(
CONF
*
conf
);
void
_CONF_free_data
(
CONF
*
conf
);
#ifdef __cplusplus
}
#endif
#endif
libs/win32/openssl/include/crypto.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/des.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/des_old.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/dh.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/dsa.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/dso.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/dtls1.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/e_os.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/e_os2.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ebcdic.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ec.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ecdh.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ecdsa.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/engine.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/err.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/evp.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/hmac.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/idea.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/krb5_asn.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/kssl.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/lhash.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/md2.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/md4.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/md5.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/mdc2.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/modes.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/o_dir.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/o_str.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/obj_mac.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/objects.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ocsp.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/opensslv.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ossl_typ.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/pem.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/pem2.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/pkcs12.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/pkcs7.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/pqueue.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/rand.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/rc2.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/rc4.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/rc5.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ripemd.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/rsa.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/safestack.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/seed.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/sha.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/srp.h
0 → 100644
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ssl.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ssl2.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ssl23.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ssl3.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/stack.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/store.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/symhacks.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/tls1.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ts.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/txt_db.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ui.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/ui_compat.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/whrlpool.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/x509.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/x509_vfy.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/include/x509v3.h
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/libeay32.2010.vcxproj
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/libeay32.2010.vcxproj.filters
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/libeay32.2012.vcxproj
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/libeay32.2012.vcxproj.filters
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/libeay32.def
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/openssl.2010.vcxproj
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/openssl.2010.vcxproj.filters
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/openssl.2012.vcxproj
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/openssl.2012.vcxproj.filters
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/ssleay32.2010.vcxproj
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/ssleay32.2010.vcxproj.filters
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/ssleay32.2012.vcxproj
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/ssleay32.2012.vcxproj.filters
浏览文件 @
54540811
差异被折叠。
点击展开。
libs/win32/openssl/ssleay32.def
浏览文件 @
54540811
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论