CiFEr
gpsw_ser.h
1 /*
2  * Copyright (c) 2018 XLAB d.o.o.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef CIFER_GPSW_SER_H
18 #define CIFER_GPSW_SER_H
19 
20 #include <cifer/abe/gpsw.h>
21 #include "data_ser.h"
22 #include "gpsw.pb-c.h"
23 
24 void cfe_gpsw_pub_key_ser(cfe_gpsw_pub_key *a, cfe_ser *buf);
25 
26 cfe_error cfe_gpsw_pub_key_read(cfe_gpsw_pub_key *a, cfe_ser *buf);
27 
28 void cfe_gpsw_key_ser(cfe_gpsw_key *a, cfe_ser *buf);
29 
30 cfe_error cfe_gpsw_key_read(cfe_gpsw_key *a, cfe_ser *buf);
31 
32 void cfe_gpsw_cipher_ser(cfe_gpsw_cipher *a, cfe_ser *buf);
33 
34 cfe_error cfe_gpsw_cipher_read(cfe_gpsw_cipher *a, cfe_ser *buf);
35 
36 #endif
cfe_gpsw_key
Definition: gpsw.h:73
cfe_ser
Definition: data_ser.h:25
cfe_gpsw_pub_key
Definition: gpsw.h:55
gpsw.h
Key policy attribute based scheme.
cfe_gpsw_cipher
Definition: gpsw.h:63