IT点滴

我不去想是否能够成功 既然选择了远方 便只顾风雨兼程
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 48 下一页

2013年1月7日

摘要: 图为 RSA公开密钥算法的发明人,从左到右Ron Rivest, Adi Shamir, Leonard Adleman. 照片摄于1978年 RSA加密算法是最常用的非对称加密算法,CFCA在证书服务中离不了它。但是有不少新来的同事对它不太了解,恰好看到一本书中作者用实例对它进行了简化而生动的描述,使得高深的数学理论能够被容易地理解。我们经过整理和改写特别推荐给大家阅读,希望能够对时间紧张但是又想了解它的同事有所帮助。RSA是第一个比较完善的公开密钥算法,它既能用于加密,也能用于数字签名。RSA以它的三个发明者Ron Rivest, Adi Shamir, Leonard Adleman.. 阅读全文

posted @ 2013-01-07 12:12 Ady Lee 阅读(2014) 评论(0) 推荐(0) 编辑

摘要: X509证书中RSA公钥的提取与载入 由于项目需要,我计划利用openssl开发一个基本的CA,实现证书的发放等功能。在项目模型中公私钥对是用户自己产生的,并且以16进制数的形似提交给CA。我们知道,通常利用openssl颁发证书时,公私钥对往往也是由openssl产生的,比如利用以下三个函数 RSA_generate_keyEVP_PKEY_assign_RSAX509_set_pubkey便可以轻松搞定从密钥产生到载入证书的过程,而提取证书公钥只需X509_get_pubkey如何将16进制形式的rsa公钥载证书的却没有相关介绍,经过几天的研究终于搞定了,贴出来与大家分享,我们可以利用下面 阅读全文

posted @ 2013-01-07 11:58 Ady Lee 阅读(2033) 评论(0) 推荐(0) 编辑

2012年7月26日

摘要: http://msdn.microsoft.com/en-us/library/windows/hardware/ff539260(v=vs.85).aspxIf a completion routine does not signal an event, it must check theIrp‑>PendingReturnedflag. If this flag is set, the completion routine must mark the IRP pending by callingIoMarkIrpPending. 阅读全文

posted @ 2012-07-26 17:36 Ady Lee 阅读(311) 评论(0) 推荐(0) 编辑

摘要: http://msdn.microsoft.com/en-us/library/windows/hardware/ff539307(v=vs.85).aspxThe following guidelines briefly discuss how to avoid common programming errors in file system filter driver completion routines.IRQL-Related ConstraintsBecause completion routines can be called at IRQL DISPATCH_LEVEL, th 阅读全文

posted @ 2012-07-26 17:35 Ady Lee 阅读(267) 评论(0) 推荐(0) 编辑

2012年7月4日

摘要: The NT Insider, Vol 4, Issue 1, Jan-Feb 1997 | Published: 15-Feb-97| Modified: 22-Aug-02Click Here to Download:Code Associated With This ArticleZip Archive, 20KBOne frequent question heard from NT driver writers is how to perform I/O operations from within their driver. This question appears in one 阅读全文

posted @ 2012-07-04 09:05 Ady Lee 阅读(556) 评论(0) 推荐(0) 编辑

摘要: The NT Insider, Vol 4, Issue 3, May-Jun 1997 | Published: 15-Jun-97| Modified: 22-Aug-02Previously we described how to "roll your own IRPs" for performing I/O in the kernel. This is a very powerful technique and one which is highly useful for those building device drivers, file system driv 阅读全文

posted @ 2012-07-04 09:04 Ady Lee 阅读(258) 评论(0) 推荐(0) 编辑

摘要: By The Members of NTDEV and NTFSD | Published: 01-May-03| Modified: 01-May-03IRP Dispatching and HandlingIf a dispatch routine returns STATUS_PENDING, the IRP passed into thedispatch routine must be marked pending with IoMarkIrpPending().If an IRP is marked pending with IoMarkIrpPending() in a dispa 阅读全文

posted @ 2012-07-04 09:03 Ady Lee 阅读(284) 评论(0) 推荐(0) 编辑

摘要: The NT Insider, Vol 5, Issue 1, Jan-Feb 1998 | Published: 15-Feb-98| Modified: 20-Aug-02As part of our effort to address some of the more rudimentary issues in writing NT drivers, we thought it would be a good idea to talk about IRPs and data buffers… a topic we’ve never really covered in any detail 阅读全文

posted @ 2012-07-04 08:58 Ady Lee 阅读(231) 评论(0) 推荐(0) 编辑

摘要: 今天是我的18周岁生日,突然就想发表篇文章,而前几天刚好在做IopfCompleteRequest的分析,所以今天就赶赶急,把分析做做完,发表出来。我在网上认识的一个前辈说过,看网上的文章,学网上已经有的技术,不是真技术;而只有自己研究才是自己所学的,所得的。而其中最为重要的是:开创自己的技术。而开创自己的技术,就需要自己先有研究的基础。本文自然不是什么开创之作,IopfCompleteRequest的伪代码早已漫天飞IopfCompleteRequest也早已没有什么秘密可言。但是我还是坚持一个人独立地看windows的二进制码,凭自己所学,分析那一个个指令。鉴于本人水平有限,从接触编程到现 阅读全文

posted @ 2012-07-04 08:28 Ady Lee 阅读(1457) 评论(0) 推荐(0) 编辑

摘要: /**@implemented*/VOIDFASTCALLIofCompleteRequest(INPIRPIrp,INCCHARPriorityBoost){PIO_STACK_LOCATIONStackPtr,LastStackPtr;PDEVICE_OBJECTDeviceObject;PFILE_OBJECTFileObject;PETHREADThread;NTSTATUSStatus;PMDLMdl,NextMdl;ULONGMasterCount;PIRPMasterIrp;ULONGFlags;NTSTATUSErrorCode=STATUS_SUCCESS;IOTRACE(I 阅读全文

posted @ 2012-07-04 08:27 Ady Lee 阅读(957) 评论(0) 推荐(0) 编辑

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 48 下一页