Commit graph

19 commits

Author SHA1 Message Date
Helder Eijs
39626a5b01 Move functions to get buffer information into Util._raw_api 2018-11-04 22:05:09 +01:00
Helder Eijs
e51dd29a35 Rebase output branch 2018-10-27 16:30:52 +02:00
Helder Eijs
4242e82e9e Modern syntax for except statement 2018-06-12 14:15:39 +02:00
Helder Eijs
fc8e6c5eb9 Update to API docs 2018-04-03 21:33:15 +02:00
Helder Eijs
c1834322b6 Add support for memoryview to Salsa20, PKCS#1 v1.5 and OAEP 2018-04-03 08:08:06 +02:00
Helder Eijs
62ce7a97c1 Better name for type conversion helper 2018-03-06 13:48:00 +01:00
Helder Eijs
c1112c5175 Make it work in Python 2.6; update to docs 2018-03-06 11:56:19 +01:00
Helder Eijs
3b317be2a6 Add support for bytearray's in ciphers
[skip ci]
2018-03-06 08:25:42 +01:00
Helder Eijs
79c436506d Further updates to cipher API 2017-08-03 22:58:10 +02:00
Helder Eijs
21e81f1053 Move Salsa20 API to sphinx 2017-07-24 23:22:10 +02:00
Legrandin
6ae7485a5b Automatic nonce generation for ChaCha20 2015-12-23 23:27:24 +01:00
Legrandin
dc1e6df8b6 Automatic nonce generation for Salsa20 2015-12-23 23:27:24 +01:00
Legrandin
0b76cd2168 Ensure that all data passed to C backend is byte strings 2015-02-10 22:29:40 +01:00
Legrandin
11a6d1dfa4 Flag explicitly certain arguments as of size_t type 2015-02-10 16:45:25 +01:00
Legrandin
f9c9e92b01 Stream ciphers use raw interface 2015-01-24 21:07:17 +01:00
Legrandin
e4da72373d Added example to Salsa20 module 2014-05-11 15:24:07 +02:00
Legrandin
851246faeb Salsa20 uses a nonce, not an IV. 2014-05-05 21:15:35 +02:00
Legrandin
b2e4ec71a7 Unit tests now pass on Python 3.x 2013-08-16 07:33:17 +02:00
Fabrizio Tarizzo
92e6cd04a0 Implementation of the Salsa20 stream cipher
new file:   lib/Crypto/Cipher/Salsa20.py
	modified:   lib/Crypto/SelfTest/Cipher/__init__.py
	new file:   lib/Crypto/SelfTest/Cipher/test_Salsa20.py
	modified:   setup.py
	new file:   src/Salsa20.c
	new file:   src/salsa20/ecrypt-config.h
	new file:   src/salsa20/ecrypt-machine.h
	new file:   src/salsa20/ecrypt-portable.h
	new file:   src/salsa20/ecrypt-sync.h
	new file:   src/streamIV_template.c
2013-04-28 10:42:40 +02:00