CiFEr
include
cifer
serialization
fame_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_FAME_SER_H
18
#define CIFER_FAME_SER_H
19
20
#include <
cifer/abe/fame.h
>
21
#include "data_ser.h"
22
23
void
cfe_fame_pub_key_ser(
cfe_fame_pub_key
*pub_key,
cfe_ser
*buf);
24
25
cfe_error cfe_fame_pub_key_read(
cfe_fame_pub_key
*pub_key,
cfe_ser
*buf);
26
27
void
cfe_fame_sec_key_ser(
cfe_fame_sec_key
*key,
cfe_ser
*buf);
28
29
cfe_error cfe_fame_sec_key_read(
cfe_fame_sec_key
*key,
cfe_ser
*buf);
30
31
void
cfe_fame_attrib_keys_ser(
cfe_fame_attrib_keys
*keys,
cfe_ser
*buf);
32
33
cfe_error cfe_fame_attrib_keys_read(
cfe_fame_attrib_keys
*keys,
cfe_ser
*buf);
34
35
void
cfe_fame_cipher_ser(
cfe_fame_cipher
*c,
cfe_ser
*buf);
36
37
cfe_error cfe_fame_cipher_read(
cfe_fame_cipher
*c,
cfe_ser
*buf);
38
39
#endif
cfe_fame_attrib_keys
Definition:
fame.h:81
cfe_ser
Definition:
data_ser.h:25
cfe_fame_pub_key
Definition:
fame.h:54
cfe_fame_sec_key
Definition:
fame.h:62
fame.h
This is a ciphertext policy (CP) attribute based (ABE) scheme based on Shashank Agrawal and Melissa C...
cfe_fame_cipher
Definition:
fame.h:70
Generated by
1.8.17