RDK Documentation (Open Sourced RDK Components)
mfrCrypto.h
1
/*
2
* If not stated otherwise in this file or this component's Licenses.txt file the
3
* following copyright and licenses apply:
4
*
5
* Copyright 2016 RDK Management
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
*/
19
20
21
/**
22
* @defgroup iarmmgrs
23
* @{
24
* @defgroup mfr
25
* @{
26
**/
27
28
29
#ifndef _MFR_CRYPTO_H
30
#define _MFR_CRYPTO_H
31
32
#include <stdlib.h>
33
#include <stdint.h>
34
#include "mfrTypes.h"
35
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
40
mfrError_t mfrCrypto_init(
const
mfrSerializedData_t
* pSerialNumber );
41
mfrError_t mfrCrypto_Encrypt(
const
mfrSerializedData_t
* pPlainText,
mfrSerializedData_t
* pCipherText);
42
mfrError_t mfrCrypto_Decrypt(
const
mfrSerializedData_t
* pCipherText,
mfrSerializedData_t
* pPlainText);
43
mfrError_t mfrCrypto_term();
44
#ifdef __cplusplus
45
};
46
#endif
47
48
49
#endif //_MFR_CRYPTO_H
50
51
52
53
/** @} */
54
/** @} */
_mfrSerializedData_t
Definition:
mfrTypes.h:50
components
generic
iarmmgrs
mfr
common
include
mfrCrypto.h
Generated on Thu Feb 9 2023 06:32:30 for RDK Documentation (Open Sourced RDK Components) by
1.8.17