Unverified Commit ec607b43 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3129 [OLK-6.6] Driver for Zhaoxin AES and SHA algorithm

Merge Pull Request from: @leoliu-oc 
 
Some Zhaoxin processors come with an integrated crypto engine (so called Zhaoxin ACE, Advanced Cryptography Engine) that provides instructions for very fast cryptographic operations with supported AES algorithms.

(The reason for modifying padlock-sha/aes: padlock-sha/aes are also what we are maintaining. The current patch is to refine it, and the old Ceantaur IDs Family6 CPUs and the newer Centaur IDs Family7 CPUs & Zhaoxin IDs CPUs will use different drivers.)

Include:
1. Add support for Zhaoxin AES algorithm
2. Add support for Zhaoxin SHA algorithm

### Issue
https://gitee.com/openeuler/kernel/issues/I8WXMN

### Default config Change
CONFIG_CRYPTO_DEV_ZHAOXIN=m
CONFIG_CRYPTO_DEV_ZHAOXIN_AES=m
CONFIG_CRYPTO_DEV_ZHAOXIN_SHA=m

### Test

1. Pass: The module is successfully installed and the AES algorithm function is correct
2. Pass: The module is successfully installed and the SHA algorithm function is correct 
 
Link:https://gitee.com/openeuler/kernel/pulls/3129

 

Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Reviewed-by: default avatarJason Zeng <jason.zeng@intel.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 7f86a51c 925ce56c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment