Mercurial > vim
comparison src/blowfish.c @ 7807:1a5d34492798 v7.4.1200
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 29 23:20:40 2016 +0100
patch 7.4.1200
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jan 2016 23:30:06 +0100 |
parents | 18ac55444b37 |
children | 83861277e6a3 |
comparison
equal
deleted
inserted
replaced
7806:eb2af74e899a | 7807:1a5d34492798 |
---|---|
54 char_u cfb_buffer[BF_MAX_CFB_LEN]; /* up to 64 bytes used */ | 54 char_u cfb_buffer[BF_MAX_CFB_LEN]; /* up to 64 bytes used */ |
55 int cfb_len; /* size of cfb_buffer actually used */ | 55 int cfb_len; /* size of cfb_buffer actually used */ |
56 } bf_state_T; | 56 } bf_state_T; |
57 | 57 |
58 | 58 |
59 static void bf_e_block __ARGS((bf_state_T *state, UINT32_T *p_xl, UINT32_T *p_xr)); | 59 static void bf_e_block(bf_state_T *state, UINT32_T *p_xl, UINT32_T *p_xr); |
60 static void bf_e_cblock __ARGS((bf_state_T *state, char_u *block)); | 60 static void bf_e_cblock(bf_state_T *state, char_u *block); |
61 static int bf_check_tables __ARGS((UINT32_T pax[18], UINT32_T sbx[4][256], UINT32_T val)); | 61 static int bf_check_tables(UINT32_T pax[18], UINT32_T sbx[4][256], UINT32_T val); |
62 static int bf_self_test __ARGS((void)); | 62 static int bf_self_test(void); |
63 static void bf_key_init __ARGS((bf_state_T *state, char_u *password, char_u *salt, int salt_len)); | 63 static void bf_key_init(bf_state_T *state, char_u *password, char_u *salt, int salt_len); |
64 static void bf_cfb_init __ARGS((bf_state_T *state, char_u *seed, int seed_len)); | 64 static void bf_cfb_init(bf_state_T *state, char_u *seed, int seed_len); |
65 | 65 |
66 /* Blowfish code */ | 66 /* Blowfish code */ |
67 static UINT32_T pax_init[18] = { | 67 static UINT32_T pax_init[18] = { |
68 0x243f6a88u, 0x85a308d3u, 0x13198a2eu, | 68 0x243f6a88u, 0x85a308d3u, 0x13198a2eu, |
69 0x03707344u, 0xa4093822u, 0x299f31d0u, | 69 0x03707344u, 0xa4093822u, 0x299f31d0u, |