Juhani Krekelä
|
ef96103cd4
|
Adjust work factor for better performance
|
3 years ago |
Juhani Krekelä
|
4c8194acd2
|
Move to a KDF based on the same design as scrypt
|
3 years ago |
Juhani Krekelä
|
80e1a7779a
|
Ah, integer promotion rules
|
3 years ago |
Juhani Krekelä
|
8c7117fef1
|
Finalize Makefile for release
|
3 years ago |
Juhani Krekelä
|
a3079f5eda
|
Warn is passphrase file is world-readable
|
3 years ago |
Juhani Krekelä
|
41a74402f0
|
Add support for specifying the input and output file
|
3 years ago |
Juhani Krekelä
|
5393e64c18
|
Add support for reading passphrase from file
|
3 years ago |
Juhani Krekelä
|
6079530e1d
|
Add UI to puer
|
3 years ago |
Juhani Krekelä
|
4b5ef70bce
|
Upgrade message counter to 64 bits
|
3 years ago |
Juhani Krekelä
|
f445783a44
|
Make passphrase_prompt() return -1 on failure so that caller can clean up
|
3 years ago |
Juhani Krekelä
|
0cb02aaf14
|
Use the correct counter values with encryption/decryption
|
3 years ago |
Juhani Krekelä
|
138cc5d2f5
|
Make cc_{en,de}crypt stay within passed message length
|
3 years ago |
Juhani Krekelä
|
4ec4a06776
|
Have a shared work buffer and derive the number of KDF round from size of buffer
|
3 years ago |
Juhani Krekelä
|
741c0d0bb5
|
Add function for reading passphrase from terminal
|
3 years ago |
Juhani Krekelä
|
7bf44017a4
|
Implement XXTEA128-CCM
|
3 years ago |
Juhani Krekelä
|
900c7b4c93
|
Implement the KDF
|
3 years ago |
Juhani Krekelä
|
c9defbaafe
|
Fix the MDC-2 implementation, again
|
3 years ago |
Juhani Krekelä
|
9a0b35609b
|
Implement (modified) HMAC
|
3 years ago |
Juhani Krekelä
|
08c8d33b20
|
Remove derive_subkey() as it is not needed when deriving a key from passphrase
|
3 years ago |
Juhani Krekelä
|
d4ed30a592
|
Improve explanation of the XXTEA algorithm
|
3 years ago |
Juhani Krekelä
|
21ed995281
|
Fix the implementation of MDC-2. The state is chained as the key, not as the plaintext, through the block cipher
|
3 years ago |
Juhani Krekelä
|
d4b2d07c6e
|
Actually encode the number of bits in big endian
|
3 years ago |
Juhani Krekelä
|
cf2b617b39
|
C conversion to unsigned types implictly mods
|
3 years ago |
Juhani Krekelä
|
264f6fd44e
|
Add .gitignore
|
3 years ago |
Juhani Krekelä
|
4da0060cbd
|
Add Makefile
|
3 years ago |
Juhani Krekelä
|
7e91a099fe
|
+= is preincrement, not postincrement
|
3 years ago |
Juhani Krekelä
|
debac6c434
|
Fix uninitialized loop variable
|
3 years ago |
Juhani Krekelä
|
96f9b11cf2
|
Clear hash state object once hash is finalized
|
3 years ago |
Juhani Krekelä
|
92041f9fbf
|
First commit
|
3 years ago |