aboutsummaryrefslogtreecommitdiffhomepage
path: root/zxcvbn.h
diff options
context:
space:
mode:
authortony <tsyrogit@users.noreply.github.com>2016-10-24 09:56:16 +0100
committertony <tsyrogit@users.noreply.github.com>2016-10-24 09:56:16 +0100
commitebfeb8abdd6a503e880095f07f5cba76dcfcc0d9 (patch)
tree79cedaeb8661b8cb76e9f22acf6e37f1d763e66f /zxcvbn.h
parent6040c15aedbeac09764b85e5949b0e71b5c36a81 (diff)
downloadzxcvbn-c-ebfeb8abdd6a503e880095f07f5cba76dcfcc0d9.tar.gz
Add extra entropy if a password is made from multiple matches, also move some controlling #defines to beginning of zxcvbn.c
Diffstat (limited to 'zxcvbn.h')
-rw-r--r--zxcvbn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zxcvbn.h b/zxcvbn.h
index db08556..796d6b4 100644
--- a/zxcvbn.h
+++ b/zxcvbn.h
@@ -79,6 +79,7 @@ struct ZxcMatch
int Begin; /* Char position of begining of match */
int Length; /* Number of chars in the match */
double Entrpy; /* The entropy of the match */
+ double MltEnpy; /* Entropy with additional allowance for multipart password */
ZxcTypeMatch_t Type; /* Type of match (Spatial/Dictionary/Order/Repeat) */
struct ZxcMatch *Next;
};