mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
crypto: rockchip: v2: akcipher: drop sign and verify
For kernel 5.10, the interface functions of sign and verify have changed and are not mandatory. Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com> Change-Id: I2b94eaeaa5d0d3dd99ba86dd418338d9502c8aa5
This commit is contained in:
@@ -292,8 +292,6 @@ struct rk_crypto_algt rk_v2_asym_rsa = {
|
||||
.alg.asym = {
|
||||
.encrypt = rk_rsa_enc,
|
||||
.decrypt = rk_rsa_dec,
|
||||
.sign = rk_rsa_dec,
|
||||
.verify = rk_rsa_enc,
|
||||
.set_pub_key = rk_rsa_setpubkey,
|
||||
.set_priv_key = rk_rsa_setprivkey,
|
||||
.max_size = rk_rsa_max_size,
|
||||
|
||||
Reference in New Issue
Block a user