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:
@ -29,7 +29,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
namespace TypeCast = esp8266::TypeConversion;
|
||||
namespace TypeCast = experimental::TypeConversion;
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@ -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.
|
||||
*/
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <assert.h>
|
||||
#include "TypeConversion.h"
|
||||
|
||||
namespace esp8266
|
||||
namespace experimental
|
||||
{
|
||||
namespace TypeConversion
|
||||
{
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
namespace esp8266
|
||||
namespace experimental
|
||||
{
|
||||
namespace TypeConversion
|
||||
{
|
||||
|
Reference in New Issue
Block a user