diff options
author | Pauli <paul.dale@oracle.com> | 2020-09-30 14:20:14 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-10-07 09:04:51 +1000 |
commit | 23b2fc0b501d6635dd821014aec8ff16689cbb6a (patch) | |
tree | 43e80f2bc60edcddd02ccd2316ca8d218051dca4 /doc | |
parent | a21db568bf3d0ab4194fd3e0917ee982f1fc8bfd (diff) |
rsa: add ossl_ prefix to internal rsa_ calls.
The functions being:
rsa_check_crt_components, rsa_check_key, rsa_check_pminusq_diff,
rsa_check_prime_factor, rsa_check_prime_factor_range,
rsa_check_private_exponent, rsa_check_public_exponent,
rsa_digestinfo_encoding, rsa_fips186_4_gen_prob_primes, rsa_fromdata,
rsa_get0_all_params, rsa_get0_libctx, rsa_get0_pss_params_30,
rsa_get_lcm, rsa_mgf_nid2name, rsa_mp_coeff_names, rsa_mp_exp_names,
rsa_mp_factor_names, rsa_new_with_ctx, rsa_oaeppss_md2nid,
rsa_oaeppss_nid2name, rsa_padding_add_PKCS1_OAEP_mgf1_with_libctx,
rsa_padding_add_PKCS1_type_2_with_libctx,
rsa_padding_add_SSLv23_with_libctx, rsa_padding_check_PKCS1_type_2_TLS,
rsa_pkey_method, rsa_pss_params_30_copy, rsa_pss_params_30_fromdata,
rsa_pss_params_30_hashalg, rsa_pss_params_30_is_unrestricted,
rsa_pss_params_30_maskgenalg, rsa_pss_params_30_maskgenhashalg,
rsa_pss_params_30_saltlen, rsa_pss_params_30_set_defaults,
rsa_pss_params_30_set_hashalg, rsa_pss_params_30_set_maskgenalg,
rsa_pss_params_30_set_maskgenhashalg, rsa_pss_params_30_set_saltlen,
rsa_pss_params_30_set_trailerfield, rsa_pss_params_30_todata,
rsa_pss_params_30_trailerfield, rsa_pss_pkey_method, rsa_set0_all_params,
rsa_sp800_56b_check_keypair, rsa_sp800_56b_check_private,
rsa_sp800_56b_check_public, rsa_sp800_56b_derive_params_from_pq,
rsa_sp800_56b_generate_key, rsa_sp800_56b_pairwise_test,
rsa_sp800_56b_validate_strength, rsa_todata, rsa_validate_pairwise,
rsa_validate_private and rsa_validate_public.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13040)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/internal/man3/ossl_rsa_get0_all_params.pod (renamed from doc/internal/man3/rsa_get0_all_params.pod) | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/internal/man3/rsa_get0_all_params.pod b/doc/internal/man3/ossl_rsa_get0_all_params.pod index c71028c13e..7af5d77d63 100644 --- a/doc/internal/man3/rsa_get0_all_params.pod +++ b/doc/internal/man3/ossl_rsa_get0_all_params.pod @@ -2,28 +2,28 @@ =head1 NAME -rsa_set0_all_params, rsa_get0_all_params +ossl_rsa_set0_all_params, ossl_rsa_get0_all_params - Internal routines for getting and setting data in an RSA object =head1 SYNOPSIS #include "crypto/rsa.h" - int rsa_get0_all_params(RSA *r, STACK_OF(BIGNUM_const) *primes, - STACK_OF(BIGNUM_const) *exps, - STACK_OF(BIGNUM_const) *coeffs); - int rsa_set0_all_params(RSA *r, const STACK_OF(BIGNUM) *primes, - const STACK_OF(BIGNUM) *exps, - const STACK_OF(BIGNUM) *coeffs); + int ossl_rsa_get0_all_params(RSA *r, STACK_OF(BIGNUM_const) *primes, + STACK_OF(BIGNUM_const) *exps, + STACK_OF(BIGNUM_const) *coeffs); + int ossl_rsa_set0_all_params(RSA *r, const STACK_OF(BIGNUM) *primes, + const STACK_OF(BIGNUM) *exps, + const STACK_OF(BIGNUM) *coeffs); =head1 DESCRIPTION -rsa_set0_all_params() sets all primes, CRT exponents and CRT coefficients +ossl_rsa_set0_all_params() sets all primes, CRT exponents and CRT coefficients in the B<RSA> object I<r> to the contents of the stacks of BIGNUMs I<primes>, I<exps> and I<coeffs>. The B<RSA> object takes ownership of the BIGNUMs, but not of the stacks. -rsa_get0_all_params() gets all primes, CRT exponents and CRT coefficients +ossl_rsa_get0_all_params() gets all primes, CRT exponents and CRT coefficients in the B<RSA> object I<r> and pushes them on the stacks of constant BIGNUMs I<primes>, I<exps> and I<coeffs>. The B<RSA> object retains ownership of the BIGNUMs, but not of the stacks. @@ -56,8 +56,8 @@ the number of coefficients must be one less than the number of primes. =head1 RETURN VALUES -rsa_get0_all_params() and rsa_set0_all_params() return 1 on success, or -0 on failure. +ossl_rsa_get0_all_params() and ossl_rsa_set0_all_params() return 1 on success, +or 0 on failure. =head1 SEE ALSO |