Commit 22ac9ac
authored
Added support for encrypting/decrypting large files (#6)
* Increased file buffer size and introduced PWCRYPT_CCRUSH_BUFFER_SIZE_KIB.
* Rewrote pwcrypt_encrypt to write in chunks.
* Had to introduce lib chillbuff to properly implement v4.4.0 of the pwcrypt_decrypt function.
* Reduced argon2id params inside tests.c to speed things up...
* Cleanup.
* Upgraded lib/ccrush to v2.1.1
* Improved pwcrypt_encrypt function by using a chillbuff instead of output buffer size approximations.1 parent d62d0fb commit 22ac9ac
6 files changed
+1072
-592
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| 100 | + | |
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 80 | + | |
88 | 81 | | |
89 | 82 | | |
90 | 83 | | |
| |||
119 | 112 | | |
120 | 113 | | |
121 | 114 | | |
122 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
178 | 183 | | |
179 | 184 | | |
180 | 185 | | |
| |||
377 | 382 | | |
378 | 383 | | |
379 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
380 | 394 | | |
381 | 395 | | |
382 | 396 | | |
| |||
- CMakeLists.txt+1-1
- docs/bc_sd.png
- docs/ccrush_8h.html+224-160
- docs/ccrush_8h__incl.md5+1-1
- docs/ccrush_8h__incl.png
- docs/ccrush_8h_source.html+96-73
- docs/clipboard.js+61
- docs/cookie.js+58
- docs/dir_d44c64559bbebec7f509842c48db8b23.html+21-12
- docs/doc.svg+12
- docs/docd.svg+12
- docs/doxygen.css+811-431
- docs/doxygen.svg+3-1
- docs/doxygen_crawl.html+22
- docs/dynsections.js+167-94
- docs/files.html+23-14
- docs/folderclosed.svg+11
- docs/folderclosedd.svg+11
- docs/folderopen.svg+17
- docs/folderopend.svg+12
- docs/globals.html+22-11
- docs/globals_defs.html+21-12
- docs/globals_func.html+23-12
- docs/graph_legend.html+25-16
- docs/graph_legend.md5+1-1
- docs/graph_legend.png
- docs/index.html+21-11
- docs/jquery.js+3-4
- docs/menu.js+38-31
- docs/minus.svg+8
- docs/minusd.svg+8
- docs/nav_fd.png
- docs/nav_hd.png
- docs/plus.svg+9
- docs/plusd.svg+9
- docs/search/all_0.js+19-17
- docs/search/close.svg+3-16
- docs/search/functions_0.js+8-6
- docs/search/mag.svg+24
- docs/search/mag_d.svg+24
- docs/search/mag_sel.svg+5-48
- docs/search/mag_seld.svg+31
- docs/search/search.css+69-41
- docs/search/search.js+442-542
- docs/splitbard.png
- docs/tab_ad.png
- docs/tab_bd.png
- docs/tab_hd.png
- docs/tab_sd.png
- docs/tabs.css+1-1
- include/ccrush.h+2-2
- src/ccrush.c+6
0 commit comments