1561 views|5 replies

13

Posts

0

Resources
The OP
 

[National Technology N32WB452 Review] 5. Encryption Algorithm Library [Copy link]

 

This evaluation tests the ALGO routines in the built-in SDK, including random number generation, HASH algorithm, and DES/TDES/AES algorithm encryption.

Add the following statement to the main function of the SDK routine:

DES_Version(&type, &customer, date, &version);

Among them, type, customer, version are unsigned char, and date is unsigned char[3]. After running, print to view the corresponding version and update date of the algorithm library, and then use the overloaded printf function to print the algorithm library version information from the serial port. After compiling and downloading to the development board, open the serial port debugging assistant and observe the serial port print information, as shown in the following figure:

From the printed information, we can see that the algorithm library version is 1.1, followed by random number generation, information encryption, and DES/AES algorithm testing.

In summary, N32WB452 has relatively complete support for the cryptographic algorithm library. At the same time, it has a built-in cryptographic algorithm hardware acceleration engine, which performs well in cryptographic processing. It may have great application prospects in smart furniture such as smart locks.

This post is from Domestic Chip Exchange

Latest reply

Can you recommend any information on HASH algorithm and DES/TDES/AES algorithm encryption? Technical articles or books are fine.   Details Published on 2022-8-25 19:39
 
 

6609

Posts

0

Resources
2
 

N32WB452 has relatively complete support for the cryptographic algorithm library, and is really good for password locks

This post is from Domestic Chip Exchange
 
 
 

6075

Posts

6

Resources
3
 

Can all microcontrollers use random number generation?

This post is from Domestic Chip Exchange

Comments

According to the official manual, I think this library should be optimized for n32, and other microcontrollers may have a lower speed.  Details Published on 2022-8-27 14:36
 
 
 

6

Posts

0

Resources
4
 

Can you recommend any information on HASH algorithm and DES/TDES/AES algorithm encryption? Technical articles or books are fine.

This post is from Domestic Chip Exchange

Comments

I don’t know much about encryption, I can ask others.   Details Published on 2022-8-27 14:37
 
 
 

13

Posts

0

Resources
5
 
Qintianqintian0303 posted on 2022-8-22 09:10 Can all microcontrollers use random number generation?

According to the official manual, I think this library should be optimized for n32, and other microcontrollers may have a lower speed.

This post is from Domestic Chip Exchange
 
 
 

13

Posts

0

Resources
6
 
gangxiadexue posted on 2022-8-25 19:39 Can you recommend any relevant information on HASH algorithm and DES/TDES/AES algorithm encryption? Technical articles or books are fine

I don’t know much about encryption, I can ask others.

This post is from Domestic Chip Exchange
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list