aboutsummaryrefslogtreecommitdiff
path: root/certs/system_keyring.c
diff options
context:
space:
mode:
authorGravatar Mickaël Salaün <mic@linux.microsoft.com> 2021-07-12 19:03:12 +0200
committerGravatar Jarkko Sakkinen <jarkko@kernel.org> 2022-05-23 18:47:49 +0300
commit141e523914f72575915dd334fce3cef4fb0f1e91 (patch)
treea1fd9fd869d32125134630d3c3b88c6ae6223f81 /certs/system_keyring.c
parenttools/certs: Add print-cert-tbs-hash.sh (diff)
downloadlinux-141e523914f72575915dd334fce3cef4fb0f1e91.tar.gz
linux-141e523914f72575915dd334fce3cef4fb0f1e91.tar.bz2
linux-141e523914f72575915dd334fce3cef4fb0f1e91.zip
certs: Factor out the blacklist hash creation
Factor out the blacklist hash creation with the get_raw_hash() helper. This also centralize the "tbs" and "bin" prefixes and make them private, which help to manage them consistently. Cc: David Howells <dhowells@redhat.com> Cc: David S. Miller <davem@davemloft.net> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Eric Snowberg <eric.snowberg@oracle.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com> Link: https://lore.kernel.org/r/20210712170313.884724-5-mic@digikod.net Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'certs/system_keyring.c')
0 files changed, 0 insertions, 0 deletions