Add CryptoInterface library by aerlon · Pull Request #6961 · esp8266/Arduino

and others added 2 commits

December 24, 2019 11:28
- Add TypeConversion core files.

@aerlon

- Make HelloCrypto.ino stylish.

- Include assert.h in CryptoInterface.cpp.

earlephilhower

devyte

dirkmueller

dirkmueller

@aerlon

- Add deprecated attribute to SHA1 and MD5 hashes.

- Remove _warningsEnabled since this has been replaced by the deprecated attribute.

- Prefix all getters with "get".

- Move all CryptoInterface functionality to the experimental namespace.

- Change formatting of core files.

- Improve comments.

@aerlon

@aerlon

@devyte

earlephilhower

…it no longer seems to be required.
- Remove delay in setup() from HelloCrypto example since it does not seem to be required to prevent missing initial Serial prints.

- Mark type conversion functions as big endian.

- Update keywords.txt.

@aerlon

- Create ESP.random functions in the core based on the defaultNonceGenerator code, and use these in defaultNonceGenerator.

- Rename CryptoInterface to esp8266::Crypto and move all functionality to the core.

- Remove need to #include <bearssl/bearssl.h> in the Crypto header file by changing br_hkdf_context to ::br_hkdf_context.

- Restyle code files for core usage.

@aerlon

- Rename namespace Crypto to namespace crypto.