net/tls: remove unused Kconfig entries and add more
This commit removes all unused configurations and adds several
congurations what would be supported soon.
@@ -13,46 +13,68 @@ config HW_RNG
bool "HW RNG"
default n
---help---
-
-config HW_AES
- bool "HW AES enc/dec"
- default n
- ---help---
+ Supports true random generator by hardware
+ Maximum random size is 256 bytes at one time.
config HW_HASH
bool "HW Hash"
default n
---help---
+ Accelates hash caculation based on hardware
+ Supporting algorithm :
+ . SHA1 : 160
+ . SHA2 : 256, 384, 512
+ . SHA3 : 224, 256, 384, 512
-config HW_HMAC
- bool "HW Hmac"
+config HW_DH_PARAM
+ bool "HW supports DH params"
default n
---help---
+ Generates and caculates diffie-hellman parameter with hardware.
+ Supporting parameter size : 1024, 2048
-config HW_DHM_PARAM
- bool "HW generates DH params"
+config HW_ECDH_PARAM
+ bool "HW supports ECDH params"
default n
---help---
+ Generates and caculates eliptic curve params with hardware.
+ Supporting curves :
+ . SECP 192, 224, 256, 384, 512
+ . Brainpool 256
config HW_RSA_SIGN
- bool "HW rsa signature"
+ bool "HW rsa sign"
default n
---help---
+ Signing a RSA signature based on hardware.
+ CAUTION: For use this configuration, keys should be stored in secure storage.
+ Supporting key size : 1024, 2048
-config HW_RSA_ENCDEC
- bool "HW rsa enc/dec"
+config HW_RSA_VERIFICATION
+ bool "HW rsa verification"
default n
---help---
+ Verifing a RSA signature based on hardware.
+ Supporting key size : 1024, 2048
config HW_ECDSA_SIGN
- bool "HW ecdsa signature"
+ bool "HW ecdsa sign"
default n
---help---
+ Signing a ECDSA signature based on hardware.
+ CAUTION: For use this configuration, keys should be stored in secure storage.
+ Supporting curves :
+ . SECP 192, 224, 256, 384, 512
+ . Brainpool 256
-config HW_ECDSA_ENCDEC
- bool "HW ecdsa enc/dec"
+config HW_ECDSA_VERIFICATION
+ bool "HW ecdsa verification"
default n
---help---
+ Verifing a ECDSA signature based on hardware.
+ Supporting curves :
+ . SECP 192, 224, 256, 384, 512
+ . Brainpool 256
endmenu
