ndn-lite
sign-on-basic-sec-consts.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Edward Lu
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v3.0. See the file LICENSE in the top level
6  * directory for more details.
7  *
8  * See AUTHORS.md for complete list of NDN IOT PKG authors and contributors.
9  */
10 
11 #ifndef SIGN_ON_BASIC_SEC_CONSTS_H
12 #define SIGN_ON_BASIC_SEC_CONSTS_H
13 
14 #define SIGN_ON_BASIC_SEC_OP_FAILURE 0
15 #define SIGN_ON_BASIC_SEC_OP_SUCCESS 1
16 
17 #define SIGN_ON_BASIC_SHA256_HASH_SIZE 32
18 
19 #define SIGN_ON_BASIC_ECC_CURVE_SECP_256R1_RAW_PRI_KEY_LENGTH 32
20 #define SIGN_ON_BASIC_ECC_CURVE_SECP_256R1_RAW_PUB_KEY_LENGTH 64
21 
22 #define SIGN_ON_BASIC_AES_KEY_MAX_LENGTH 16
23 
24 
26 #define SIGN_ON_BASIC_ECC_CURVE_SECP_256R1 0
27 
30 #endif // SIGN_ON_BASIC_SEC_CONSTS_H