Re: [PATCH kmod] libkmod: remove pkcs7 obj_to_hash_algo()

From: Lucas De Marchi
Date: Tue Nov 07 2023 - 15:33:21 EST


On Sun, Oct 29, 2023 at 03:03:19AM +0200, Dimitri John Ledkov wrote:
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@xxxxxxxxxxxxx>

Applied, thanks

Lucas De Marchi