Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion reference/openssl/functions/openssl-sign.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@
<varlistentry>
<term><parameter>padding</parameter></term>
<listitem>
<simpara>RSA PSS padding to use.</simpara>
<para>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<para>
<simpara>

<parameter>padding</parameter> only supports one option:
<constant>OPENSSL_PKCS1_PSS_PADDING</constant>.
Comment on lines +75 to +76
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<parameter>padding</parameter> only supports one option:
<constant>OPENSSL_PKCS1_PSS_PADDING</constant>.
Controls RSA padding. If unspecified (<literal>0</literal>), the default RSA PKCS#1 v1.5 padding is used.
Set to <constant>OPENSSL_PKCS1_PSS_PADDING</constant> to enable PSS.

Copy link
Copy Markdown
Member

@lacatoire lacatoire Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

php_openssl_setup_rsa_padding() accept 3 values (0 / RSA_PKCS1_PADDING / RSA_PKCS1_PSS_PADDING). Here

</para>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
</para>
</simpara>

</listitem>
</varlistentry>
</variablelist>
Expand Down