1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #5767 from zhuoshuguo/fix_sys_crypto_header_include_guards

fix sys/crypto header include guards.
This commit is contained in:
Martine Lenders 2016-09-01 18:05:36 +02:00 committed by GitHub
commit cd505b5a71
6 changed files with 18 additions and 18 deletions

View File

@ -19,8 +19,8 @@
* @author Mark Essien <markessien@gmail.com>
*/
#ifndef __CIPHERS_H_
#define __CIPHERS_H_
#ifndef CRYPTO_CIPHERS_H_
#define CRYPTO_CIPHERS_H_
#include <stdint.h>
@ -169,4 +169,4 @@ int cipher_get_block_size(const cipher_t* cipher);
#endif
/** @} */
#endif /* __CIPHERS_H_ */
#endif /* CRYPTO_CIPHERS_H_ */

View File

@ -17,8 +17,8 @@
* @author Nico von Geyso <nico.geyso@fu-berlin.de>
*/
#ifndef __CRYPTO_MODES_HELPER_H_
#define __CRYPTO_MODES_HELPER_H_
#ifndef CRYPTO_MODES_HELPER_H_
#define CRYPTO_MODES_HELPER_H_
#include <stddef.h>
#include <stdint.h>
@ -53,4 +53,4 @@ int crypto_equals(uint8_t *a, uint8_t *b, size_t len);
}
#endif
#endif /* __CRYPTO_MODES_HELPER_H_ */
#endif /* CRYPTO_MODES_HELPER_H_ */

View File

@ -17,8 +17,8 @@
* @author Nico von Geyso <nico.geyso@fu-berlin.de>
*/
#ifndef __CRYPTO_MODES_CBC_H_
#define __CRYPTO_MODES_CBC_H_
#ifndef CRYPTO_MODES_CBC_H_
#define CRYPTO_MODES_CBC_H_
#include "crypto/ciphers.h"
@ -58,4 +58,4 @@ int cipher_decrypt_cbc(cipher_t* cipher, uint8_t iv[16], uint8_t* input,
}
#endif
#endif /* __CRYPTO_MODES_CBC_H_ */
#endif /* CRYPTO_MODES_CBC_H_ */

View File

@ -17,8 +17,8 @@
* @author Nico von Geyso <nico.geyso@fu-berlin.de>
*/
#ifndef __CRYPTO_MODES_CCM_H_
#define __CRYPTO_MODES_CCM_H_
#ifndef CRYPTO_MODES_CCM_H_
#define CRYPTO_MODES_CCM_H_
#include "crypto/ciphers.h"
@ -85,4 +85,4 @@ int cipher_decrypt_ccm(cipher_t* cipher, uint8_t* auth_data,
}
#endif
#endif /* __CRYPTO_MODES_CCM_H_ */
#endif /* CRYPTO_MODES_CCM_H_ */

View File

@ -17,8 +17,8 @@
* @author Nico von Geyso <nico.geyso@fu-berlin.de>
*/
#ifndef __CRYPTO_MODES_CTR_H_
#define __CRYPTO_MODES_CTR_H_
#ifndef CRYPTO_MODES_CTR_H_
#define CRYPTO_MODES_CTR_H_
#include "crypto/ciphers.h"
@ -70,4 +70,4 @@ int cipher_decrypt_ctr(cipher_t* cipher, uint8_t nonce_counter[16],
}
#endif
#endif /* __CRYPTO_MODES_CTR_H_*/
#endif /* CRYPTO_MODES_CTR_H_*/

View File

@ -17,8 +17,8 @@
* @author Nico von Geyso <nico.geyso@fu-berlin.de>
*/
#ifndef __CRYPTO_MODES_ECB_H_
#define __CRYPTO_MODES_ECB_H_
#ifndef CRYPTO_MODES_ECB_H_
#define CRYPTO_MODES_ECB_H_
#include "crypto/ciphers.h"
@ -59,4 +59,4 @@ int cipher_decrypt_ecb(cipher_t* cipher, uint8_t* input, size_t length,
}
#endif
#endif /* __CRYPTO_MODES_ECB_H_*/
#endif /* CRYPTO_MODES_ECB_H_*/