Home
last modified time | relevance | path

Searched refs:Conv_Buf (Results 1 – 13 of 13) sorted by relevance

/dports/security/john/john-1.9.0-jumbo-1/src/
H A Dhmailserver_fmt_plug.c76 static char Conv_Buf[120]; variable
87 snprintf(Buf, sizeof(Conv_Buf), "$dynamic_61$%s$%6.6s", &ciphertext[6], ciphertext); in Convert()
94 return pDynamic->methods.split(Convert(Conv_Buf, ciphertext), index, self); in our_split()
116 return pDynamic->methods.valid(Convert(Conv_Buf, ciphertext), pDynamic); in hmailserver_valid()
122 return pDynamic->methods.salt(Convert(Conv_Buf, ciphertext)); in our_salt()
128 return pDynamic->methods.binary(Convert(Conv_Buf, ciphertext)); in our_binary()
175 …pDynamic = dynamic_THIN_FORMAT_LINK(&fmt_hmailserver, Convert(Conv_Buf, hmailserver_tests[0].ciphe… in get_ptr()
H A Dformspring_fmt_plug.c73 static char Conv_Buf[120]; variable
84 snprintf(Buf, sizeof(Conv_Buf), "$dynamic_61$%s", ciphertext); in Convert()
91 return pDynamic_61->methods.split(Convert(Conv_Buf, ciphertext), index, self); in our_split()
109 ciphertext = Convert(Conv_Buf, ciphertext); in formspring_valid()
128 return pDynamic_61->methods.salt(Convert(Conv_Buf, ciphertext)); in our_salt()
133 return pDynamic_61->methods.binary(Convert(Conv_Buf, ciphertext)); in our_binary()
177 …pDynamic_61 = dynamic_THIN_FORMAT_LINK(&fmt_FORMSPRING, Convert(Conv_Buf, formspring_tests[0].ciph… in get_ptr()
H A Dmediawiki_fmt_plug.c90 static char Conv_Buf[80]; variable
109 i = snprintf(Buf, sizeof(Conv_Buf), "$dynamic_9$%s$", &cp[1]); in Convert()
112 while (*ciphertext && i < sizeof(Conv_Buf) - 3 && *ciphertext != '$') in Convert()
114 if (i < sizeof(Conv_Buf) - 2) { in Convert()
178 return pDynamic_9->methods.valid(Convert(Conv_Buf, ciphertext), pDynamic_9); in mediawiki_valid()
185 return pDynamic_9->methods.salt(Convert(Conv_Buf, ciphertext)); in our_salt()
190 return pDynamic_9->methods.binary(Convert(Conv_Buf, ciphertext)); in our_binary()
227 …pDynamic_9 = dynamic_THIN_FORMAT_LINK(&fmt_mediawiki, Convert(Conv_Buf, mediawiki_tests[0].ciphert… in get_ptr()
H A Dosc_fmt_plug.c73 static char Conv_Buf[80]; variable
91 snprintf(Buf, sizeof(Conv_Buf) - SALT_SIZE, "$dynamic_4$%s$", &cp[1]); in Convert()
108 return pDynamic_4->methods.split(Convert(Conv_Buf, ciphertext), index, self); in our_split()
145 return pDynamic_4->methods.valid(Convert(Conv_Buf, ciphertext), pDynamic_4); in osc_valid()
152 return pDynamic_4->methods.salt(Convert(Conv_Buf, ciphertext)); in our_salt()
157 return pDynamic_4->methods.binary(Convert(Conv_Buf, ciphertext)); in our_binary()
201 …pDynamic_4 = dynamic_THIN_FORMAT_LINK(&fmt_OSC, Convert(Conv_Buf, osc_tests[0].ciphertext), "osc",… in get_ptr()
H A DpixMD5_fmt_plug.c54 static char Conv_Buf[80]; variable
75 return pDynamic_19->methods.split(Convert(Conv_Buf, ciphertext), index, self); in our_split()
79 return pDynamic_19->methods.salt(Convert(Conv_Buf, ciphertext)); in our_salt()
93 return pDynamic_19->methods.valid(Convert(Conv_Buf, ciphertext), pDynamic_19); in valid()
99 return pDynamic_19->methods.binary(Convert(Conv_Buf, ciphertext)); in our_binary()
141 …pDynamic_19 = dynamic_THIN_FORMAT_LINK(&fmt_pixMD5, Convert(Conv_Buf, pixmd5_tests[0].ciphertext),… in get_ptr()
H A Ddynamic_compiler_fmt_plug.c79 static char Conv_Buf[512]; variable
108 snprintf(Buf, sizeof(Conv_Buf), "$dynamic_6xxx$%s", cp); in Convert()
110 snprintf(Buf, sizeof(Conv_Buf), "%s%s", dyna_hash_type, cp); in Convert()
147 if (strnlen(ciphertext, sizeof(Conv_Buf)) >= sizeof(Conv_Buf)) in our_valid()
150 return pDynamic->methods.valid(Convert(Conv_Buf, ciphertext, 0), pDynamic); in our_valid()
157 return pDynamic->methods.salt(Convert(Conv_Buf, ciphertext, 0)); in our_salt()
167 return pDynamic->methods.binary(Convert(Conv_Buf, ciphertext, 0)); in our_binary()
271 …pDynamic = dynamic_THIN_FORMAT_LINK(&fmt_CompiledDynamic, Convert(Conv_Buf, (char*)dyna_line[0], 0… in get_ptr()
H A DPHPS2_fmt_plug.c65 static char Conv_Buf[80]; variable
87 snprintf(Buf, sizeof(Conv_Buf) - SALT_SIZE, "$dynamic_6xxx$%s$", &cp[1]); in Convert()
89 snprintf(Buf, sizeof(Conv_Buf) - SALT_SIZE, "%s%s$", dyna_hash_type, &cp[1]); in Convert()
157 return pDynamic->methods.valid(Convert(Conv_Buf, ciphertext, 0), pDynamic); in phps_valid()
164 return pDynamic->methods.salt(Convert(Conv_Buf, ciphertext, 0)); in our_salt()
169 return pDynamic->methods.binary(Convert(Conv_Buf, ciphertext, 0)); in our_binary()
217 …pDynamic = dynamic_THIN_FORMAT_LINK(&fmt_PHPS2, Convert(Conv_Buf, phps_tests[0].ciphertext, 0), "p… in get_ptr()
H A Das400_ssha1_fmt_plug.c84 static char Conv_Buf[160]; variable
102 …len = snprintf(Buf, sizeof(Conv_Buf) - SALT_SIZE, "$dynamic_1590$%40.40s$HEX$", &ciphertext[FORMAT… in Convert()
125 return pDynamic->methods.split(Convert(Conv_Buf, ciphertext), index, self); in our_split()
161 return pDynamic->methods.valid(Convert(Conv_Buf, ciphertext), pDynamic); in our_valid()
168 return pDynamic->methods.salt(Convert(Conv_Buf, ciphertext)); in our_salt()
173 return pDynamic->methods.binary(Convert(Conv_Buf, ciphertext)); in our_binary()
217 …pDynamic = dynamic_THIN_FORMAT_LINK(&fmt_AS400_ssha1, Convert(Conv_Buf, as400_ssha1_tests[0].ciphe… in get_ptr()
H A DasaMD5_fmt_plug.c51 static char Conv_Buf[80]; variable
73 return pDynamic_20->methods.split(Convert(Conv_Buf, ciphertext), index, self); in our_split()
78 return pDynamic_20->methods.salt(Convert(Conv_Buf, ciphertext)); in our_salt()
91 return pDynamic_20->methods.valid(Convert(Conv_Buf, ciphertext), pDynamic_20); in valid()
121 return pDynamic_20->methods.binary(Convert(Conv_Buf, ciphertext)); in our_binary()
163 …pDynamic_20 = dynamic_THIN_FORMAT_LINK(&fmt_asaMD5, Convert(Conv_Buf, tests[0].ciphertext), "asa-m… in get_ptr()
H A DPHPS_fmt_plug.c83 static char Conv_Buf[80]; variable
101 snprintf(Buf, sizeof(Conv_Buf) - SALT_SIZE, "$dynamic_6$%s$", &cp[1]); in Convert()
185 return pDynamic_6->methods.valid(Convert(Conv_Buf, ciphertext), pDynamic_6); in phps_valid()
192 return pDynamic_6->methods.salt(Convert(Conv_Buf, ciphertext)); in our_salt()
197 return pDynamic_6->methods.binary(Convert(Conv_Buf, ciphertext)); in our_binary()
241 …pDynamic_6 = dynamic_THIN_FORMAT_LINK(&fmt_PHPS, Convert(Conv_Buf, phps_tests[0].ciphertext), "php… in get_ptr()
H A DNS_fmt_plug.c88 static char Conv_Buf[256]; variable
115 snprintf(Buf, sizeof(Conv_Buf) - SALT_SIZE, "$dynamic_2004$%s$HEX$%s", hash, salt_hex); in Convert()
131 return pDynamic->methods.valid(Convert(Conv_Buf, ciphertext), pDynamic); in our_valid()
139 return pDynamic->methods.salt(Convert(Conv_Buf, ciphertext)); in our_salt()
144 return pDynamic->methods.binary(Convert(Conv_Buf, ciphertext)); in our_binary()
193 pDynamic = dynamic_THIN_FORMAT_LINK(&fmt_NS, Convert(Conv_Buf, tests[0].ciphertext), "md5ns", 0); in get_ptr()
H A Dnet_md5_fmt_plug.c94 static char Conv_Buf[300]; // max salt length we will pass to dyna is 230. 300 is MORE than enough. variable
111 …snprintf(Buf, sizeof(Conv_Buf), "$dynamic_39$%s$HEX%*.*s", &cp2[1], (int)(cp2-cp), (int)(cp2-cp), … in Convert()
168 …memcpy((char*)cs, pDynamicFmt->methods.salt(Convert(Conv_Buf, orig_ct)), pDynamicFmt->params.salt_… in get_salt()
339 …pDynamicFmt = dynamic_THIN_FORMAT_LINK(pNetMd5_Dyna, Convert(Conv_Buf, tests[1].ciphertext), "net-… in get_ptr()
354 …pDynamicFmt = dynamic_THIN_FORMAT_LINK(pNetMd5_Dyna, Convert(Conv_Buf, tests[1].ciphertext), "net-… in init()
H A Dnet_sha1_fmt_plug.c83 static char Conv_Buf[300]; // max salt length we will pass to dyna is 230. 300 is MORE than enough. variable
100 …snprintf(Buf, sizeof(Conv_Buf), "$dynamic_40$%s$HEX%*.*s", &cp2[1], (int)(cp2-cp), (int)(cp2-cp), … in Convert()
157 …memcpy((char*)cs, pDynamicFmt->methods.salt(Convert(Conv_Buf, orig_ct)), pDynamicFmt->params.salt_… in get_salt()
330 …pDynamicFmt = dynamic_THIN_FORMAT_LINK(pNetSha1_Dyna, Convert(Conv_Buf, tests[1].ciphertext), "net… in get_ptr()
345 …pDynamicFmt = dynamic_THIN_FORMAT_LINK(pNetSha1_Dyna, Convert(Conv_Buf, tests[1].ciphertext), "net… in init()