| 
									
										
										
										
											2012-09-13 15:17:21 +01:00
										 |  |  | menuconfig ASYMMETRIC_KEY_TYPE | 
					
						
							|  |  |  | 	tristate "Asymmetric (public-key cryptographic) key type" | 
					
						
							|  |  |  | 	depends on KEYS | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  This option provides support for a key type that holds the data for | 
					
						
							|  |  |  | 	  the asymmetric keys used for public key cryptographic operations such | 
					
						
							|  |  |  | 	  as encryption, decryption, signature generation and signature | 
					
						
							|  |  |  | 	  verification. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if ASYMMETRIC_KEY_TYPE | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-09-21 23:24:55 +01:00
										 |  |  | config ASYMMETRIC_PUBLIC_KEY_SUBTYPE | 
					
						
							|  |  |  | 	tristate "Asymmetric public-key crypto algorithm subtype" | 
					
						
							|  |  |  | 	select MPILIB | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  This option provides support for asymmetric public key type handling. | 
					
						
							|  |  |  | 	  If signature generation and/or verification are to be used, | 
					
						
							|  |  |  | 	  appropriate hash algorithms (such as SHA-1) must be available. | 
					
						
							|  |  |  | 	  ENOPKG will be reported if the requisite algorithm is unavailable. | 
					
						
							| 
									
										
										
										
											2012-09-13 15:17:21 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-09-21 23:25:40 +01:00
										 |  |  | 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). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-09-24 17:11:48 +01:00
										 |  |  | 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. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-09-13 15:17:21 +01:00
										 |  |  | endif # ASYMMETRIC_KEY_TYPE |