mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 20:09:14 +03:00
удаляем библиотеку
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* The MySensors Arduino library handles the wireless radio link and protocol
|
||||
* between your home built sensors/actuators and HA controller of choice.
|
||||
* The sensors forms a self healing radio network with optional repeaters. Each
|
||||
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
|
||||
* network topology allowing messages to be routed to nodes.
|
||||
*
|
||||
* Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
|
||||
* Copyright (C) 2013-2019 Sensnology AB
|
||||
* Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
|
||||
*
|
||||
* Documentation: http://www.mysensors.org
|
||||
* Support Forum: http://forum.mysensors.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _SHA256_H_
|
||||
#define _SHA256_H_
|
||||
|
||||
#define HASH_LENGTH 32 //!< HASH_LENGTH
|
||||
#define BLOCK_LENGTH 64 //!< BLOCK_LENGTH
|
||||
|
||||
/**
|
||||
* @brief buffer for SHA256 calculator
|
||||
*/
|
||||
union _SHA256buffer_t {
|
||||
uint8_t b[BLOCK_LENGTH]; //!< SHA256 b
|
||||
uint32_t w[BLOCK_LENGTH / 4]; //!< SHA256 w
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief state variables for SHA256 calculator
|
||||
*/
|
||||
union _SHA256state_t {
|
||||
uint8_t b[HASH_LENGTH]; //!< SHA256 b
|
||||
uint32_t w[HASH_LENGTH / 4]; //!< SHA256 w
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user