12 2021 档案

摘要:双层指针一般不被使用。 目前只遇到过以下情况需要使用: 需要通过函数调用去修改一个指针的时候。 数据结构: struct HashInfoType{ uint32_t StartAddr; uint32_t SizeSendby0x34; uint32_t expandedSize; /* for 阅读全文
posted @ 2021-12-22 20:24 panrui 阅读(149) 评论(0) 推荐(0)
摘要:/* * signv_sha256_calcu calculate the sha256 value upon one continous memory aera, there is no restriction on how many bytes the data are. * The SHA-2 阅读全文
posted @ 2021-12-22 16:45 panrui 阅读(1630) 评论(0) 推荐(0)
摘要:使用openssl的工具,针对rsa非对称加密,private key和public key是成对出现的,从数学上来说是一对一的关系。也就是一个private key只能产生一个public key。而且,如果在命令行中(Ubuntu操作系统,非windows)使用openssl的工具使用 -tex 阅读全文
posted @ 2021-12-19 10:59 panrui 阅读(478) 评论(0) 推荐(0)
摘要:会影响到函数代码阅读的一些因素 1. 全局变量和 static 修饰的局部变量 2. 函数指针 一个函数只完成一件事 注意,在链接的时候需要注意的事: 链接文件不能区分硬件中的Flash和RAM。所以,需要手动分配。其中data和code是不同的。所以,在链接的时候,linker对它们的处理也是不同 阅读全文
posted @ 2021-12-03 14:10 panrui 阅读(101) 评论(0) 推荐(0)
摘要:使用这个可以方便产生 Call GraphsCalled by Graphs Number of Call Occurrences (Value: 2) This metric shows the number of calls in a function body. Number of Calle 阅读全文
posted @ 2021-12-03 13:32 panrui 阅读(65) 评论(0) 推荐(0)