Skip to content
Permalink
Browse files
crypto: hisilicon/hpre - add 'CURVE25519' algorithm
Enable 'CURVE25519' algorithm in 'Kunpeng 930'.

Signed-off-by: Meng Yu <yumeng18@huawei.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Reported-by: kernel test robot <lkp@intel.com>
  • Loading branch information
yumeng0117 authored and intel-lab-lkp committed Nov 2, 2020
1 parent 5ed73c8 commit c6ca2d701fee193538b8aeac13909c5e7f5bc3f9
Show file tree
Hide file tree
Showing 2 changed files with 381 additions and 8 deletions.
@@ -84,6 +84,8 @@ enum hpre_alg_type {
HPRE_ALG_DH_G2 = 0x4,
HPRE_ALG_DH = 0x5,
HPRE_ALG_ECC_MUL = 0xD,
/* shared by x25519 and x448, but x448 is not supported now */
HPRE_ALG_CURVE25519_MUL = 0x10,
};

struct hpre_sqe {

0 comments on commit c6ca2d7

Please sign in to comment.