Lines Matching refs:curve_info
715 const mbedtls_ecp_curve_info *curve_info; in main() local
720 for( curve_info = mbedtls_ecp_curve_list(); in main()
721 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in main()
722 curve_info++ ) in main()
726 if( mbedtls_ecdsa_genkey( &ecdsa, curve_info->grp_id, myrand, NULL ) != 0 ) in main()
731 curve_info->name ); in main()
733 … ret = mbedtls_ecdsa_write_signature( &ecdsa, MBEDTLS_MD_SHA256, buf, curve_info->bit_size, in main()
739 for( curve_info = mbedtls_ecp_curve_list(); in main()
740 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in main()
741 curve_info++ ) in main()
745 if( mbedtls_ecdsa_genkey( &ecdsa, curve_info->grp_id, myrand, NULL ) != 0 || in main()
746 mbedtls_ecdsa_write_signature( &ecdsa, MBEDTLS_MD_SHA256, buf, curve_info->bit_size, in main()
754 curve_info->name ); in main()
756 ret = mbedtls_ecdsa_read_signature( &ecdsa, buf, curve_info->bit_size, in main()
771 const mbedtls_ecp_curve_info *curve_info; in main() local
774 for( curve_info = mbedtls_ecp_curve_list(); in main()
775 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in main()
776 curve_info++ ) in main()
780 if( mbedtls_ecp_group_load( &ecdh.grp, curve_info->grp_id ) != 0 || in main()
790 curve_info->name ); in main()
820 for( curve_info = mbedtls_ecp_curve_list(); in main()
821 curve_info->grp_id != MBEDTLS_ECP_DP_NONE; in main()
822 curve_info++ ) in main()
826 if( mbedtls_ecp_group_load( &ecdh.grp, curve_info->grp_id ) != 0 || in main()
838 curve_info->name ); in main()