hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/crypto/asymmetric_keys/Kconfig
....@@ -22,6 +22,18 @@
2222 appropriate hash algorithms (such as SHA-1) must be available.
2323 ENOPKG will be reported if the requisite algorithm is unavailable.
2424
25
+config ASYMMETRIC_TPM_KEY_SUBTYPE
26
+ tristate "Asymmetric TPM backed private key subtype"
27
+ depends on TCG_TPM
28
+ depends on TRUSTED_KEYS
29
+ select CRYPTO_HMAC
30
+ select CRYPTO_SHA1
31
+ select CRYPTO_HASH_INFO
32
+ help
33
+ This option provides support for TPM backed private key type handling.
34
+ Operations such as sign, verify, encrypt, decrypt are performed by
35
+ the TPM after the private key is loaded.
36
+
2537 config X509_CERTIFICATE_PARSER
2638 tristate "X.509 certificate parser"
2739 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
....@@ -32,6 +44,25 @@
3244 data and provides the ability to instantiate a crypto key from a
3345 public key packet found inside the certificate.
3446
47
+config PKCS8_PRIVATE_KEY_PARSER
48
+ tristate "PKCS#8 private key parser"
49
+ depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
50
+ select ASN1
51
+ select OID_REGISTRY
52
+ help
53
+ This option provides support for parsing PKCS#8 format blobs for
54
+ private key data and provides the ability to instantiate a crypto key
55
+ from that data.
56
+
57
+config TPM_KEY_PARSER
58
+ tristate "TPM private key parser"
59
+ depends on ASYMMETRIC_TPM_KEY_SUBTYPE
60
+ select ASN1
61
+ help
62
+ This option provides support for parsing TPM format blobs for
63
+ private key data and provides the ability to instantiate a crypto key
64
+ from that data.
65
+
3566 config PKCS7_MESSAGE_PARSER
3667 tristate "PKCS#7 message parser"
3768 depends on X509_CERTIFICATE_PARSER