Merge remote-tracking branch 'spi/fix/atmel' into spi-linus
[firefly-linux-kernel-4.4.55.git] / crypto / asymmetric_keys / Kconfig
index bbfccaa35293276eb0fde30e329b331499f20061..6d2c2ea12559c57624b687a06e0b6f3f3ae4291a 100644 (file)
@@ -18,4 +18,21 @@ config ASYMMETRIC_PUBLIC_KEY_SUBTYPE
          appropriate hash algorithms (such as SHA-1) must be available.
          ENOPKG will be reported if the requisite algorithm is unavailable.
 
+config PUBLIC_KEY_ALGO_RSA
+       tristate "RSA public-key algorithm"
+       depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
+       select MPILIB_EXTRA
+       help
+         This option enables support for the RSA algorithm (PKCS#1, RFC3447).
+
+config X509_CERTIFICATE_PARSER
+       tristate "X.509 certificate parser"
+       depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
+       select ASN1
+       select OID_REGISTRY
+       help
+         This option procides support for parsing X.509 format blobs for key
+         data and provides the ability to instantiate a crypto key from a
+         public key packet found inside the certificate.
+
 endif # ASYMMETRIC_KEY_TYPE