From 36c0f0588bb1e22065d63b7d013df5fdbde1f03c Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Fri, 10 Jan 2025 13:44:28 -0500 Subject: [PATCH] util/fipstools: update RSA sigGen cmd args docs The ACVP.md documentation for the acvptool module wrapper commands described the "RSA/sigGen//pkcs1v1.5" and "RSA/sigGen//pss" commands as only being provided the RSA modulus bit-size, but in practice the command gets both the bit-size and a message. This commit updates the docs to match. Change-Id: I63267bca9855acfb6ba770f3d999fbc6939d283e Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/75127 Reviewed-by: Bob Beck Reviewed-by: Adam Langley Commit-Queue: Adam Langley --- util/fipstools/acvp/ACVP.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/fipstools/acvp/ACVP.md b/util/fipstools/acvp/ACVP.md index fc14a85bc..ffd47e553 100644 --- a/util/fipstools/acvp/ACVP.md +++ b/util/fipstools/acvp/ACVP.md @@ -99,8 +99,8 @@ The other commands are as follows. (Note that you only need to implement the com | KDF-counter | Number output bytes, PRF name, counter location string, key (or empty), number of counter bits | key, counter, derived key | | KDF-feedback | Number output bytes, PRF name, counter location string, key (or empty), number of counter bits | key, counter, derived key | | RSA/keyGen | Modulus bit-size | e, p, q, n, d | -| RSA/sigGen/<HASH>/pkcs1v1.5 | Modulus bit-size | n, e, signature | -| RSA/sigGen/<HASH>/pss | Modulus bit-size | n, e, signature | +| RSA/sigGen/<HASH>/pkcs1v1.5 | Modulus bit-size, message | n, e, signature | +| RSA/sigGen/<HASH>/pss | Modulus bit-size, message | n, e, signature | | RSA/sigVer/<HASH>/pkcs1v1.5 | n, e, message, signature | Single-byte validity flag | | RSA/sigVer/<HASH>/pss | n, e, message, signature | Single-byte validity flag | | SHA-1 | Value to hash | Digest |