From 62c0daa3b429145bdd4a860e9bd88ed7a34c9c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Thura?= Date: Mon, 24 Jun 2024 11:50:20 +0200 Subject: [PATCH] doc(pkcs11-tool): Add new cli switch --- doc/tools/pkcs11-tool.1.xml | 9 +++++++++ doc/tools/tools.html | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/doc/tools/pkcs11-tool.1.xml b/doc/tools/pkcs11-tool.1.xml index 965d704077..d505563d9d 100644 --- a/doc/tools/pkcs11-tool.1.xml +++ b/doc/tools/pkcs11-tool.1.xml @@ -700,6 +700,15 @@ + + + num + + Sets the length of the MAC for the general-length MACing mechanisms + to num bytes. + + + diff --git a/doc/tools/tools.html b/doc/tools/tools.html index 4294dc16fd..46848c3be3 100644 --- a/doc/tools/tools.html +++ b/doc/tools/tools.html @@ -1714,6 +1714,10 @@ --iv data

Initialization vector for symmetric ciphers. The data is hexadecimal number, i.e. "000013aa7bffa0". +

+ --mac-general-param num +

Sets the length of the MAC for the general-length MACing mechanisms + to num bytes.

Examples

Perform a basic functionality test of the card: