summaryrefslogtreecommitdiff
path: root/PasswordCrypt.h
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2013-09-26 11:58:01 -0400
committerPeter Jones <pjones@redhat.com>2013-09-26 11:58:01 -0400
commit5a89835189b65ac053edc92246b5a9e74abeeea5 (patch)
tree310d10e590a7c40121455b165708dd5dc820ff0b /PasswordCrypt.h
parent3a838b14f0ea62da113ea0090e057713b0352aee (diff)
downloadefi-boot-shim-5a89835189b65ac053edc92246b5a9e74abeeea5.tar.gz
efi-boot-shim-5a89835189b65ac053edc92246b5a9e74abeeea5.zip
MokManager: support SHA512-based crypt() hash
Diffstat (limited to 'PasswordCrypt.h')
-rw-r--r--PasswordCrypt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/PasswordCrypt.h b/PasswordCrypt.h
index c9e377a2..144bf84e 100644
--- a/PasswordCrypt.h
+++ b/PasswordCrypt.h
@@ -22,5 +22,6 @@ typedef struct {
EFI_STATUS password_crypt (const char *password, UINT32 pw_length,
const PASSWORD_CRYPT *pw_hash, UINT8 *hash);
+UINT16 get_hash_size (const UINT16 method);
#endif /* __PASSWORD_CRYPT_H__ */