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:
Lin Jinhan
2022-03-11 09:16:30 +08:00
committed by Tao Huang
parent 6e8b377f6d
commit 1e2b2b5aec

View File

@@ -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,