Skip to content

Commit

Permalink
doc(pkcs11-tool): Add new cli switch
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ori authored and Jakuje committed Jul 2, 2024
1 parent 2b9188b commit 62c0daa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/tools/pkcs11-tool.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,15 @@
</para></listitem>
</varlistentry>

<varlistentry>
<term>
<option>--mac-general-param</option> <replaceable>num</replaceable>
</term>
<listitem><para>Sets the length of the MAC for the general-length MACing mechanisms
to <replaceable>num</replaceable> bytes.
</para></listitem>
</varlistentry>

</variablelist>
</para>
</refsect1>
Expand Down
4 changes: 4 additions & 0 deletions doc/tools/tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -1714,6 +1714,10 @@
<code class="option">--iv</code> <em class="replaceable"><code>data</code></em>
</span></dt><dd><p>Initialization vector for symmetric ciphers.
The <em class="replaceable"><code>data</code></em> is hexadecimal number, i.e. "000013aa7bffa0".
</p></dd><dt><span class="term">
<code class="option">--mac-general-param</code> <em class="replaceable"><code>num</code></em>
</span></dt><dd><p>Sets the length of the MAC for the general-length MACing mechanisms
to <em class="replaceable"><code>num</code></em> bytes.
</p></dd></dl></div><p>
</p></div><div class="refsect1"><a name="id-1.17.6"></a><h2>Examples</h2><p>
Perform a basic functionality test of the card:
Expand Down

0 comments on commit 62c0daa

Please sign in to comment.