1e71b7053SJung-uk Kim=pod 2e71b7053SJung-uk Kim 3e71b7053SJung-uk Kim=head1 NAME 4e71b7053SJung-uk Kim 5e71b7053SJung-uk KimECPKParameters_print, ECPKParameters_print_fp - Functions for decoding and 6e71b7053SJung-uk Kimencoding ASN1 representations of elliptic curve entities 7e71b7053SJung-uk Kim 8e71b7053SJung-uk Kim=head1 SYNOPSIS 9e71b7053SJung-uk Kim 10e71b7053SJung-uk Kim #include <openssl/ec.h> 11e71b7053SJung-uk Kim 12*b077aed3SPierre ProncheryThe following functions have been deprecated since OpenSSL 3.0, and can be 13*b077aed3SPierre Proncheryhidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 14*b077aed3SPierre Proncherysee L<openssl_user_macros(7)>: 15*b077aed3SPierre Pronchery 16e71b7053SJung-uk Kim int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off); 17e71b7053SJung-uk Kim int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off); 18e71b7053SJung-uk Kim 19e71b7053SJung-uk Kim=head1 DESCRIPTION 20e71b7053SJung-uk Kim 21*b077aed3SPierre ProncheryAll of the functions described on this page are deprecated. 22*b077aed3SPierre ProncheryApplications should instead use L<EVP_PKEY_print_params(3)> 23*b077aed3SPierre Pronchery 24e71b7053SJung-uk KimThe ECPKParameters represent the public parameters for an 25e71b7053SJung-uk KimB<EC_GROUP> structure, which represents a curve. 26e71b7053SJung-uk Kim 27e71b7053SJung-uk KimThe ECPKParameters_print() and ECPKParameters_print_fp() functions print 28e71b7053SJung-uk Kima human-readable output of the public parameters of the EC_GROUP to B<bp> 29e71b7053SJung-uk Kimor B<fp>. The output lines are indented by B<off> spaces. 30e71b7053SJung-uk Kim 31e71b7053SJung-uk Kim=head1 RETURN VALUES 32e71b7053SJung-uk Kim 33e71b7053SJung-uk KimECPKParameters_print() and ECPKParameters_print_fp() 34e71b7053SJung-uk Kimreturn 1 for success and 0 if an error occurs. 35e71b7053SJung-uk Kim 36e71b7053SJung-uk Kim=head1 SEE ALSO 37e71b7053SJung-uk Kim 38e71b7053SJung-uk KimL<crypto(7)>, L<EC_GROUP_new(3)>, L<EC_GROUP_copy(3)>, 39e71b7053SJung-uk KimL<EC_POINT_new(3)>, L<EC_POINT_add(3)>, L<EC_KEY_new(3)>, 40e71b7053SJung-uk KimL<EC_GFp_simple_method(3)>, 41e71b7053SJung-uk Kim 42*b077aed3SPierre Pronchery=head1 HISTORY 43*b077aed3SPierre Pronchery 44*b077aed3SPierre ProncheryAll of these functions were deprecated in OpenSSL 3.0. 45*b077aed3SPierre Pronchery 46e71b7053SJung-uk Kim=head1 COPYRIGHT 47e71b7053SJung-uk Kim 48*b077aed3SPierre ProncheryCopyright 2013-2021 The OpenSSL Project Authors. All Rights Reserved. 49e71b7053SJung-uk Kim 50*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License"). You may not use 51e71b7053SJung-uk Kimthis file except in compliance with the License. You can obtain a copy 52e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at 53e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>. 54e71b7053SJung-uk Kim 55e71b7053SJung-uk Kim=cut 56