File tree Expand file tree Collapse file tree 7 files changed +3063
-2
lines changed
Expand file tree Collapse file tree 7 files changed +3063
-2
lines changed Original file line number Diff line number Diff line change @@ -9441,6 +9441,7 @@ then
94419441 'ecdh') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_REGISTER_ECDH" ;;
94429442 'rsa') test "$ENABLED_RSA" != "no" || AC_MSG_ERROR ( [ linuxkm-lkcapi-register ${lkcapi_alg}: RSA implementation not enabled.] )
94439443 AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_REGISTER_RSA -DWC_RSA_NO_PADDING" ;;
9444+ 'dh') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_REGISTER_DH -DWOLFSSL_DH_EXTRA -DWOLFSSL_DH_GEN_PUB" ;;
94449445 # disable options
94459446 '-cbc(aes)') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_AESCBC" ;;
94469447 '-cfb(aes)') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_AESCFB" ;;
@@ -9460,6 +9461,7 @@ then
94609461 '-ecdsa') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_ECDSA" ;;
94619462 '-ecdh') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_ECDH" ;;
94629463 '-rsa') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_RSA" ;;
9464+ '-dh') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_DH" ;;
94639465 *) AC_MSG_ERROR ( [ Unsupported LKCAPI algorithm "$lkcapi_alg".] ) ;;
94649466 esac
94659467 done
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ EXTRA_DIST += m4/ax_linuxkm.m4 \
1717 linuxkm/lkcapi_glue.c \
1818 linuxkm/lkcapi_aes_glue.c \
1919 linuxkm/lkcapi_sha_glue.c \
20+ linuxkm/lkcapi_dh_glue.c \
2021 linuxkm/lkcapi_ecdsa_glue.c \
2122 linuxkm/lkcapi_ecdh_glue.c \
2223 linuxkm/lkcapi_rsa_glue.c
You can’t perform that action at this time.
0 commit comments