1# Private config options for PSA Crypto application
2
3# Copyright (c) 2023 Linaro
4# SPDX-License-Identifier: Apache-2.0
5
6mainmenu "PSA Crypto sample application"
7
8menu "Application configuration"
9
10module = PSA
11module-str = psa
12source "subsys/logging/Kconfig.template.log_config"
13
14endmenu
15
16config PSA_SHELL
17	bool "The 'psa' shell command"
18	depends on SHELL
19	help
20	  Enabling this option will make the 'psa' shell command available.
21
22config PSA_IMPORT_KEY
23	bool "Support for importing private key data"
24	help
25	  Enable support for importing a pre-generated or randomly generated
26	  private key using PSA APIs and PRIVATE_KEY_STATIC or
27	  PRIVATE_KEY_RANDOM.
28
29choice
30	prompt "Private Key"
31	default PRIVATE_KEY_RANDOM
32
33config PRIVATE_KEY_STATIC
34	bool "Static"
35	depends on PSA_IMPORT_KEY
36	help
37	  A static key value will be used for the elliptic curve 'secp256r1'
38	  private key.
39
40config PRIVATE_KEY_RANDOM
41	bool "Random"
42	depends on PSA_IMPORT_KEY
43	help
44	  A randomly generated value will be used for the elliptic curve
45	  'secp256r1' private key.
46
47endchoice
48
49source "Kconfig.zephyr"
50