自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 Istanbul BFT共识算法解读

Istanbul BFT共识算法详细文档Istanbul BFT作为BFT类算法的一种已经有过在以太坊上的实践。虽然Istanbul目前还存在一些潜在的问题,但其算法思想和实现还是值得学习和借鉴的。源代码:https://github.com/jpmorganchase/quorum/tree/master/consensus/istanbul术语Validator: 区块...

2019-07-23 12:16:00 892

转载 golang中slice的扩容机制

阅读此文档默认已经掌握了slice的动态数组原理,如果没有此认知,请阅读https://i6448038.github.io/2018/08/11/array-and-slice-principle/(本文也是在此链接基础上扩展一些解释说明)。扩容slice这种数据结构便于使用和管理数据集合,可以理解为是一种“动态数组”,slice也是围绕动态数组的概念来构建的。既然是动态数组...

2019-05-07 11:12:00 906

转载 Use the "Enclave Signing Tool" to sign enclave files

It's one of the Intel SGX SDK tools, descibed by the official document:"Generates the enclave metadata, which includes the enclave signature,and adds such metadata to the enclave image.". Thoug...

2019-03-12 18:03:00 163

转载 以太坊椭圆曲线Specp256k1通过消息的hash和签名(对消息的hash的签名)来恢复出公钥和计算r值...

源代码 https://github.com/ethereum/go-ethereum/blob/master/crypto/secp256k1/secp256.go// RecoverPubkey returns the the public key of the signer.// msg must be the 32-byte hash of the messag...

2019-02-28 15:51:00 862

转载 Intel SGX SDK toolkits

The ofiicial instruction can be found from this site: https://01.org/sites/default/files/documentation/intel_sgx_sdk_developer_reference_for_linux_os_pdf.pdf.1. The Edger8r tool2. The Encl...

2019-02-22 15:47:00 135

转载 Intel SGX Edger8r

“The Edger8r tool ships as part of the Intel® Software Guard Extensions SDK. It generates edge routines by reading a user-provided Enclave Description Language (EDL) file. These edge routines def...

2019-02-22 15:21:00 417

转载 Intel SGX C++ library

“Enclave functions can rely on special versions of the C/C++ runtime libraries, STL, synchronization and several other trusted libraries that are part of the Intel® Software Guard Extensions SDK....

2019-02-22 15:07:00 195

转载 SGX Makefile学习笔记

源代码地址:https://github.com/intel/linux-sgx/blob/master/SampleCode/LocalAttestation/MakefileSGX_SDK 为sgx sdk的路径SGX_MODE 为执行模式:分为两种HW(硬件来执行)和SIM(模拟器来执行,用于没有第六代Intel CPU的机器)。SGX_ARCH 表明操作系统的位...

2019-02-21 23:42:00 248

转载 Visual Studio开始一个HelloWorld的enclave程序

根据youtube上面的教学视频, 依葫芦画瓢写了这样一个程序。(源视频来自于https://www.youtube.com/watch?v=x3c62hsZbX0&t=338s需要翻墙)主要思想是:创建一个Enclave项目,另外再创建一个ConsoleApplication来导入第一个Enclave项目。其中我遇到的问题主要是两个:1. 不管用什么Debugger...

2019-02-21 17:35:00 235

转载 以太坊MPT树的HP(Hex-Prefix)编码

源码如下:func hexToCompact(hex []byte) []byte {terminator := byte(0)if hasTerm(hex) {terminator = 1hex = hex[:len(hex)-1]}buf := make([]byte, len(hex)/2+...

2019-01-27 17:21:00 983

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除