| .. | .. |
|---|
| 22 | 22 | appropriate hash algorithms (such as SHA-1) must be available. |
|---|
| 23 | 23 | ENOPKG will be reported if the requisite algorithm is unavailable. |
|---|
| 24 | 24 | |
|---|
| 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 | + |
|---|
| 25 | 37 | config X509_CERTIFICATE_PARSER |
|---|
| 26 | 38 | tristate "X.509 certificate parser" |
|---|
| 27 | 39 | depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE |
|---|
| .. | .. |
|---|
| 32 | 44 | data and provides the ability to instantiate a crypto key from a |
|---|
| 33 | 45 | public key packet found inside the certificate. |
|---|
| 34 | 46 | |
|---|
| 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 | + |
|---|
| 35 | 66 | config PKCS7_MESSAGE_PARSER |
|---|
| 36 | 67 | tristate "PKCS#7 message parser" |
|---|
| 37 | 68 | depends on X509_CERTIFICATE_PARSER |
|---|