tpm2: Add missing attributes to code documentation and man pages

Add attributes documentation where found missing.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2024-10-17 09:13:20 -04:00 committed by Stefan Berger
parent ecff064e8d
commit aef0ecbeb4
2 changed files with 29 additions and 1 deletions

View File

@ -166,7 +166,31 @@ now. RSA key OBJECTs may be 4 bytes bigger while others are smaller now.
=item 7: (since v0.10)
This I<StateFormatLevel> enabled the I<fips-host> attribute.
This I<StateFormatLevel> enabled the following profile attributes:
=over 2
=item * no-unpadded-encryption
=item * no-sha1-signing
=item * no-sha1-verification
=item * no-sha1-hmac-creation
=item * no-sha1-hmac-verification
=item * no-sha1-hmac
=item * fips-host
=item * drbg-continous-test
=item * pct
=item * no-ecc-key-derivation
=back
=back

View File

@ -98,9 +98,13 @@ static const struct RuntimeProfileDesc {
* - no-unpadded-encryption
* - no-sha1-signing
* - no-sha1-verification
* - no-sha1-hmac-creation
* - no-sha1-hmac-verification
* - no-sha1-hmac
* - fips-host
* - drbg-continous-test
* - pct
* - no-ecc-key-derivation
*/
const char *description;
#define DESCRIPTION_MAX_SIZE 250