blob: 9572ea8c87f33c230d47dd061d692cbfcdb2668c [file] [log] [blame]
AKASHI Takahiroc4e961e2019-11-13 09:44:58 +09001menuconfig ASYMMETRIC_KEY_TYPE
2 bool "Asymmetric (public-key cryptographic) key Support"
3 help
4 This option provides support for a key type that holds the data for
5 the asymmetric keys used for public key cryptographic operations such
6 as encryption, decryption, signature generation and signature
7 verification.
8
9if ASYMMETRIC_KEY_TYPE
10
11config ASYMMETRIC_PUBLIC_KEY_SUBTYPE
12 bool "Asymmetric public-key crypto algorithm subtype"
13 help
14 This option provides support for asymmetric public key type handling.
15 If signature generation and/or verification are to be used,
16 appropriate hash algorithms (such as SHA-1) must be available.
17 ENOPKG will be reported if the requisite algorithm is unavailable.
18
AKASHI Takahiro9b933bf2019-11-13 09:44:59 +090019config RSA_PUBLIC_KEY_PARSER
20 bool "RSA public key parser"
21 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
22 select ASN1_DECODER
23 select ASN1_COMPILER
24 select OID_REGISTRY
25 help
26 This option provides support for parsing a blob containing RSA
27 public key data and provides the ability to instantiate a public
28 key.
29
AKASHI Takahiroc4e961e2019-11-13 09:44:58 +090030endif # ASYMMETRIC_KEY_TYPE