summaryrefslogtreecommitdiffstats
path: root/security/keys/key.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-12-08 16:13:29 +0100
committerDavid Howells <dhowells@redhat.com>2017-12-08 16:13:29 +0100
commitaa3300362060525fe1a32de56df9578033530d98 (patch)
treefc00a8c9e989ef2d7b3a5444324f8e596c99aea9 /security/keys/key.c
parentKEYS: be careful with error codes in public_key_verify_signature() (diff)
downloadlinux-aa3300362060525fe1a32de56df9578033530d98.tar.xz
linux-aa3300362060525fe1a32de56df9578033530d98.zip
X.509: use crypto_shash_digest()
Use crypto_shash_digest() instead of crypto_shash_init() followed by crypto_shash_finup(). (For simplicity only; they are equivalent.) Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/keys/key.c')
0 files changed, 0 insertions, 0 deletions