上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页
摘要: 双层指针一般不被使用。 目前只遇到过以下情况需要使用: 需要通过函数调用去修改一个指针的时候。 数据结构: struct HashInfoType{ uint32_t StartAddr; uint32_t SizeSendby0x34; uint32_t expandedSize; /* for 阅读全文
posted @ 2021-12-22 20:24 panrui 阅读(184) 评论(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 阅读(1774) 评论(0) 推荐(0)
摘要: 使用openssl的工具,针对rsa非对称加密,private key和public key是成对出现的,从数学上来说是一对一的关系。也就是一个private key只能产生一个public key。而且,如果在命令行中(Ubuntu操作系统,非windows)使用openssl的工具使用 -tex 阅读全文
posted @ 2021-12-19 10:59 panrui 阅读(524) 评论(0) 推荐(0)
摘要: 会影响到函数代码阅读的一些因素 1. 全局变量和 static 修饰的局部变量 2. 函数指针 一个函数只完成一件事 注意,在链接的时候需要注意的事: 链接文件不能区分硬件中的Flash和RAM。所以,需要手动分配。其中data和code是不同的。所以,在链接的时候,linker对它们的处理也是不同 阅读全文
posted @ 2021-12-03 14:10 panrui 阅读(124) 评论(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 阅读(108) 评论(0) 推荐(0)
摘要: 小端模式(Little endian,又称Intel格式): Arm处理器在默认情况下(不配置的情况下)低位排在低地址,和我们的书写习惯不太一致。 大端模式(又称 Motorola格式): 高位在前(左,低地址),和书写习惯一致。 另外,尤其要注意的是,我们在讨论大小端的时候讨论的是字节序。尤其是讨 阅读全文
posted @ 2021-11-18 14:18 panrui 阅读(119) 评论(0) 推荐(0)
摘要: Content comparison methods CRC comparison compares files using their CRC values. Binary comparison compares files byte-by-byte. Rules-based comparison 阅读全文
posted @ 2021-08-25 13:53 panrui 阅读(1264) 评论(0) 推荐(0)
摘要: LZSS 中存在一个input buffer和look ahead buffer,通过搜索最长匹配的字符串,然后进行编码操作, ECB 电子密码本(一种非常原始的加密方式)CBC 密码分组技术 通过实际操作发现,CANoe10.0版本中对capl脚本的debug功能支持较差。目前发现只能通过实际运行 阅读全文
posted @ 2021-04-27 21:29 panrui 阅读(129) 评论(0) 推荐(0)
摘要: openssl pkeyutl -sign -in $hash_file -inkey $priv_file -pkeyopt rsa_padding_mode:pss -pkeyopt rsa_pss_saltlen:-1 -pkeyopt digest:sha256 -out $sig_file 阅读全文
posted @ 2021-03-25 10:35 panrui 阅读(219) 评论(0) 推荐(0)
摘要: 使用过程中,我们可能会需要直接从二进制格式得到所需要的密钥。 1 int binary_pk_get_public_key( mbedtls_pk_context *ctx, const unsigned char *pModulus, const unsigned char *pPublicExp 阅读全文
posted @ 2021-03-24 11:03 panrui 阅读(1161) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页