Searched refs:crypted (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/auth/
H A Dtest-libpassword.c33 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, &params, 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, &params);
68 const char *crypted local
[all...]
H A Dpassword-scheme-crypt.c72 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 Dauth-worker-client.c247 const char *crypted, *scheme; local
257 crypted = args[2];
258 scheme = password_get_scheme(&crypted);
272 crypted, scheme, "cache");
H A Dpassword-scheme.c313 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