File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9401,6 +9401,7 @@ then
94019401 'ecb(aes)') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_REGISTER_AESECB -DHAVE_AES_ECB" ;;
94029402 'ecdsa') test "$ENABLED_ECC" != "no" || AC_MSG_ERROR ( [ linuxkm-lkcapi-register ${lkcapi_alg}: ECDSA implementation not enabled.] )
94039403 AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_REGISTER_ECDSA" ;;
9404+ 'ecdh') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_REGISTER_ECDH" ;;
94049405 # disable options
94059406 '-cbc(aes)') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_AESCBC" ;;
94069407 '-cfb(aes)') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_AESCFB" ;;
@@ -9412,6 +9413,7 @@ then
94129413 '-ofb(aes)') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_AESOFB" ;;
94139414 '-ecb(aes)') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_AESECB" ;;
94149415 '-ecdsa') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_ECDSA" ;;
9416+ '-ecdh') AM_CFLAGS="$AM_CFLAGS -DLINUXKM_LKCAPI_DONT_REGISTER_ECDH" ;;
94159417 *) AC_MSG_ERROR ( [ Unsupported LKCAPI algorithm "$lkcapi_alg".] ) ;;
94169418 esac
94179419 done
Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ EXTRA_DIST += m4/ax_linuxkm.m4 \
1515 linuxkm/linuxkm_wc_port.h \
1616 linuxkm/lkcapi_glue.c \
1717 linuxkm/lkcapi_ecdsa_glue.c \
18+ linuxkm/lkcapi_ecdh_glue.c \
1819 linuxkm/x86_vector_register_glue.c
Original file line number Diff line number Diff line change 294294 #include <crypto/scatterwalk.h>
295295 #include <crypto/internal/aead.h>
296296 #include <crypto/internal/skcipher.h>
297+ #include <crypto/internal/kpp.h>
297298
298299 #if defined(HAVE_ECC ) && \
299300 (defined(LINUXKM_LKCAPI_REGISTER_ALL ) || \
You can’t perform that action at this time.
0 commit comments