Home
last modified time | relevance | path

Searched refs:curve_info (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/mbedtls/programs/test/
A Dbenchmark.c832 const mbedtls_ecp_curve_info *curve_info; in main() local
839 curve_info++ ) in main()
858 curve_info++ ) in main()
895 const mbedtls_ecp_curve_info *curve_info; in main() local
900 curve_info++ ) in main()
924 for ( curve_info = montgomery_curve_list; in main()
926 curve_info++ ) in main()
938 curve_info->name ); in main()
951 curve_info++ ) in main()
975 for ( curve_info = montgomery_curve_list; in main()
[all …]
/AliOS-Things-master/components/mbedtls/programs/pkey/
A Dgen_key.c217 const mbedtls_ecp_curve_info *curve_info; in main() local
238 curve_info = mbedtls_ecp_curve_list(); in main()
239 mbedtls_printf( " %s (default)\n", curve_info->name ); in main()
240 while( ( ++curve_info )->name != NULL ) in main()
241 mbedtls_printf( " %s\n", curve_info->name ); in main()
288 if( ( curve_info = mbedtls_ecp_curve_info_from_name( q ) ) == NULL ) in main()
290 opt.ec_curve = curve_info->grp_id; in main()
/AliOS-Things-master/components/mbedtls/library/
A Decp.c453 curve_info++ ) in mbedtls_ecp_grp_id_list()
474 curve_info++ ) in mbedtls_ecp_curve_info_from_grp_id()
476 if( curve_info->grp_id == grp_id ) in mbedtls_ecp_curve_info_from_grp_id()
477 return( curve_info ); in mbedtls_ecp_curve_info_from_grp_id()
492 curve_info++ ) in mbedtls_ecp_curve_info_from_tls_id()
495 return( curve_info ); in mbedtls_ecp_curve_info_from_tls_id()
513 curve_info++ ) in mbedtls_ecp_curve_info_from_name()
516 return( curve_info ); in mbedtls_ecp_curve_info_from_name()
956 *grp = curve_info->grp_id; in mbedtls_ecp_tls_read_group_id()
990 buf[0] = curve_info->tls_id >> 8; in mbedtls_ecp_tls_write_group()
[all …]
A Dssl_cli.c2031 const mbedtls_ecp_curve_info *curve_info; in ssl_check_server_ecdh_params() local
2039 curve_info = mbedtls_ecp_curve_info_from_grp_id( grp_id ); in ssl_check_server_ecdh_params()
2040 if( curve_info == NULL ) in ssl_check_server_ecdh_params()
2046 MBEDTLS_SSL_DEBUG_MSG( 2, ( "ECDH curve: %s", curve_info->name ) ); in ssl_check_server_ecdh_params()
A Dssl_srv.c287 const mbedtls_ecp_curve_info *curve_info, **curves; in ssl_parse_supported_elliptic_curves() local
332 curve_info = mbedtls_ecp_curve_info_from_tls_id( ( p[0] << 8 ) | p[1] ); in ssl_parse_supported_elliptic_curves()
334 if( curve_info != NULL ) in ssl_parse_supported_elliptic_curves()
336 *curves++ = curve_info; in ssl_parse_supported_elliptic_curves()

Completed in 21 milliseconds