zephyr/ext/lib/crypto/tinycrypt/Kconfig
Ulf Magnusson 8cf8db3a73 Kconfig: Use a short, consistent style for prompts
Consistently use

    config FOO
            bool/int/hex/string "Prompt text"

instead of

    config FOO
            bool/int/hex/string
            prompt "Prompt text"

(...and a bunch of other variations that e.g. swapped the order of the
type and the 'prompt', or put other properties between them).

The shorthand is fully equivalent to using 'prompt'. It saves lines and
avoids tricking people into thinking there is some semantic difference.

Most of the grunt work was done by a modified version of
https://unix.stackexchange.com/questions/26284/
how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some
of the rarer variations had to be converted manually.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-08-15 04:10:10 -07:00

93 lines
2.3 KiB
Plaintext

# Kconfig - Cryptography primitive options for TinyCrypt version 2.0
#
# Copyright (c) 2015 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
config TINYCRYPT
bool "TinyCrypt Support"
help
This option enables the TinyCrypt cryptography library.
config TINYCRYPT_CTR_PRNG
bool "PRNG in counter mode"
depends on TINYCRYPT
help
This option enables support for the pseudo-random number
generator in counter mode.
config TINYCRYPT_SHA256
bool "SHA-256 Hash function support"
depends on TINYCRYPT
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"
depends on TINYCRYPT
select ENTROPY_GENERATOR
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"
depends on TINYCRYPT
select ENTROPY_GENERATOR
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"
depends on TINYCRYPT
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.