2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-18 02:55:18 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Alexander Neumann
b841eb4c54 crypto: check key for validity 2015-11-29 14:54:20 +01:00
Alexander Neumann
1f33e29ce2 crypto: Fix buffer extension in Decrypt() 2015-05-05 00:12:05 +02:00
Alexander Neumann
08fac28e73 crypto: Remove polynomial from key 2015-05-03 18:56:20 +02:00
Alexander Neumann
9010d7bb3a Add test for invalid (=zero) crypto keys 2015-05-01 17:32:42 +02:00
Florian Weingarten
90e6a8eb86 consistently rename signature to mac 2015-04-30 13:41:50 -04:00
Florian Weingarten
c500b94216 crypto.go nitpicks 2015-04-29 22:28:34 -04:00
Alexander Neumann
5ab900acac Fix data race, remember when signing key has been masked 2015-04-26 13:07:26 +02:00
Alexander Neumann
61d1f6ad18 crypto: Return error when same slice is used 2015-04-19 14:57:35 +02:00
Alexander Neumann
8e867817a5 crypto: Clarify slice usage for Encrypt/Decrypt 2015-04-19 14:57:35 +02:00
Alexander Neumann
63e79539e9 crypto: Remove type iv 2015-04-19 14:57:35 +02:00
Alexander Neumann
7b6bd98c9e crypto: Rename internal functions 2015-04-19 14:57:35 +02:00
Alexander Neumann
f8e1043ad3 crypto: Match signature of Encrypt() to Decrypt() 2015-04-12 20:58:41 +02:00
Alexander Neumann
7e6acfe44d crypto: move reader and writer to its own file 2015-04-12 10:57:41 +02:00
Alexander Neumann
64f7d4d611 crypto: Rename exported funcs and structs, cleanup 2015-04-12 10:55:56 +02:00
Alexander Neumann
21dc6dd3db Rename crypto functions and constants 2015-04-12 09:41:47 +02:00
Alexander Neumann
3a2525809c Reorganize crypto code
Move all crypto functions to package "crypto", move random generators
for tests into helper package.
2015-04-12 09:36:14 +02:00