X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=include%2Fshared.h;h=b0b35651da44ebd5f466b37832b00b92b6b25531;hb=3370820109dd9c9dd46d29253c12a1e584556948;hp=985c54ab2506d335401a8c0b3694edaed758ec10;hpb=d8bb00cf773b839aeb50845f51fb28484f2a1221;p=hashcat.git diff --git a/include/shared.h b/include/shared.h index 985c54a..b0b3565 100644 --- a/include/shared.h +++ b/include/shared.h @@ -1668,7 +1668,8 @@ int veracrypt_parse_hash_327661 (char *input_buf, uint input_len, hash_t *hash int veracrypt_parse_hash_655331 (char *input_buf, uint input_len, hash_t *hash_buf); int win8phone_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf); -void naive_escape (const char *cpath_real, char *cpath_escaped, const size_t cpath_escaped_len); +void naive_replace (char *s, const u8 key_char, const u8 replace_char); +void naive_escape (char *s, size_t s_max, const u8 key_char, const u8 escape_char); void load_kernel (const char *kernel_file, int num_devices, size_t *kernel_lengths, const u8 **kernel_sources); void writeProgramBin (char *dst, u8 *binary, size_t binary_size);