- 博客(80)
- 收藏
- 关注
原创 HMAC implementation based on OPENSSL, Crypto API(CSP) and third party algorithm library
HMAC implementation, OPENSSL, Crypto API(CSP), android native, windows mobile, Symbian
2011-03-30 16:55:00
1720
原创 Debug a built binary file with VS and *.pdb file
<br /> Visual Studio 05 can be used as a powerful debug tool, and you may debug a binary file (exe or dll) as long as you have its corresponding *.pdb file and source code. You do not even have to create a VS project or solution.<br /> Here is the steps:
2010-05-31 18:36:00
880
原创 Debugging information for... cannot be found or does not match
Normal 0 false false false EN-US ZH-CN X-NONE
2010-04-27 13:35:00
2935
原创 Error shooting of Driver building with VC + DDK + DS
1. _MSC_VER too lowWell,the DDK version is too high, switch to VS 03. MS VC++ 9.0 _MSC_VER = 1500MS VC++ 8.0 _MSC_VER = 1400MS VC++ 7.1 _MSC_VER = 1310MS VC++ 7.0 _MSC
2010-03-08 10:18:00
983
原创 Creating Dialup Connections with RAS APIs
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <object class
2010-03-03 11:05:00
1599
原创 RSA相关
<!-- /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-a
2010-02-08 10:15:00
982
原创 RSA padding
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 Accordingto PK
2010-02-04 15:18:00
2970
原创 C51笔记(2)--Keil C 程序优化
1. 采用短变量。如bData,unsigned char。2. 无符号变量。51不支持符号运算。3. 避免使用浮点指针。浮点运算时要禁止中断。4. 局部变量代替全局变量。编译器分配局部变量在内部存储,全局变量在外部存储。5. 为变量分配内部存储区。6. 使用特定指针。7.
2010-01-18 17:18:00
1183
原创 C51笔记(1)—基本概念
1. 存储类型a) Data, 直接寻址的内部RAM地址,RAM低128 byte,一个周期内寻址b) bData,data区的16字节按位寻址区c) iData,间接寻址的内部RAM地址,RAM高128 byted) pData,外部存储的256个字节。e) xData,外部存储区,需要使用
2010-01-18 17:02:00
1217
原创 RSA in OPENSSL
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <!-- /* Fo
2009-08-06 16:01:00
14055
1
原创 Verify certificate with OPENSSL and CryptoAPI
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <!-- /*
2009-08-05 11:13:00
5794
1
原创 Windows Mobile 环境下证书功能使用
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <!-- /*
2009-07-17 17:32:00
1518
原创 hide the task bar and input panel in Windows Mobile
whendevelop the WM apps sometimes we need to hide the task bar and input panel.heresome methods are introduced with both C++ and C#. C++:bythe function SHFullScreen(), we may h
2009-07-15 17:17:00
1799
原创 Cellular Emulator in WM SDK6.0
With the Cellular Emulator provides we can make phone call can send SMS with the device emulator.Here is the steps to use:1, Launch the Cellular Emulator (Start/All Programs / Windows Mobile 6 SDK
2009-07-15 15:10:00
1002
原创 calling the OPENSSL libs in windows mobile
1. Steps to new a application a) New a smart device project b) Add additional include directory: ../celib; ../celib/openssl; ../celib/include; The last path is where the wcecompa
2009-07-02 17:51:00
2688
原创 Compile Open SSL in win NT/CE with VS2005
Well, with the commercial use of 3G,more and more application will flourish in the mobile platform. And most of theimplement is associated with security such as payment, E-bank, DRM and so on. So
2009-06-22 16:06:00
10492
4
原创 CWinThread in MFC
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <!-- /*
2009-05-31 20:19:00
1644
原创 The order of head .h file
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <!-- /*
2009-05-25 17:27:00
680
原创 SQL Server tips
1. Why don’t use “select * ” a) when a new culume isinserted into the DB, the current program may not work.b) The “query optimizer” maynot work. 2. chara) char的数
2009-05-13 15:48:00
834
转载 ECMG SCS SimulCrypt protocol
First introduce some Parameterdefinitions: ParametersemanticsAC_delay_start: this parameter shall beused in place of the delay start parameter for the first Crypto periodfollowing a chan
2009-05-11 20:41:00
3912
1
转载 SVN basic
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <!-- /* Font De
2009-05-08 13:58:00
1360
原创 EMMG MUX TCP-based protocol
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <! /*
2009-05-05 18:53:00
7627
原创 数字电视常用表总结
1, 一些定义ES:由编码器输出,可以是编码过的视频数据流,音频数据流,或其他编码数据流。ES流经过PES打包器之后,被转换成PES包。PES包由包头和payload组成。 PSI:MPEG-2中定义了PSI(Program Specific Information)信息,其作用是从一个携带多个节目的某一个TS流中正确找到特定的节目。 PSI表:PSI表包括节目关联表(PAT)
2009-04-21 17:56:00
2732
原创 Avoid using blocking function in main thread
Here the blocking function stands for any functions that cause the current thread enter the wait state, such as Sleep(),WaitForMultipleObject() and so on.The reason to avoid using blocking function
2009-04-13 10:08:00
812
原创 Insert raw data into a binary data field with ADO
With ADO it’s easy to append some common data type in to a field, such as char, int, short, string, double and so on. Just use the following sentences:rs->Fields->Item[2]->Value = "value";rs->Fiel
2009-04-12 10:36:00
883
原创 select records by Date in SQL Server
1, how to selectassume the table CAS.dbo._Test have a field AuthTime with the type datetime, We may use following SQL to select all the records in 2009-04-06. SELECT *FROM CAS.dbo._TestWHE
2009-04-10 17:34:00
884
原创 The Implementation of ALG_DES_MAC8_ISO9797_1_M2_ALG3
In order to work with the Java Card, we need to implement the algorithm ALG_DES_MAC8_ISO9797_1_M2_ALG3 outside the card. Here is the instruction from Java Card Application Programming Interface:
2008-12-31 20:05:00
4672
原创 Excel 笔记
*Four basic rules for design a Excel table:1. Every column is assigned with a title. 2. Store the data by lines, avoid empty lines.3. Avoid combine the grad.4. separate the
2008-12-30 23:07:00
854
原创 Simple Thread Pool
As is mentioned in my pervious article Thread Management Class, I shall introduce a simple thread pool implemented by the CThread class. For more information about class IRunnable and CThread, please
2008-12-30 23:00:00
1241
原创 Memory Leak Detection in Visual Studio
1. OverviewMemory leak—the failure to properly deallocate memory that was previously allocated.The Visual Studio debugger and C run-time (CRT) libraries provide effective means for detecting a
2008-12-29 21:49:00
3738
原创 Thread management class
Well, multi thread is a useful mechanism in many scenarios. But the thread is not easy to control. Here I will discuss a thread management class which provides a connection between thread function and
2008-12-29 21:20:00
1127
原创 The best way to fix a bug
be serious, I am telling a joke:--“why my program cracked when click the button?”--“just check the button function, step into it” Hours later… --“Did you fix the bug?”--“YES!” --“How
2008-12-29 20:56:00
642
原创 Enumerate the network adaptor in system
Just use GetAdaptersInfo() defined in iphlpapi.h, Link to Iphlpapi.lib.In the struct IP_ADAPTER_INFO you may get adaptor’s MAC, IPv4 addresses, gateways, and secondary WINS servers and so on. The Ad
2008-11-28 15:53:00
550
原创 Function name mangling in DLLs
-- DLL notes 3 of Windows via C/C++> Normally, C++ compilers mangle function and variable names. And there are some ways to change the way compilers mangling: extern "C"Using extern "C" tells the co
2008-11-28 15:51:00
677
原创 DLL file mapping
-- DLL notes 2 of Windows via C/C++> Let’s begin this topic with a question about exporting variables in DLL: Assume one process import a variable from a DLL, and change the value, then
2008-11-28 15:49:00
615
原创 Some common windows system DLL
-- DLL notes 1 of Windows via C/C++>1. windows system DLLsThe three most important DLLs in windows:Kernel32.dll, contains functions for managing memory, processes, and threads;User32.
2008-11-28 15:47:00
635
原创 Why I am so busy
Well after worked overtime till late night for the whole month, I am so tired both physically and mentally. Finally all the tests have past. I start to think why I am so busy.Thought time after time
2008-11-28 15:45:00
1310
原创 AES_ctr128
CTR is also an encryption mode, just use a counter as IV, and use IV’s cipher xor plain data by bytes.Cause x ^ y ^ y = x, we can see that the encrypt and decrypt function are the same. And as there
2008-11-27 21:18:00
6972
转载 volatile - Multithreaded Programmer's Best Friend
Andrei Alexandrescu The volatile keyword was devised to prevent compiler optimizations that might render code incorrect in the presence of certain asynchronous events. For example, if you decla
2008-10-31 22:29:00
859
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人