Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAPI: Add new profiles P_RSA3072SHA384 P_ECCP384SHA384 #2768

Merged

Conversation

JuergenReppSIT
Copy link
Member

@JuergenReppSIT JuergenReppSIT commented Feb 12, 2024

  • The new profiles are added to the dist directory.
  • The key size 3072 and 4092 is added to the json serialization and deserialization.
  • The integration tests are adapted to enable usage of P_RSA3072 as default profile.
  • The state handling in the state machines of the policy utilities is fixed.
  • The policy error handling has been cleaned up

@JuergenReppSIT JuergenReppSIT force-pushed the fapi-add-new-dist-profiles branch from f968840 to 6c9188b Compare February 12, 2024 15:12
@JuergenReppSIT JuergenReppSIT marked this pull request as draft February 12, 2024 15:37
@JuergenReppSIT JuergenReppSIT force-pushed the fapi-add-new-dist-profiles branch 3 times, most recently from f13d4ad to 2149fb1 Compare February 12, 2024 16:58
* The new profiles are added to the dist directory.
* The key size 3072 and 4092 is added to the json serialization
  and deserialization.
* The unused parameter session_hash_alg is removed from P_RSA2048SHA256.
* Unnecessary commas have been removed from the profiles

Signed-off-by: Juergen Repp <juergen_repp@web.de>
@JuergenReppSIT JuergenReppSIT force-pushed the fapi-add-new-dist-profiles branch from 2149fb1 to 2a99130 Compare February 12, 2024 17:16
The compiler errors maybe unused with gcc version 12.2.0 (Debian 12.2.0-14)
are fixed.

Signed-off-by: Juergen Repp <juergen_repp@web.de>
* The test were a sha1 bank is needed are skippd.
* Policy usuage is adapted.

Signed-off-by: Juergen Repp <juergen_repp@web.de>
@JuergenReppSIT JuergenReppSIT force-pushed the fapi-add-new-dist-profiles branch from a43c33c to d98ea00 Compare February 13, 2024 11:12
@JuergenReppSIT JuergenReppSIT marked this pull request as ready for review February 13, 2024 16:55
@JuergenReppSIT JuergenReppSIT changed the title FAPI: Add new profiles P_RSA3072SHA256 P_ECCP384SHA384 FAPI: Add new profiles P_RSA3072SHA384 P_ECCP384SHA384 Feb 13, 2024
@JuergenReppSIT JuergenReppSIT force-pushed the fapi-add-new-dist-profiles branch from 68f6779 to 1ed4935 Compare February 16, 2024 09:03
json-c versions < 0.13 are not supported. In these versions
it was not possible to check the result of json_object_object_add.
The check is now added.

Signed-off-by: Juergen Repp <juergen_repp@web.de>
@JuergenReppSIT JuergenReppSIT force-pushed the fapi-add-new-dist-profiles branch from 1ed4935 to c28a374 Compare February 18, 2024 19:52
src/tss2-fapi/fapi_util.c Fixed Show fixed Hide fixed
Various errors occurred during policy error handling.
The flush for esys policy objects was sometimes
executed several times. The policy error handling is now unified.
Unneeded duplicate code is removed. Unneeded code is removed.
The state was not initialized correctly in error cases in
the policy utility state machines.

Signed-off-by: Juergen Repp <juergen_repp@web.de>
@JuergenReppSIT JuergenReppSIT force-pushed the fapi-add-new-dist-profiles branch from c28a374 to f87820d Compare February 18, 2024 20:07
@AndreasFuchsTPM AndreasFuchsTPM merged commit 2a454d4 into tpm2-software:master Feb 21, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants