mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	ECP: add Curve448 to ecp_supported_curves
This commit is contained in:
		
							parent
							
								
									4061f04acd
								
							
						
					
					
						commit
						cb31073e1c
					
				@ -366,7 +366,7 @@ int mbedtls_ecp_check_budget( const mbedtls_ecp_group *grp,
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 * List of supported curves:
 | 
					 * List of supported curves:
 | 
				
			||||||
 *  - internal ID
 | 
					 *  - internal ID
 | 
				
			||||||
 *  - TLS NamedCurve ID (RFC 4492 sec. 5.1.1, RFC 7071 sec. 2)
 | 
					 *  - TLS NamedCurve ID (RFC 4492 sec. 5.1.1, RFC 7071 sec. 2, RFC 8446 sec. 4.2.7)
 | 
				
			||||||
 *  - size in bits
 | 
					 *  - size in bits
 | 
				
			||||||
 *  - readable name
 | 
					 *  - readable name
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
@ -412,6 +412,9 @@ static const mbedtls_ecp_curve_info ecp_supported_curves[] =
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
 | 
					#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
 | 
				
			||||||
    { MBEDTLS_ECP_DP_CURVE25519,   29,     256,    "x25519"            },
 | 
					    { MBEDTLS_ECP_DP_CURVE25519,   29,     256,    "x25519"            },
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#if defined(MBEDTLS_ECP_DP_CURVE448_ENABLED)
 | 
				
			||||||
 | 
					    { MBEDTLS_ECP_DP_CURVE448,     30,     448,    "x448"              },
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
    { MBEDTLS_ECP_DP_NONE,          0,     0,      NULL                },
 | 
					    { MBEDTLS_ECP_DP_NONE,          0,     0,      NULL                },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user