summaryrefslogtreecommitdiff
path: root/src/blowfish.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-1/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0145: using #error for compilation errors should be OK nowv8.2.0145Bram Moolenaar2020-01-231-2/+1
| | | | | Problem: Using #error for compilation errors should be OK now. Solution: Use #error. (Ken Takata, closes #5299)
* patch 8.1.2368: using old C style commentsv8.1.2368Bram Moolenaar2019-11-301-23/+23
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-1/+1
| | | | | | Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
* patch 8.1.1219: not checking for NULL return from alloc()v8.1.1219Bram Moolenaar2019-04-271-2/+6
| | | | | Problem: Not checking for NULL return from alloc(). Solution: Add checks. (Martin Kunev, closes #4303, closes #4174)
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-1/+1
| | | | | | | Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-5/+5
| | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
* patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar2018-09-301-7/+0
| | | | | Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
* patch 8.0.0082v8.0.0082Bram Moolenaar2016-11-121-1/+1
| | | | | Problem: Extension for configure should be ".ac". Solution: Rename configure.in to configure.ac. (James McCoy, closes #1173)
* patch 8.0.0074v8.0.0074Bram Moolenaar2016-11-101-1/+1
| | | | | | Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.1399v7.4.1399Bram Moolenaar2016-02-231-1/+1
| | | | | Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
* patch 7.4.1205v7.4.1205Bram Moolenaar2016-01-301-39/+39
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1200v7.4.1200Bram Moolenaar2016-01-291-6/+6
| | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
* updated for version 7.4.399v7.4.399Bram Moolenaar2014-08-101-162/+145
| | | | | | | | | Problem: Encryption implementation is messy. Blowfish encryption has a weakness. Solution: Refactor the encryption, store the state in an allocated struct instead of using a save/restore mechanism. Introduce the "blowfish2" method, which does not have the weakness and encrypts the whole undo file. (largely by David Leadbeater)
* updated for version 7.4.172v7.4.172Bram Moolenaar2014-02-111-20/+20
| | | | | | Problem: The blowfish code mentions output feedback, but the code is actually doing cipher feedback. Solution: Adjust names and comments.
* updated for version 7.3.126v7.3.126Bram Moolenaar2011-02-251-2/+3
| | | | | Problem: Compiler warning for signed pointer. Solution: Use unsigned int argument for sscanf().
* Support completion for ":find". (Nazri Ramliy)Bram Moolenaar2010-07-141-4/+4
| | | | Cleanup white space.
* Fix compiler warnings for shadowed variables. Make 'conceal' a long insteadBram Moolenaar2010-06-221-6/+6
| | | | of int.
* Crypt the swapfile.Bram Moolenaar2010-06-211-7/+35
|
* Added salt to blowfish encryption.Bram Moolenaar2010-06-131-10/+32
|
* Fix a few compiler warnings. Fix crash with encrypted undo file.Bram Moolenaar2010-06-061-0/+5
|
* Optimize the blowfish crypt/decrypt code a bit more.Bram Moolenaar2010-06-021-27/+81
|
* Made crypt/decrypt faster.Bram Moolenaar2010-06-011-6/+7
|
* Improve the MS-Windows installer.Bram Moolenaar2010-05-241-2/+2
|
* Fix uninit memory read in undo code. Fix uint32_t in proto file.Bram Moolenaar2010-05-241-1/+1
| | | | A few minor changes.
* Use UINT32_T in the code, define it to uint32_t or unsigned int.Bram Moolenaar2010-05-191-19/+27
| | | | Better autoconf check for uint32_t.
* Fix build on Cygwin and MingW.Bram Moolenaar2010-05-181-3/+5
|
* Fixed encryption big/little endian test.Bram Moolenaar2010-05-171-44/+49
| | | | | | Use uint32_t to avoid crash on 64 bit machines. Added error numbers for Blowfish errors. Fixed the tiny version not building.
* Minor updates to blowfish encryption.Bram Moolenaar2010-05-161-4/+4
|
* Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.Bram Moolenaar2010-05-161-0/+581