net/tls: support CONFIG_HW_DH_PARAMS
authorJunyeon Lee <junyeon2.lee@samsung.com>
Wed, 22 Mar 2017 16:48:28 +0000 (01:48 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 10:58:11 +0000 (19:58 +0900)
commit7fe0a88dbb9a4d2ae7f8be0b58bc32ca8e143db5
tree30b26312d25cbcb649b7fae9ba0a96763022a29b
parentcfde6bc8319fe09f87070c4bcc1a98e80f08fcef
net/tls: support CONFIG_HW_DH_PARAMS

This commit adds three hardware diffie hellman routines. Generating
parameter and publickey, caculating secret will be accelated by hardware
with CONFIG_HW_DH_PARAMS.

Change-Id: I406909e992260378974a3ea7718138e8b044a53b
Signed-off-by: Junyeon Lee <junyeon2.lee@samsung.com>
os/include/tls/dhm.h
os/net/tls/dhm.c