rsa: add ossl_ prefix to internal rsa_ calls.
[openssl.git] / doc / internal / man3 / ossl_rsa_get0_all_params.pod
similarity index 69%
rename from doc/internal/man3/rsa_get0_all_params.pod
rename to doc/internal/man3/ossl_rsa_get0_all_params.pod
index c71028c13e2c7cf7b2dcbb611d44e4e48c07515b..7af5d77d63ef7bf29c404ba62c50e8732cb7bf3f 100644 (file)
@@ -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