Skip to content

Commit b59da77

Browse files
author
liangdc
committed
20161012
1 parent b2a0d85 commit b59da77

File tree

1,518 files changed

+284447
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,518 files changed

+284447
-0
lines changed

ChangeLog.txt

Lines changed: 757 additions & 0 deletions
Large diffs are not rendered by default.

Common/ChangeLog.txt

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
2+
Module : vc-common-src
3+
Desc : HP-Socket �� VC-Logger ���������
4+
Usage : ����Ҫ�Ĵ����ļ����뵽��Ŀ��
5+
6+
==========================================================================================
7+
v2.3.15 ���£�
8+
==========================================================================================
9+
10+
1������ openssl �� 1.1.0b
11+
2������ VS2015 openssl ��̬��
12+
3������ Src/http/http-parser.h(.cpp) Դ��
13+
4������ Src/crypto/crypto.h(.cpp) Դ��
14+
15+
==========================================================================================
16+
v2.3.14 ���£�
17+
==========================================================================================
18+
19+
1���޸� RingBuffer.cpp���޸� CCASQueue �����ڶ���������߳�ʱ�����쳣 Bug
20+
21+
==========================================================================================
22+
v2.3.13 ���£�
23+
==========================================================================================
24+
25+
1���޸� bufferpool.cpp���޸� CBufferPool::PutFreeBuffer(TBuffer* pBuffer) û����� Map Bug
26+
27+
==========================================================================================
28+
v2.3.12 ���£�
29+
==========================================================================================
30+
31+
1���޸� bufferpool.h������ CNodePoolT ģ����
32+
2���޸� RingBuffer.h�������޸� CCASQueue ���ܵ�������ѭ�� Bug
33+
34+
==========================================================================================
35+
v2.3.11 ���£�
36+
==========================================================================================
37+
38+
1���޸� RingBuffer.h���޸� CCASQueue ���ܵ�������ѭ�� Bug
39+
40+
==========================================================================================
41+
v2.3.10 ���£�
42+
==========================================================================================
43+
44+
1���޸� RWLock.h/.cpp������ Slim Lock ʵ�������д�� CSlimRWLock
45+
46+
==========================================================================================
47+
v2.3.9 ���£�
48+
==========================================================================================
49+
50+
1���޸� GeneralHelper.h����߱��������
51+
2���޸� Thread.h�������ֲ߳̾��洢�� CTlsObj
52+
53+
==========================================================================================
54+
v2.3.8 ���£�
55+
==========================================================================================
56+
57+
1���޸� bufferpool.h(.cpp)
58+
1) TItem ���� Peek() ����
59+
2) TItemList ���� Peek() ����
60+
3) TBuffer ���� Peek() ����
61+
2���޸� CriticalSection.h
62+
1) ���� CReentrantSpinLock��CReentrantSpinGuard
63+
64+
==========================================================================================
65+
v2.3.7 ���£�
66+
==========================================================================================
67+
68+
1���޸� CriticalSection.h
69+
1) ���� CSpinLock��CSpinGuard
70+
2) ���� CInterCriSec ��Ĭ�� Spin Count Ϊ 4096
71+
2���޸� RWLock.h
72+
1) �� CSpinLock ȡ�� CInterCriSec ��Ϊ CRWLock �� CSWMR ��ͬ����
73+
2) ���� ICVCondition/CCVGuardCS/CCVGuardSRW ���࣬����ʵ��������-������ģ��
74+
3������ RingBuffer.h/.cpp�������ܶ�д������
75+
4������ Thread.h/.cpp���̷߳�װ��
76+
77+
==========================================================================================
78+
v2.3.6 ���£�
79+
==========================================================================================
80+
81+
1���޸� RWLock.h������ VS 2005/2008
82+
2���޸� bufferpool.cpp��memmove() �滻Ϊ memcpy()
83+
84+
==========================================================================================
85+
v2.3.5 ���£�
86+
==========================================================================================
87+
88+
1���޸� STLHelper.h������ unordered_set / unordered_map ����
89+
2���޸� bufferpool.h��TBufferPtrMap ����Ϊ unordered_map
90+
91+
==========================================================================================
92+
v2.3.4 ���£�
93+
==========================================================================================
94+
95+
1���޸� RWLock.h�����ӷ������д�� CSlimLock
96+
2���޸� bufferpool.h/bufferpool.cpp�������� TItemListEx
97+
3������ SysHelper.h/SysHelper.cpp���ṩ��ȡϵͳ��Ϣ�İ�������
98+
99+
==========================================================================================
100+
v2.3.3 ���£�
101+
==========================================================================================
102+
103+
1���޸� bufferpool.cpp���Ż� CBufferPool��TItemList
104+
2���޸� STLHelper.h������ stack��queue��deque �Ļ������� typedef ����
105+
3���޸� FuncHelper.h��FuncHelper.cpp������ VS 2013
106+
4���޸� GeneralHelper.h
107+
1) 32 λϵͳ _WIN32_WINNT Ĭ��ֵ��_WIN32_WINNT_WINXP
108+
2) 64 λϵͳ _WIN32_WINNT Ĭ��ֵ��_WIN32_WINNT_WIN7
109+
110+
==========================================================================================
111+
v2.3.2 ���£�
112+
==========================================================================================
113+
114+
1������ bufferpool.h
115+
2������ bufferpool.cpp
116+
117+
==========================================================================================
118+
v2.3.1 ���£�
119+
==========================================================================================
120+
121+
1������ RWLock.h
122+
2������ RWLock.cpp
123+
3��ɾ�� CMTX/CSEM/CEvent ��ġ�operator HANDLE* &()�����������
124+
4���޸� WaitFor.cpp���Ż���GetTimeGap32()������
125+
126+
==========================================================================================
127+
v2.2.2 ���£�
128+
==========================================================================================
129+
130+
1���޸� GeneralHelper.h
131+
2���޸� FuncHelper.cpp
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
3+
*
4+
* Licensed under the OpenSSL license (the "License"). You may not use
5+
* this file except in compliance with the License. You can obtain a copy
6+
* in the file LICENSE in the source distribution or at
7+
* https://www.openssl.org/source/license.html
8+
*/
9+
10+
/*
11+
* This file is only used by HP C on VMS, and is included automatically
12+
* after each header file from this directory
13+
*/
14+
15+
/* restore state. Must correspond to the save in __decc_include_prologue.h */
16+
#pragma names restore
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
3+
*
4+
* Licensed under the OpenSSL license (the "License"). You may not use
5+
* this file except in compliance with the License. You can obtain a copy
6+
* in the file LICENSE in the source distribution or at
7+
* https://www.openssl.org/source/license.html
8+
*/
9+
10+
/*
11+
* This file is only used by HP C on VMS, and is included automatically
12+
* after each header file from this directory
13+
*/
14+
15+
/* save state */
16+
#pragma names save
17+
/* have the compiler shorten symbols larger than 31 chars to 23 chars
18+
* followed by a 8 hex char CRC
19+
*/
20+
#pragma names as_is,shortened
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
/*
2+
* Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
3+
*
4+
* Licensed under the OpenSSL license (the "License"). You may not use
5+
* this file except in compliance with the License. You can obtain a copy
6+
* in the file LICENSE in the source distribution or at
7+
* https://www.openssl.org/source/license.html
8+
*/
9+
10+
#ifndef HEADER_AES_H
11+
# define HEADER_AES_H
12+
13+
# include <openssl/opensslconf.h>
14+
15+
# include <stddef.h>
16+
# ifdef __cplusplus
17+
extern "C" {
18+
# endif
19+
20+
# define AES_ENCRYPT 1
21+
# define AES_DECRYPT 0
22+
23+
/*
24+
* Because array size can't be a const in C, the following two are macros.
25+
* Both sizes are in bytes.
26+
*/
27+
# define AES_MAXNR 14
28+
# define AES_BLOCK_SIZE 16
29+
30+
/* This should be a hidden type, but EVP requires that the size be known */
31+
struct aes_key_st {
32+
# ifdef AES_LONG
33+
unsigned long rd_key[4 * (AES_MAXNR + 1)];
34+
# else
35+
unsigned int rd_key[4 * (AES_MAXNR + 1)];
36+
# endif
37+
int rounds;
38+
};
39+
typedef struct aes_key_st AES_KEY;
40+
41+
const char *AES_options(void);
42+
43+
int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
44+
AES_KEY *key);
45+
int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
46+
AES_KEY *key);
47+
48+
void AES_encrypt(const unsigned char *in, unsigned char *out,
49+
const AES_KEY *key);
50+
void AES_decrypt(const unsigned char *in, unsigned char *out,
51+
const AES_KEY *key);
52+
53+
void AES_ecb_encrypt(const unsigned char *in, unsigned char *out,
54+
const AES_KEY *key, const int enc);
55+
void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
56+
size_t length, const AES_KEY *key,
57+
unsigned char *ivec, const int enc);
58+
void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out,
59+
size_t length, const AES_KEY *key,
60+
unsigned char *ivec, int *num, const int enc);
61+
void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out,
62+
size_t length, const AES_KEY *key,
63+
unsigned char *ivec, int *num, const int enc);
64+
void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out,
65+
size_t length, const AES_KEY *key,
66+
unsigned char *ivec, int *num, const int enc);
67+
void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out,
68+
size_t length, const AES_KEY *key,
69+
unsigned char *ivec, int *num);
70+
/* NB: the IV is _two_ blocks long */
71+
void AES_ige_encrypt(const unsigned char *in, unsigned char *out,
72+
size_t length, const AES_KEY *key,
73+
unsigned char *ivec, const int enc);
74+
/* NB: the IV is _four_ blocks long */
75+
void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out,
76+
size_t length, const AES_KEY *key,
77+
const AES_KEY *key2, const unsigned char *ivec,
78+
const int enc);
79+
80+
int AES_wrap_key(AES_KEY *key, const unsigned char *iv,
81+
unsigned char *out,
82+
const unsigned char *in, unsigned int inlen);
83+
int AES_unwrap_key(AES_KEY *key, const unsigned char *iv,
84+
unsigned char *out,
85+
const unsigned char *in, unsigned int inlen);
86+
87+
88+
# ifdef __cplusplus
89+
}
90+
# endif
91+
92+
#endif

0 commit comments

Comments
 (0)