mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	fixup: Make the fields of mbedtls_ecp_curve_info public
Remove more places where MBEDTLS_PRIVATE() was used on grp_id, which is now public. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
		
							parent
							
								
									88d681ca35
								
							
						
					
					
						commit
						5b8618b44c
					
				@ -369,7 +369,7 @@ static inline psa_key_type_t mbedtls_psa_parse_tls_ecc_group(
 | 
			
		||||
    if( curve_info == NULL )
 | 
			
		||||
        return( 0 );
 | 
			
		||||
    return( PSA_KEY_TYPE_ECC_KEY_PAIR(
 | 
			
		||||
                mbedtls_ecc_group_to_psa( curve_info->MBEDTLS_PRIVATE(grp_id), bits ) ) );
 | 
			
		||||
                mbedtls_ecc_group_to_psa( curve_info->grp_id, bits ) ) );
 | 
			
		||||
}
 | 
			
		||||
#endif /* MBEDTLS_ECP_C */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -51,7 +51,7 @@
 | 
			
		||||
#define ECPARAMS    MBEDTLS_ECP_DP_SECP192R1
 | 
			
		||||
 | 
			
		||||
#if !defined(ECPARAMS)
 | 
			
		||||
#define ECPARAMS    mbedtls_ecp_curve_list()->MBEDTLS_PRIVATE(grp_id)
 | 
			
		||||
#define ECPARAMS    mbedtls_ecp_curve_list()->grp_id
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if !defined(MBEDTLS_ECDSA_C) || !defined(MBEDTLS_SHA256_C) || \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user