Mistake on this page?
Report an issue in GitHub or email us
att_sign.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief ATT optional signed PDU processing functions.
6  *
7  * Copyright (c) 2011-2018 Arm Ltd. All Rights Reserved.
8  *
9  * Copyright (c) 2019 Packetcraft, Inc.
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */
23 /*************************************************************************************************/
24 #ifndef ATT_SIGN_H
25 #define ATT_SIGN_H
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 /**************************************************************************************************
32  Macros
33 **************************************************************************************************/
34 
35 /* CMAC algorithm subkey length */
36 #define ATT_CMAC_SUBKEY_LEN 16
37 
38 /* CMAC algorithm block length */
39 #define ATT_CMAC_BLOCK_LEN 16
40 
41 /* CMAC constant Rb */
42 #define ATT_CMAC_RB 0x87
43 
44 /* CMAC signature result length */
45 #define ATT_CMAC_RESULT_LEN 8
46 
47 
48 #ifdef __cplusplus
49 };
50 #endif
51 
52 #endif /* ATT_SIGN_H */
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.