Skip to content

Commit

Permalink
20161012
Browse files Browse the repository at this point in the history
  • Loading branch information
liangdc committed Oct 12, 2016
1 parent b2a0d85 commit b59da77
Show file tree
Hide file tree
Showing 1,518 changed files with 284,447 additions and 0 deletions.
757 changes: 757 additions & 0 deletions ChangeLog.txt

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions Common/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@

Module : vc-common-src
Desc : HP-Socket �� VC-Logger ���������
Usage : ����Ҫ�Ĵ����ļ����뵽��Ŀ��

==========================================================================================
v2.3.15 ���£�
==========================================================================================

1������ openssl �� 1.1.0b
2������ VS2015 openssl ��̬��
3������ Src/http/http-parser.h(.cpp) Դ��
4������ Src/crypto/crypto.h(.cpp) Դ��

==========================================================================================
v2.3.14 ���£�
==========================================================================================

1���޸� RingBuffer.cpp���޸� CCASQueue �����ڶ���������߳�ʱ�����쳣 Bug

==========================================================================================
v2.3.13 ���£�
==========================================================================================

1���޸� bufferpool.cpp���޸� CBufferPool::PutFreeBuffer(TBuffer* pBuffer) û����� Map Bug

==========================================================================================
v2.3.12 ���£�
==========================================================================================

1���޸� bufferpool.h������ CNodePoolT ģ����
2���޸� RingBuffer.h�������޸� CCASQueue ���ܵ�������ѭ�� Bug

==========================================================================================
v2.3.11 ���£�
==========================================================================================

1���޸� RingBuffer.h���޸� CCASQueue ���ܵ�������ѭ�� Bug

==========================================================================================
v2.3.10 ���£�
==========================================================================================

1���޸� RWLock.h/.cpp������ Slim Lock ʵ�������д�� CSlimRWLock

==========================================================================================
v2.3.9 ���£�
==========================================================================================

1���޸� GeneralHelper.h����߱��������
2���޸� Thread.h�������ֲ߳̾��洢�� CTlsObj

==========================================================================================
v2.3.8 ���£�
==========================================================================================

1���޸� bufferpool.h(.cpp)
1) TItem ���� Peek() ����
2) TItemList ���� Peek() ����
3) TBuffer ���� Peek() ����
2���޸� CriticalSection.h
1) ���� CReentrantSpinLock��CReentrantSpinGuard

==========================================================================================
v2.3.7 ���£�
==========================================================================================

1���޸� CriticalSection.h
1) ���� CSpinLock��CSpinGuard
2) ���� CInterCriSec ��Ĭ�� Spin Count Ϊ 4096
2���޸� RWLock.h
1) �� CSpinLock ȡ�� CInterCriSec ��Ϊ CRWLock �� CSWMR ��ͬ����
2) ���� ICVCondition/CCVGuardCS/CCVGuardSRW ���࣬����ʵ��������-������ģ��
3������ RingBuffer.h/.cpp�������ܶ�д������
4������ Thread.h/.cpp���̷߳�װ��

==========================================================================================
v2.3.6 ���£�
==========================================================================================

1���޸� RWLock.h������ VS 2005/2008
2���޸� bufferpool.cpp��memmove() �滻Ϊ memcpy()

==========================================================================================
v2.3.5 ���£�
==========================================================================================

1���޸� STLHelper.h������ unordered_set / unordered_map ����
2���޸� bufferpool.h��TBufferPtrMap ����Ϊ unordered_map

==========================================================================================
v2.3.4 ���£�
==========================================================================================

1���޸� RWLock.h�����ӷ������д�� CSlimLock
2���޸� bufferpool.h/bufferpool.cpp�������� TItemListEx
3������ SysHelper.h/SysHelper.cpp���ṩ��ȡϵͳ��Ϣ�İ�������

==========================================================================================
v2.3.3 ���£�
==========================================================================================

1���޸� bufferpool.cpp���Ż� CBufferPool��TItemList
2���޸� STLHelper.h������ stack��queue��deque �Ļ������� typedef ����
3���޸� FuncHelper.h��FuncHelper.cpp������ VS 2013
4���޸� GeneralHelper.h
1) 32 λϵͳ _WIN32_WINNT Ĭ��ֵ��_WIN32_WINNT_WINXP
2) 64 λϵͳ _WIN32_WINNT Ĭ��ֵ��_WIN32_WINNT_WIN7

==========================================================================================
v2.3.2 ���£�
==========================================================================================

1������ bufferpool.h
2������ bufferpool.cpp

==========================================================================================
v2.3.1 ���£�
==========================================================================================

1������ RWLock.h
2������ RWLock.cpp
3��ɾ�� CMTX/CSEM/CEvent ��ġ�operator HANDLE* &()�����������
4���޸� WaitFor.cpp���Ż���GetTimeGap32()������

==========================================================================================
v2.2.2 ���£�
==========================================================================================

1���޸� GeneralHelper.h
2���޸� FuncHelper.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* Copyright 2016 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
*/

/*
* This file is only used by HP C on VMS, and is included automatically
* after each header file from this directory
*/

/* restore state. Must correspond to the save in __decc_include_prologue.h */
#pragma names restore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright 2016 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
*/

/*
* This file is only used by HP C on VMS, and is included automatically
* after each header file from this directory
*/

/* save state */
#pragma names save
/* have the compiler shorten symbols larger than 31 chars to 23 chars
* followed by a 8 hex char CRC
*/
#pragma names as_is,shortened
92 changes: 92 additions & 0 deletions Common/Lib/openssl/10.0/x64/include/openssl/aes.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/*
* Copyright 2002-2016 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_AES_H
# define HEADER_AES_H

# include <openssl/opensslconf.h>

# include <stddef.h>
# ifdef __cplusplus
extern "C" {
# endif

# 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

/* 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);

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);
/* 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
Loading

0 comments on commit b59da77

Please sign in to comment.