]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix parameter types int -> integer changes
authorPauli <ppzgs1@gmail.com>
Mon, 15 Jul 2024 01:06:45 +0000 (11:06 +1000)
committerRichard Levitte <levitte@openssl.org>
Tue, 16 Jul 2024 04:42:05 +0000 (06:42 +0200)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24881)

13 files changed:
doc/man7/EVP_ASYM_CIPHER-RSA.pod
doc/man7/EVP_KDF-TLS1_PRF.pod
doc/man7/EVP_KEM-RSA.pod
doc/man7/EVP_KEYEXCH-DH.pod
doc/man7/EVP_KEYEXCH-ECDH.pod
doc/man7/EVP_SIGNATURE-DSA.pod
doc/man7/EVP_SIGNATURE-ECDSA.pod
doc/man7/EVP_SIGNATURE-RSA.pod
doc/man7/provider-asym_cipher.pod
doc/man7/provider-kem.pod
doc/man7/provider-keyexch.pod
doc/man7/provider-rand.pod
doc/man7/provider-signature.pod

index b36927082dc28a5db1529e8590b1d7f1a34e6cb7..005a20f82fe711ae249c9e4da63d98e547b3f13e 100644 (file)
@@ -57,9 +57,9 @@ See L<EVP_PKEY_CTX_set_rsa_padding(3)> for further details.
 
 =item "oaep-label" (B<OSSL_ASYM_CIPHER_PARAM_OAEP_LABEL>) <octet string>
 
-=item "fips-indicator" (B<OSSL_ASYM_CIPHER_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_ASYM_CIPHER_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
-=item "key-check" (B<OSSL_ASYM_CIPHER_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_ASYM_CIPHER_PARAM_FIPS_KEY_CHECK>) <integer>
 
 =item "tls-client-version" (B<OSSL_ASYM_CIPHER_PARAM_TLS_CLIENT_VERSION>) <unsigned integer>
 
index 1c0bf750badd7c3a0cb0f9d96b4714fdff276fe7..9cfc9a2424532d85869b1ce28ad88d182f01be71 100644 (file)
@@ -44,14 +44,14 @@ This parameter sets the context seed.
 The length of the context seed cannot exceed 1024 bytes;
 this should be more than enough for any normal use of the TLS PRF.
 
-=item "fips-indicator" (B<OSSL_KDF_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_KDF_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
 A getter that returns 1 if the operation is FIPS approved, or 0 otherwise.
 This may be used after calling EVP_KDF_derive. It returns 0 if the "ems_check"
 is set to 0 and the "extended master secret" test fails.
 This option is used by the OpenSSL FIPS provider.
 
-=item "ems_check" (B<OSSL_KDF_PARAM_FIPS_EMS_CHECK>) <int>
+=item "ems_check" (B<OSSL_KDF_PARAM_FIPS_EMS_CHECK>) <integer>
 
 The default value of 1 causes an error during EVP_KDF_derive() if
 "master secret" is used instead of "extended master secret" Setting this to zero
index 2733be6a6cb4a18e324ecd450808fc2de4d17bdc..e67f27bbda09b757e6c4944226c4f344d032d7c6 100644 (file)
@@ -31,9 +31,9 @@ The decapsulate function recovers the secret using the RSA private key.
 
 This can be set using EVP_PKEY_CTX_set_kem_op().
 
-=item "fips-indicator" (B<OSSL_KEM_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_KEM_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
-=item "key-check" (B<OSSL_KEM_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_KEM_PARAM_FIPS_KEY_CHECK>) <integer>
 
 These parameters are described in L<provider-kem(7)>.
 
index 1ccc469318274b7a086539cf1f284938443f6eeb..bf24a35f987dc2515472514fd6bb17626ef92928 100644 (file)
@@ -36,11 +36,11 @@ the KDF type is set to "X942KDF-ASN1" (B<OSSL_KDF_NAME_X942KDF_ASN1>).
 
 =item "kdf-ukm" (B<OSSL_EXCHANGE_PARAM_KDF_UKM>) <octet string>
 
-=item "fips-indicator" (B<OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
-=item "key-check" (B<OSSL_EXCHANGE_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_EXCHANGE_PARAM_FIPS_KEY_CHECK>) <integer>
 
-=item "digest-check" (B<OSSL_EXCHANGE_PARAM_FIPS_DIGEST_CHECK>) <int>
+=item "digest-check" (B<OSSL_EXCHANGE_PARAM_FIPS_DIGEST_CHECK>) <integer>
 
 See L<provider-keyexch(7)/Common Key Exchange parameters>.
 
index 28e8d2a7608aadf600c47bc4f905aa79dc105712..1d27f552982c1c94847af19391dd8b64fd5f88bb 100644 (file)
@@ -41,11 +41,11 @@ per-key basis.
 
 =item "kdf-ukm" (B<OSSL_EXCHANGE_PARAM_KDF_UKM>) <octet string>
 
-=item "fips-indicator" (B<OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
-=item "key-check" (B<OSSL_EXCHANGE_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_EXCHANGE_PARAM_FIPS_KEY_CHECK>) <integer>
 
-=item "digest-check" (B<OSSL_EXCHANGE_PARAM_FIPS_DIGEST_CHECK>) <int>
+=item "digest-check" (B<OSSL_EXCHANGE_PARAM_FIPS_DIGEST_CHECK>) <integer>
 
 See L<provider-keyexch(7)/Common Key Exchange parameters>.
 
index 2e761cb6679e7fee2ce46a8655a93597a4733533..b0ae2ea33f5a398f3949e009c5f63448424f00eb 100644 (file)
@@ -25,9 +25,9 @@ using EVP_PKEY_sign_init_ex() or EVP_PKEY_verify_init_ex().
 
 =item "nonce-type" (B<OSSL_SIGNATURE_PARAM_NONCE_TYPE>) <unsigned integer>
 
-=item "key-check" (B<OSSL_SIGNATURE_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_SIGNATURE_PARAM_FIPS_KEY_CHECK>) <integer>
 
-=item "digest-check" (B<OSSL_SIGNATURE_PARAM_FIPS_DIGEST_CHECK>) <int>
+=item "digest-check" (B<OSSL_SIGNATURE_PARAM_FIPS_DIGEST_CHECK>) <integer>
 
 The settable parameters are described in L<provider-signature(7)>.
 
@@ -44,7 +44,7 @@ EVP_PKEY_CTX_get_params().
 
 =item "nonce-type" (B<OSSL_SIGNATURE_PARAM_NONCE_TYPE>) <unsigned integer>
 
-=item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
 The gettable parameters are described in L<provider-signature(7)>.
 
index 4d47b8c9bfce43093833553ac085656fa4aed4bd..49d9dff949735ab38a2360c41d5f7bd45b478bb4 100644 (file)
@@ -23,9 +23,9 @@ and before calling EVP_PKEY_sign() or EVP_PKEY_verify().
 
 =item "nonce-type" (B<OSSL_SIGNATURE_PARAM_NONCE_TYPE>) <unsigned integer>
 
-=item "key-check" (B<OSSL_SIGNATURE_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_SIGNATURE_PARAM_FIPS_KEY_CHECK>) <integer>
 
-=item "digest-check" (B<OSSL_SIGNATURE_PARAM_FIPS_DIGEST_CHECK>) <int>
+=item "digest-check" (B<OSSL_SIGNATURE_PARAM_FIPS_DIGEST_CHECK>) <integer>
 
 These parameters are described in L<provider-signature(7)>.
 
@@ -42,7 +42,7 @@ EVP_PKEY_CTX_get_params().
 
 =item "nonce-type" (B<OSSL_SIGNATURE_PARAM_NONCE_TYPE>) <unsigned integer>
 
-=item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
 The parameters are described in L<provider-signature(7)>.
 
index 9398e77019cc46f72fe2f36628b2b0b9adc78846..4400c4f05378ffe7244fc278f4e51ed9a77b5c09 100644 (file)
@@ -23,9 +23,9 @@ using EVP_PKEY_sign_init_ex() or EVP_PKEY_verify_init_ex().
 
 =item "properties" (B<OSSL_SIGNATURE_PARAM_PROPERTIES>) <UTF8 string>
 
-=item "key-check" (B<OSSL_SIGNATURE_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_SIGNATURE_PARAM_FIPS_KEY_CHECK>) <integer>
 
-=item "digest-check" (B<OSSL_SIGNATURE_PARAM_FIPS_DIGEST_CHECK>) <int>
+=item "digest-check" (B<OSSL_SIGNATURE_PARAM_FIPS_DIGEST_CHECK>) <integer>
 
 These common parameters are described in L<provider-signature(7)>.
 
@@ -89,7 +89,7 @@ EVP_PKEY_CTX_get_params().
 
 =item "algorithm-id" (B<OSSL_SIGNATURE_PARAM_ALGORITHM_ID>) <octet string>
 
-=item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
 These common parameter are described in L<provider-signature(7)>.
 
index 9602367da8e2749e699b99abefed4a45c415d3ca..e2a981e860f60baa8b1de1b39da99ef72f915e9d 100644 (file)
@@ -243,14 +243,14 @@ This makes exploitation of the Bleichenbacher significantly harder, even
 if the code using the RSA decryption API is not implemented in side-channel
 free manner. Set by default. Requires provider support.
 
-=item "fips-indicator" (B<OSSL_ASYM_CIPHER_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_ASYM_CIPHER_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
 A getter that returns 1 if the operation is FIPS approved, or 0 otherwise.
 This may be used after calling either OSSL_FUNC_asym_cipher_encrypt() or
 OSSL_FUNC_asym_cipher_decrypt(). It may return 0 if "key-check" is set to 0.
 This option is used by the OpenSSL FIPS provider.
 
-=item "key-check" (B<OSSL_ASYM_CIPHER_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_ASYM_CIPHER_PARAM_FIPS_KEY_CHECK>) <integer>
 
 If required this parameter should be set using either
 OSSL_FUNC_asym_cipher_encrypt_init() or OSSL_FUNC_asym_cipher_decrypt_init().
index eb04beb4291f0606be351ce485e44080663a3024..57c2ca916b53f6dd41dc4be827452c14f0295450 100644 (file)
@@ -191,14 +191,14 @@ are as follows.
 
 =over 4
 
-=item "fips-indicator" (B<OSSL_KEM_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_KEM_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
 A getter that returns 1 if the operation is FIPS approved, or 0 otherwise.
 This may be used after calling either OSSL_FUNC_kem_encapsulate() or 
 OSSL_FUNC_kem_decapsulate(). It may return 0 if the "key-check" is set to 0.
 This option is used by the OpenSSL FIPS provider.
 
-=item "key-check" (B<OSSL_KEM_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_KEM_PARAM_FIPS_KEY_CHECK>) <integer>
 
 If required this parameter should be set using OSSL_FUNC_kem_encapsulate_init()
 or OSSL_FUNC_kem_decapsulate_init().
index 702bfb01f6b6421541c72946851b91f066963e50..69feb5277246b1e3e294a09d34dd4e3e297d9f59 100644 (file)
@@ -204,14 +204,14 @@ usually do not need to support this gettable parameter as its sole purpose
 is to support functionality of the deprecated EVP_PKEY_CTX_get0_ecdh_kdf_ukm()
 and EVP_PKEY_CTX_get0_dh_kdf_ukm() functions.
 
-=item "fips-indicator" (B<OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
 A getter that returns 1 if the operation is FIPS approved, or 0 otherwise.
 This may be used after calling OSSL_FUNC_keyexch_derive(). It may
 return 0 if either the "digest-check" or the "key-check" are set to 0.
 This option is used by the OpenSSL FIPS provider.
 
-=item "key-check" (B<OSSL_EXCHANGE_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_EXCHANGE_PARAM_FIPS_KEY_CHECK>) <integer>
 
 If required this parameter should be set using OSSL_FUNC_keyexch_init().
 The default value of 1 causes an error during the init if the key is not FIPS
@@ -220,7 +220,7 @@ this to 0 will ignore the error and set the approved "fips-indicator" to 0.
 This option is used by the OpenSSL FIPS provider, and breaks FIPS compliance if
 set to 0.
 
-=item "digest-check" (B<OSSL_EXCHANGE_PARAM_FIPS_DIGEST_CHECK>) <int>
+=item "digest-check" (B<OSSL_EXCHANGE_PARAM_FIPS_DIGEST_CHECK>) <integer>
 
 If required this parameter should be set before any optional digest is set.
 The default value of 1 causes an error when the digest is set if the digest is
index aa1df965f65a5073b5e86095e56e633970dd23d6..64d6f1b3bb4ae4c7124db3cc30fd8bdef2e99f3e 100644 (file)
@@ -254,14 +254,14 @@ Sets the properties to be queried when trying to fetch an underlying algorithm.
 This must be given together with the algorithm naming parameter to be
 considered valid.
 
-=item "fips-indicator" (B<OSSL_DRBG_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_DRBG_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
 A getter that returns 1 if the operation is FIPS approved, or 0 otherwise.
 This may be used after calling OSSL_FUNC_rand_generate(). It may
 return 0 if the "digest-check" is set to 0.
 This option is used by the OpenSSL FIPS provider.
 
-=item "digest-check" (B<OSSL_DRBG_PARAM_FIPS_DIGEST_CHECK>) <int>
+=item "digest-check" (B<OSSL_DRBG_PARAM_FIPS_DIGEST_CHECK>) <integer>
 
 If required this parameter should be set before the digest is set.
 The default value of 1 causes an error when the digest is set if the digest is
index 7763112d06e723d0cfa3857e63a49ba69b665a6a..49466e2cbcc67cc6cc20bd38bb6599fcffe842c3 100644 (file)
@@ -388,14 +388,14 @@ was successful.
 Known answer tests can be performed if the random generator is overridden to
 supply known values that either pass or fail.
 
-=item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <int>
+=item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
 A getter that returns 1 if the operation is FIPS approved, or 0 otherwise.
 This may be used after calling either the sign or verify final functions. It may
 return 0 if either the "digest-check" or the "key-check" are set to 0.
 This option is used by the OpenSSL FIPS provider.
 
-=item "key-check" (B<OSSL_SIGNATURE_PARAM_FIPS_KEY_CHECK>) <int>
+=item "key-check" (B<OSSL_SIGNATURE_PARAM_FIPS_KEY_CHECK>) <integer>
 
 If required this parameter should be set early via an init function
 (e.g. OSSL_FUNC_signature_sign_init() or OSSL_FUNC_signature_verify_init()).
@@ -405,7 +405,7 @@ Setting this to 0 will ignore the error and set the approved "indicator" to 0.
 This option is used by the OpenSSL FIPS provider, and breaks FIPS compliance if
 set to 0.
 
-=item "digest-check" (B<OSSL_SIGNATURE_PARAM_FIPS_DIGEST_CHECK>) <int>
+=item "digest-check" (B<OSSL_SIGNATURE_PARAM_FIPS_DIGEST_CHECK>) <integer>
 
 If required this parameter should be set before the signature digest is set.
 The default value of 1 causes an error when the digest is set if the digest is