当前位置:网站首页>Mbedtls migration experience
Mbedtls migration experience
2022-06-13 02:11:00 【Code changes the world CTW】
1、 download mbedtls Source code
git clone https://github.com/ARMmbed/mbedtls.git
2、 Download the template for writing the program ( My own / General purpose )
git clone https://gitee.com/baron_zz/code_template.git
3、 Copy native_c_template Name it mbedtls_test
cp native_c_template mbedtls_test -r
4、 take mbedtls Medium libary、include Copy the directory to mbedtls_test in
5、 modify Makefile file
- Specifies the compilation tool chain
- modify SRCS, If I add aes.c、sha256.c Compilation of
- Open related macro , As related to the self-test program :
CFLAGS += -DMBEDTLS_SELF_TEST
6、 modify c file
- Add a call to the self-test program , As I added :
mbedtls_sha256_self_test( 1 );
7、 compile
Knock make
Ready to compile , The files generated after compilation are as follows :
8、 stay qemu Run this program in the environment
And then zhouhehe_demo
I can't get qemu Environmental out Under the table of contents , REPACK buildroot, And then run qemu.
qemu After starting , perform ./zhouhehe_demo
that will do
边栏推荐
- Huawei equipment is configured with CE dual attribution
- Vscode configuration header file -- Take opencv and its own header file as an example
- Using atexit to realize automatic destruct of singleton mode
- SQLserver2008 拒绝了对对象 '****' (数据库 '****',架构 'dbo')的 SELECT 权限
- Bluetooth module: use problem collection
- Get started quickly cmake
- [open source] libinimini: a minimalist ini parsing library for single chip computers
- 华为设备配置私网IP路由FRR
- Ctrip reshapes new Ctrip
- The fastest empty string comparison method C code
猜你喜欢
Huawei equipment is configured with dual reflectors to optimize the backbone layer of the virtual private network
如何解决通过new Date()获取时间写出数据库与当前时间相差8小时问题【亲测有效】
【 unity】 Problems Encountered in Packaging webgl Project and their resolution Records
Why is Huawei matebook x Pro 2022 leading a "laptop" revolution
LabVIEW大型项目开发提高质量的工具
uniapp 预览功能
ROS learning-8 pit for custom action programming
拍拍贷母公司信也季报图解:营收24亿 净利5.3亿同比降10%
万字讲清 synchronized 和 ReentrantLock 实现并发中的锁
[pytorch]fixmatch code explanation (super detailed)
随机推荐
Easydl related documents and codes
How to solve the problem of obtaining the time through new date() and writing out the difference of 8 hours between the database and the current time [valid through personal test]
[learning notes] xr872 GUI littlevgl 8.0 migration (display part)
Record: how to solve the problem of "the system cannot find the specified path" in the picture message uploaded by transferto() of multipartfile class [valid through personal test]
[51nod.3210] binary Statistics (bit operation)
Leetcode 93 recovery IP address
拍拍贷母公司信也季报图解:营收24亿 净利5.3亿同比降10%
How to learn C language and share super detailed experience (learning note 1 -- basic data types of C language)
[pytorch]fixmatch code explanation (super detailed)
(novice to) detailed tutorial on machine / in-depth learning with colab from scratch
Functional translation
Using atexit to realize automatic destruct of singleton mode
Padavan mounts SMB sharing and compiles ffmpeg
Configuring virtual private network FRR for Huawei equipment
[work notes] xr872 codec driver migration and application program example (with chip debugging method)
华为设备配置虚拟专用网FRR
The new wild prospect of JD instant retailing from the perspective of "hour shopping"
Sensor: MQ-5 gas module measures the gas value (code attached at the bottom)
swiper 横向轮播 grid
[the 4th day of the 10 day smart lock project based on stm32f401ret6] what is interrupt, interrupt service function, system tick timer