Mercurial > vim
annotate src/proto/crypt_zip.pro @ 32266:769df9d385e0 v9.0.1464
patch 9.0.1464: strace filetype detection is expensive
Commit: https://github.com/vim/vim/commit/6e5a9f948221b52caaaf106079cb3430c4dd7c77
Author: Federico Mengozzi <19249682+fedemengo@users.noreply.github.com>
Date: Mon Apr 17 22:31:38 2023 +0100
patch 9.0.1464: strace filetype detection is expensive
Problem: Strace filetype detection is expensive.
Solution: Match with a cheap pattern first. (Federico Mengozzi,
closes #12220)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 17 Apr 2023 23:45:03 +0200 |
parents | 7e9e53a0368f |
children | 3d4e28569a6d |
rev | line source |
---|---|
6122 | 1 /* crypt_zip.c */ |
16429
a1229400434a
patch 8.1.1219: not checking for NULL return from alloc()
Bram Moolenaar <Bram@vim.org>
parents:
7668
diff
changeset
|
2 int crypt_zip_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
16429
diff
changeset
|
3 void crypt_zip_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
16429
diff
changeset
|
4 void crypt_zip_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); |
6122 | 5 /* vim: set ft=c : */ |