~registry/kmod/master

Viewing all changes in revision 1313.

  • Committer: Lucas De Marchi
  • Author(s): Dimitri John Ledkov
  • Date: 2023-11-07 20:05:44 UTC
  • Revision ID: git-v1:510c8b7f7455c6613dd1706e5e41ec7b09cf6703
libkmod: remove pkcs7 obj_to_hash_algo()

Switch to using OBJ_obj2txt() to calculate and print the pkcs7
signature hash name. This eliminates the need to duplicate libcrypto
NID to name mapping, detect SM3 openssl compile-time support, and
enables using any hashes that openssl and kernel know about. For
example SHA3 are being added for v6.7 and with this patch are
automatically supported.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Link: https://lore.kernel.org/r/20231029010319.157390-1-dimitri.ledkov@canonical.com

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: