diff options
Diffstat (limited to 'zxcvbn.h')
-rw-r--r-- | zxcvbn.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -69,7 +69,8 @@ typedef enum SEQUENCE_MATCH, /* 7 */ SPATIAL_MATCH, /* 8 */ DATE_MATCH, /* 9 */ - YEAR_MATCH /* 10 */ + YEAR_MATCH, /* 10 */ + MULTIPLE_MATCH = 32 /* Added to above to indicate matching part has been repeated */ } ZxcTypeMatch_t; /* Linked list of information returned in the Info arg to ZxcvbnMatch */ @@ -78,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; }; |