|
safec
3.1
Safe C Library - ISO TR24731 Bounds Checking Interface
|
#include "safe_str_lib.h"
Include dependency graph for strispassword_s.c:Functions | |
| bool | strispassword_s (const char *dest, rsize_t dmax) |
| This function validates the make-up of a password string. More... | |
| bool strispassword_s | ( | const char * | dest, |
| rsize_t | dmax | ||
| ) |
This function validates the make-up of a password string.
-Password must have mininmum SAFE_STR_PASSWORD_MIN_LENGTH characters
-Password can have maximum SAFE_STR_PASSWORD_MAX_LENGTH characters
-Password must have at least SAFE_STR_MIN_LOWERCASE lower case characters
-Password must have at least SAFE_STR_MIN_UPPERCASE upper case characters
-Password must have at least SAFE_STR_MIN_NUMBERS numbers
-Password must have at least SAFE_STR_MIN_SPECIALS special characters
| dest | pointer to string |
| dmax | maximum length of password string |