Lines Matching full:rsa

133 .IX Title "EVP_PKEY-RSA 7ossl"
134 .TH EVP_PKEY-RSA 7ossl "2023-09-19" "3.0.11" "OpenSSL"
140 EVP_PKEY\-RSA, EVP_KEYMGMT\-RSA, RSA
141 \&\- EVP_PKEY RSA keytype and algorithm support
144 The \fB\s-1RSA\s0\fR keytype is implemented in OpenSSL's default and \s-1FIPS\s0 providers.
145 That implementation supports the basic \s-1RSA\s0 keys, containing the modulus \fIn\fR,
149 .SS "Common \s-1RSA\s0 parameters"
150 .IX Subsection "Common RSA parameters"
152 \&\*(L"Common parameters\*(R" in \fBprovider\-keymgmt\fR\|(7)), the \fB\s-1RSA\s0\fR keytype implem…
157 The \s-1RSA\s0 modulus \*(L"n\*(R" value.
161 The \s-1RSA\s0 public exponent \*(L"e\*(R" value.
168 The \s-1RSA\s0 private exponent \*(L"d\*(R" value.
171 .IX Item "rsa-factor1 (OSSL_PKEY_PARAM_RSA_FACTOR1) <unsigned integer>"
175 .IX Item "rsa-factor2 (OSSL_PKEY_PARAM_RSA_FACTOR2) <unsigned integer>"
178 .IX Item "rsa-factor3 (OSSL_PKEY_PARAM_RSA_FACTOR3) <unsigned integer>"
181 .IX Item "rsa-factor4 (OSSL_PKEY_PARAM_RSA_FACTOR4) <unsigned integer>"
184 .IX Item "rsa-factor5 (OSSL_PKEY_PARAM_RSA_FACTOR5) <unsigned integer>"
187 .IX Item "rsa-factor6 (OSSL_PKEY_PARAM_RSA_FACTOR6) <unsigned integer>"
190 .IX Item "rsa-factor7 (OSSL_PKEY_PARAM_RSA_FACTOR7) <unsigned integer>"
193 .IX Item "rsa-factor8 (OSSL_PKEY_PARAM_RSA_FACTOR8) <unsigned integer>"
196 .IX Item "rsa-factor9 (OSSL_PKEY_PARAM_RSA_FACTOR9) <unsigned integer>"
199 .IX Item "rsa-factor10 (OSSL_PKEY_PARAM_RSA_FACTOR10) <unsigned integer>"
201 \&\s-1RSA\s0 prime factors. The factors are known as \*(L"p\*(R", \*(L"q\*(R" and \*(L"r_i\*(R" in …
205 .IX Item "rsa-exponent1 (OSSL_PKEY_PARAM_RSA_EXPONENT1) <unsigned integer>"
209 .IX Item "rsa-exponent2 (OSSL_PKEY_PARAM_RSA_EXPONENT2) <unsigned integer>"
212 .IX Item "rsa-exponent3 (OSSL_PKEY_PARAM_RSA_EXPONENT3) <unsigned integer>"
215 .IX Item "rsa-exponent4 (OSSL_PKEY_PARAM_RSA_EXPONENT4) <unsigned integer>"
218 .IX Item "rsa-exponent5 (OSSL_PKEY_PARAM_RSA_EXPONENT5) <unsigned integer>"
221 .IX Item "rsa-exponent6 (OSSL_PKEY_PARAM_RSA_EXPONENT6) <unsigned integer>"
224 .IX Item "rsa-exponent7 (OSSL_PKEY_PARAM_RSA_EXPONENT7) <unsigned integer>"
227 .IX Item "rsa-exponent8 (OSSL_PKEY_PARAM_RSA_EXPONENT8) <unsigned integer>"
230 .IX Item "rsa-exponent9 (OSSL_PKEY_PARAM_RSA_EXPONENT9) <unsigned integer>"
233 .IX Item "rsa-exponent10 (OSSL_PKEY_PARAM_RSA_EXPONENT10) <unsigned integer>"
235 \&\s-1RSA CRT\s0 (Chinese Remainder Theorem) exponents. The exponents are known
240 .IX Item "rsa-coefficient1 (OSSL_PKEY_PARAM_RSA_COEFFICIENT1) <unsigned integer>"
244 .IX Item "rsa-coefficient2 (OSSL_PKEY_PARAM_RSA_COEFFICIENT2) <unsigned integer>"
247 .IX Item "rsa-coefficient3 (OSSL_PKEY_PARAM_RSA_COEFFICIENT3) <unsigned integer>"
250 .IX Item "rsa-coefficient4 (OSSL_PKEY_PARAM_RSA_COEFFICIENT4) <unsigned integer>"
253 .IX Item "rsa-coefficient5 (OSSL_PKEY_PARAM_RSA_COEFFICIENT5) <unsigned integer>"
256 .IX Item "rsa-coefficient6 (OSSL_PKEY_PARAM_RSA_COEFFICIENT6) <unsigned integer>"
259 .IX Item "rsa-coefficient7 (OSSL_PKEY_PARAM_RSA_COEFFICIENT7) <unsigned integer>"
262 .IX Item "rsa-coefficient8 (OSSL_PKEY_PARAM_RSA_COEFFICIENT8) <unsigned integer>"
265 .IX Item "rsa-coefficient9 (OSSL_PKEY_PARAM_RSA_COEFFICIENT9) <unsigned integer>"
267 \&\s-1RSA CRT\s0 (Chinese Remainder Theorem) coefficients. The coefficients are known as
270 .SS "\s-1RSA\s0 key generation parameters"
271 .IX Subsection "RSA key generation parameters"
272 When generating \s-1RSA\s0 keys, the following key generation parameters may be used.
276 The value should be the cryptographic length for the \fB\s-1RSA\s0\fR cryptosystem, in
281 The value should be the number of primes for the generated \fB\s-1RSA\s0\fR key. The
289 The \s-1RSA\s0 \*(L"e\*(R" value. The value may be any odd number greater than or equal to
292 .SS "\s-1RSA\s0 key generation parameters for \s-1FIPS\s0 module testing"
293 .IX Subsection "RSA key generation parameters for FIPS module testing"
294 When generating \s-1RSA\s0 keys, the following additional key generation parameters may
296 \&\s-1RSA\s0 keys for a production environment.
323 .SS "\s-1RSA\s0 key parameters for \s-1FIPS\s0 module testing"
324 .IX Subsection "RSA key parameters for FIPS module testing"
326 specified in \*(L"\s-1RSA\s0 key generation parameters for \s-1FIPS\s0 module testing\*(R" are set.
343 .SS "\s-1RSA\s0 key validation"
344 .IX Subsection "RSA key validation"
345 For \s-1RSA\s0 keys, \fBEVP_PKEY_param_check\fR\|(3) and \fBEVP_PKEY_param_check_quick\fR\|(3)
348 For \s-1RSA\s0 keys, \fBEVP_PKEY_public_check\fR\|(3) conforms to the SP800\-56Br1 \fIpublic key
353 For \s-1RSA\s0 keys, \fBEVP_PKEY_public_check_quick\fR\|(3) is the same as
356 For \s-1RSA\s0 keys, \fBEVP_PKEY_private_check\fR\|(3) conforms to the SP800\-56Br1
359 For \s-1RSA\s0 keys, \fBEVP_PKEY_pairwise_check\fR\|(3) conforms to the
368 .IP "\s-1RFC 8017,\s0 excluding RSA-PSS and RSA-OAEP" 4
369 .IX Item "RFC 8017, excluding RSA-PSS and RSA-OAEP"
376 \& EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL);
379 An \fB\s-1RSA\s0\fR key can be generated simply like this:
390 \& EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL);
397 An \fB\s-1RSA\s0\fR key can be generated with key generation parameters:
404 \& EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL);