Skip to content

Commit 505acc0

Browse files
Peng Zhangguojinhui-liam
authored andcommitted
bytedance: enable CURVE25519 for KAE
KAE driver encryption and decryption depends on curve25519-generic.ko, enable the corresponding configs. Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
1 parent 7bedbb3 commit 505acc0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

config.aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9602,7 +9602,7 @@ CONFIG_CRYPTO_ECDH=m
96029602
# CONFIG_CRYPTO_ECDSA is not set
96039603
# CONFIG_CRYPTO_ECRDSA is not set
96049604
# CONFIG_CRYPTO_SM2 is not set
9605-
# CONFIG_CRYPTO_CURVE25519 is not set
9605+
CONFIG_CRYPTO_CURVE25519=m
96069606

96079607
#
96089608
# Authenticated Encryption with Associated Data
@@ -9809,6 +9809,7 @@ CONFIG_CRYPTO_LIB_ARC4=m
98099809
CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y
98109810
CONFIG_CRYPTO_LIB_CHACHA_GENERIC=m
98119811
# CONFIG_CRYPTO_LIB_CHACHA is not set
9812+
CONFIG_CRYPTO_LIB_CURVE25519_GENERIC=m
98129813
# CONFIG_CRYPTO_LIB_CURVE25519 is not set
98139814
CONFIG_CRYPTO_LIB_DES=m
98149815
CONFIG_CRYPTO_LIB_POLY1305_RSIZE=9

config.aarch64-64k

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9599,7 +9599,7 @@ CONFIG_CRYPTO_ECDH=m
95999599
# CONFIG_CRYPTO_ECDSA is not set
96009600
# CONFIG_CRYPTO_ECRDSA is not set
96019601
# CONFIG_CRYPTO_SM2 is not set
9602-
# CONFIG_CRYPTO_CURVE25519 is not set
9602+
CONFIG_CRYPTO_CURVE25519=m
96039603

96049604
#
96059605
# Authenticated Encryption with Associated Data
@@ -9806,6 +9806,7 @@ CONFIG_CRYPTO_LIB_ARC4=m
98069806
CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y
98079807
CONFIG_CRYPTO_LIB_CHACHA_GENERIC=m
98089808
# CONFIG_CRYPTO_LIB_CHACHA is not set
9809+
CONFIG_CRYPTO_LIB_CURVE25519_GENERIC=m
98099810
# CONFIG_CRYPTO_LIB_CURVE25519 is not set
98109811
CONFIG_CRYPTO_LIB_DES=m
98119812
CONFIG_CRYPTO_LIB_POLY1305_RSIZE=9

0 commit comments

Comments
 (0)