summaryrefslogtreecommitdiff
path: root/PasswordCrypt.h
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2013-01-24 18:24:49 +0800
committerPeter Jones <pjones@redhat.com>2013-09-26 11:58:01 -0400
commit9b41d26597e03af91de22b84c13d82a350d877ec (patch)
tree310d10e590a7c40121455b165708dd5dc820ff0b /PasswordCrypt.h
parentafb61e79027d2a5de9edfcab8de163609894f930 (diff)
downloadefi-boot-shim-9b41d26597e03af91de22b84c13d82a350d877ec.tar.gz
efi-boot-shim-9b41d26597e03af91de22b84c13d82a350d877ec.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__ */