Searched refs:crypted (Results 1 - 4 of 4) sorted by relevance
/dovecot/src/auth/ |
H A D | test-libpassword.c | 33 test_password_scheme(const char *scheme, const char *crypted, argument 46 test_assert(strcmp(password_get_scheme(&crypted), scheme) == 0); 47 test_assert(password_decode(crypted, scheme, &raw_password, &siz, &error) == 1); 50 test_assert(password_generate_encoded(plaintext, ¶ms, scheme, &crypted)); 51 crypted = t_strdup_printf("{%s}%s", scheme, crypted); 52 test_assert(strcmp(password_get_scheme(&crypted), scheme) == 0); 53 test_assert(password_decode(crypted, scheme, &raw_password, &siz, &error) == 1); 56 scheme2 = password_scheme_detect(plaintext, crypted, ¶ms); 68 const char *crypted local [all...] |
H A D | password-scheme-crypt.c | 72 char crypted[CRYPT_BLF_BUFFER_LEN]; local 89 if (crypt_blowfish_rn(plaintext, salt, crypted, CRYPT_BLF_BUFFER_LEN) == NULL) { 95 return strcmp(crypted, password) == 0 ? 1 : 0; 184 const char *crypted; local 189 crypted = mycrypt(sample[i].key, sample[i].salt); 190 if (crypted != NULL && 191 (strcmp(crypted, sample[i].expected) == 0))
|
H A D | auth-worker-client.c | 247 const char *crypted, *scheme; local 257 crypted = args[2]; 258 scheme = password_get_scheme(&crypted); 272 crypted, scheme, "cache");
|
H A D | password-scheme.c | 313 const char *password, *crypted; local 326 crypted = mycrypt(plaintext, password); 327 if (crypted == NULL) { 333 return strcmp(crypted, password) == 0 ? 1 : 0;
|
Completed in 16 milliseconds