diff options
author | Mickaël Salaün <mic@linux.microsoft.com> | 2021-07-12 19:03:12 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2022-05-23 18:47:49 +0300 |
commit | 72d622e4869e39abb2e4e1374c652f19c72fcd84 (patch) | |
tree | 36ff36b00b22a74e10eee2b80849ab23d54f5ad6 /crypto/api.c | |
parent | 6cc10d30a2da07223b153bd87beebd63412ff5b9 (diff) | |
download | linux-crypto-72d622e4869e39abb2e4e1374c652f19c72fcd84.tar.gz linux-crypto-72d622e4869e39abb2e4e1374c652f19c72fcd84.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 '')
0 files changed, 0 insertions, 0 deletions