1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

- Move TypeConversion from namespace esp8266 to namespace experimental. (#7252)

- Add using namespace experimental::crypto; to HelloCrypto.ino.

- Add mention about new random function in libraries.rst.

- Update keywords.

Co-authored-by: Anders <andlo151@student.liu.se>
This commit is contained in:
aerlon
2020-04-29 16:30:26 +02:00
committed by GitHub
parent 3c9a75f831
commit ce200ed72e
7 changed files with 19 additions and 17 deletions

View File

@ -29,7 +29,7 @@
#include <assert.h>
namespace TypeCast = esp8266::TypeConversion;
namespace TypeCast = experimental::TypeConversion;
namespace
{

View File

@ -542,7 +542,7 @@ uint8_t *EspClass::random(uint8_t *resultArray, const size_t outputSizeBytes) co
* It should be noted that the ESP8266 has no Bluetooth functionality, so turning the WiFi off is likely to cause RANDOM_REG32 to use pseudo-random numbers.
*
* It is possible that yield() must be called on the ESP8266 to properly feed the hardware random number generator new bits, since there is only one processor core available.
* However, no feeding requirements are mentioned in the ESP32 documentation, and using yield() could possibly cause extended delays during nonce generation.
* However, no feeding requirements are mentioned in the ESP32 documentation, and using yield() could possibly cause extended delays during number generation.
* Thus only delayMicroseconds() is used below.
*/

View File

@ -26,7 +26,7 @@
#include <assert.h>
#include "TypeConversion.h"
namespace esp8266
namespace experimental
{
namespace TypeConversion
{

View File

@ -28,7 +28,7 @@
#include <Arduino.h>
namespace esp8266
namespace experimental
{
namespace TypeConversion
{