1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

51 Commits

Author SHA1 Message Date
Rhys Weatherley
9ae79f469f AES tiny and small memory versions 2018-04-07 02:39:30 +10:00
Rhys Weatherley
e2420adfc5 Port the crypto library to ESP32 2018-04-02 15:02:42 +10:00
Rhys Weatherley
511cd8f77c Make the Crypto examples work for ESP8266 2018-04-01 15:58:00 +10:00
Rhys Weatherley
d452bea037 Remove EEPROM address argument from RNG.begin()
Always store the seed at the very end of EEPROM memory.
2017-11-04 10:18:05 +10:00
Rhys Weatherley
e1bf1808c1 Update reference links for Curve25519 and Ed25519 2016-03-27 09:45:39 +10:00
Rhys Weatherley
5c4d7ce69a Port the big number routines to 64-bit systems 2016-03-27 07:52:55 +10:00
Rhys Weatherley
9ff24b0ddf Implementation of the NIST P-521 curve 2016-03-26 19:03:31 +10:00
Rhys Weatherley
c8d7c3153d Keyed hashing for BLAKE2 according to RFC7693 2016-03-23 19:08:16 +10:00
Rhys Weatherley
72715b172b Compiling the Crypto library on a host system 2016-03-17 19:19:14 +10:00
Rhys Weatherley
b078357392 XTS mode for disk sector encryption 2016-02-20 16:12:32 +10:00
Rhys Weatherley
c624a3eab3 Extendable output functions: SHAKE128 and SHAKE256 2016-02-14 08:27:27 +10:00
Rhys Weatherley
33df6a873d Refactor the low-memory versions of Speck
Rename SpeckLowMemory to SpeckTiny for the encrypt-only version.
SpeckSmall for the version that supports both encryption and decryption.
2016-02-13 06:59:05 +10:00
Rhys Weatherley
21ac06136a Speed up GHASH with AVR assembly code
Also split the Galois operations off into a separate GF128 class.
2016-02-07 13:30:21 +10:00
Rhys Weatherley
2decb74161 Remove SHA1 from the library
SHA1 is on the cusp of being utterly broken so no new
software should be making use of it for any reason.
2016-01-16 09:08:28 +10:00
Rhys Weatherley
0b56598294 Speed up KeccakCore by unrolling into AVR assembly 2016-01-13 19:50:59 +10:00
Rhys Weatherley
738d86cf2b EAX block cipher mode with authentication 2015-12-19 09:18:41 +10:00
Rhys Weatherley
e046533aff Low memory version of Speck that combines key schedule with encryption 2015-12-17 19:06:41 +10:00
Rhys Weatherley
ee43158b64 Speck block cipher 2015-11-30 18:23:21 +10:00
Rhys Weatherley
3b4a928457 Move example EEPROM address for RNG from 500 to 950 2015-05-03 14:25:20 +10:00
Rhys Weatherley
b5d6c8de33 Port RNG to the Arduino Due and add TRNG support 2015-04-19 08:26:51 +10:00
Rhys Weatherley
786e52f923 Ed25519 signature algorithm 2015-04-18 08:42:37 +10:00
Rhys Weatherley
a936aa3e4a Unit tests and bug fixes for pack/unpack functions 2015-04-06 09:28:21 +10:00
Rhys Weatherley
47ab405e7f Finalization and key setup figures for hash/auth algorithms 2015-04-02 16:33:47 +10:00
Rhys Weatherley
1d89097948 Move TransistorNoiseSource to its own library 2015-04-02 09:24:31 +10:00
Rhys Weatherley
7432d83676 Wait for entropy pool to fill and autosave in TestRNG example 2015-04-02 06:37:52 +10:00
Rhys Weatherley
152d24fba7 Move the ring oscillator noise source to its own library 2015-04-02 06:37:41 +10:00
Rhys Weatherley
a7f9181fe5 GCM block cipher mode 2015-04-01 16:14:18 +10:00
Rhys Weatherley
1c77fdbcec GHASH implementation 2015-04-01 09:12:42 +10:00
Rhys Weatherley
0c5b37098b ChaChaPoly authenticated cipher 2015-03-31 19:02:21 +10:00
Rhys Weatherley
35064ebfe9 Update state sizes to include the entire class size 2015-03-31 12:06:31 +10:00
Rhys Weatherley
3bcfbcd43b Centralize the definition of big number limb types 2015-03-31 09:43:09 +10:00
Rhys Weatherley
a3d7f61b96 Poly1305 message authenticator 2015-03-31 09:25:49 +10:00
Rhys Weatherley
067e8ac177 Register the noise sources with RNG at setup time 2015-03-25 19:35:44 +10:00
Rhys Weatherley
fd38b7e127 Add HMAC support to all of the hash algorithms 2015-03-24 19:41:24 +10:00
Rhys Weatherley
f2f8ed28ea Ring oscillator noise source class 2015-03-22 08:56:26 +10:00
Rhys Weatherley
0c52bf0d50 Simplify the hashing API by removing the need to remember the final hash 2015-03-14 15:36:40 +10:00
Rhys Weatherley
e7175a80f3 SHA-3 hash algorithm 2015-03-14 15:14:59 +10:00
Rhys Weatherley
e10b398949 BLAKE2b hash algorithm 2015-03-14 08:47:03 +10:00
Rhys Weatherley
72901a91f9 SHA512 hash algorithm 2015-03-14 07:19:44 +10:00
Rhys Weatherley
0f975de733 An implementation of Curve25519 2015-03-12 18:59:55 +10:00
Rhys Weatherley
6ec1b93cf9 Random number generator class based on ChaCha 2015-03-01 12:08:35 +10:00
Rhys Weatherley
c86330b40c Remove Arcfour - not secure enough and ChaCha is pretty fast 2015-01-09 19:30:21 +10:00
Rhys Weatherley
91b3aa70e7 BLAKE2s hash function 2015-01-04 15:49:16 +10:00
Rhys Weatherley
9fe7854d0f Overview documentation for the Crypto library 2015-01-04 06:08:11 +10:00
Rhys Weatherley
5a930994be CFB, CBC, and OFB block cipher modes 2015-01-03 13:24:07 +10:00
Rhys Weatherley
431f38f34a SHA1 and SHA256 hash algorithms 2015-01-03 07:13:35 +10:00
Rhys Weatherley
07a47cdcf1 ChaCha stream cipher 2015-01-02 08:51:46 +10:00
Rhys Weatherley
46fe4e52fd CTR block cipher mode 2014-12-31 09:59:52 +10:00
Rhys Weatherley
09a9d2b51b Doc fixes 2014-12-30 07:04:47 +10:00
Rhys Weatherley
bb1748df49 Arcfour stream cipher 2014-12-29 10:40:37 +10:00