forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig.tinycrypt
88 lines (72 loc) · 2.17 KB
/
Kconfig.tinycrypt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Cryptography primitive options for TinyCrypt version 2.0
# Copyright (c) 2015 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config ZEPHYR_TINYCRYPT_MODULE
bool
config TINYCRYPT
bool "TinyCrypt Support"
depends on ZEPHYR_TINYCRYPT_MODULE
help
This option enables the TinyCrypt cryptography library.
if TINYCRYPT
config TINYCRYPT_CTR_PRNG
bool "PRNG in counter mode"
help
This option enables support for the pseudo-random number
generator in counter mode.
config TINYCRYPT_SHA256
bool "SHA-256 Hash function support"
help
This option enables support for SHA-256
hash function primitive.
config TINYCRYPT_SHA256_HMAC
bool "HMAC (via SHA256) message auth support"
depends on TINYCRYPT_SHA256
help
This option enables support for HMAC using SHA-256
message authentication code.
config TINYCRYPT_SHA256_HMAC_PRNG
bool "PRNG (via HMAC-SHA256) support"
depends on TINYCRYPT_SHA256_HMAC
help
This option enables support for pseudo-random number
generator.
config TINYCRYPT_ECC_DH
bool "ECC_DH anonymous key agreement protocol"
help
This option enables support for the Elliptic curve
Diffie-Hellman anonymous key agreement protocol.
Enabling ECC requires a cryptographically secure random number
generator.
config TINYCRYPT_ECC_DSA
bool "ECC_DSA digital signature algorithm"
help
This option enables support for the Elliptic Curve Digital
Signature Algorithm (ECDSA).
Enabling ECC requires a cryptographically secure random number
generator.
config TINYCRYPT_AES
bool "AES-128 decrypt/encrypt"
help
This option enables support for AES-128 decrypt and encrypt.
config TINYCRYPT_AES_CBC
bool "AES-128 block cipher"
depends on TINYCRYPT_AES
help
This option enables support for AES-128 block cipher mode.
config TINYCRYPT_AES_CTR
bool "AES-128 counter mode"
depends on TINYCRYPT_AES
help
This option enables support for AES-128 counter mode.
config TINYCRYPT_AES_CCM
bool "AES-128 CCM mode"
depends on TINYCRYPT_AES
help
This option enables support for AES-128 CCM mode.
config TINYCRYPT_AES_CMAC
bool "AES-128 CMAC mode"
depends on TINYCRYPT_AES
help
This option enables support for AES-128 CMAC mode.
endif