Mistake on this page?
Report an issue in GitHub or email us
smpr_main.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief SMP responder main module.
6  *
7  * Copyright (c) 2010-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 SMPR_MAIN_H
25 #define SMPR_MAIN_H
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 /**************************************************************************************************
32  Global Variables
33 **************************************************************************************************/
34 
35 /* state machine interface */
36 extern const smpSmIf_t smprSmIf;
37 
38 /**************************************************************************************************
39  Function Declarations
40 **************************************************************************************************/
41 
42 void smprActSendSecurityReq(smpCcb_t *pCcb, smpMsg_t *pMsg);
43 void smprActProcPairReq(smpCcb_t *pCcb, smpMsg_t *pMsg);
44 void smprActSendPairRsp(smpCcb_t *pCcb, smpMsg_t *pMsg);
45 void smprActProcPairCnf(smpCcb_t *pCcb, smpMsg_t *pMsg);
46 void smprActProcPairCnfCalc1(smpCcb_t *pCcb, smpMsg_t *pMsg);
47 void smprActCnfVerify(smpCcb_t *pCcb, smpMsg_t *pMsg);
48 void smprActSendPairRandom(smpCcb_t *pCcb, smpMsg_t *pMsg);
49 void smprActSetupKeyDist(smpCcb_t *pCcb, smpMsg_t *pMsg);
50 void smprActSendKey(smpCcb_t *pCcb, smpMsg_t *pMsg);
51 void smprActRcvKey(smpCcb_t *pCcb, smpMsg_t *pMsg);
52 
53 #ifdef __cplusplus
54 };
55 #endif
56 
57 #endif /* SMPR_MAIN_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.