Mistake on this page?
Report an issue in GitHub or email us
smpi_main.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief SMP initiator 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 SMPI_MAIN_H
25 #define SMPI_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 smpiSmIf;
37 
38 /**************************************************************************************************
39  Function Declarations
40 **************************************************************************************************/
41 
42 /* state machine action functions */
43 void smpiActPairReq(smpCcb_t *pCcb, smpMsg_t *pMsg);
44 void smpiActCheckSecurityReq(smpCcb_t *pCcb, smpMsg_t *pMsg);
45 void smpiActProcSecurityReq(smpCcb_t *pCcb, smpMsg_t *pMsg);
46 void smpiActProcPairRsp(smpCcb_t *pCcb, smpMsg_t *pMsg);
47 void smpiActProcPairCnf(smpCcb_t *pCcb, smpMsg_t *pMsg);
48 void smpiActCnfVerify(smpCcb_t *pCcb, smpMsg_t *pMsg);
49 void smpiActStkEncrypt(smpCcb_t *pCcb, smpMsg_t *pMsg);
50 void smpiActSetupKeyDist(smpCcb_t *pCcb, smpMsg_t *pMsg);
51 void smpiActRcvKey(smpCcb_t *pCcb, smpMsg_t *pMsg);
52 void smpiActSendKey(smpCcb_t *pCcb, smpMsg_t *pMsg);
53 
54 #ifdef __cplusplus
55 };
56 #endif
57 
58 #endif /* SMPI_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.