TizenRT Public API
v2.0 M2
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
security_crypto.h
1
/****************************************************************************
2
*
3
* Copyright 2019 Samsung Electronics All Rights Reserved.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing,
12
* software distributed under the License is distributed on an
13
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14
* either express or implied. See the License for the specific
15
* language governing permissions and limitations under the License.
16
*
17
****************************************************************************/
18
19
#ifndef _SECURITY_API_CRYPTO_H__
20
#define _SECURITY_API_CRYPTO_H__
21
22
#include "security_common.h"
27
security_error crypto_aes_encryption(security_handle hnd,
security_aes_param
*param,
const
char
*key_name,
security_data
*input,
security_data
*output);
28
security_error crypto_aes_decryption(security_handle hnd,
security_aes_param
*param,
const
char
*key_name,
security_data
*input,
security_data
*output);
29
security_error crypto_rsa_encryption(security_handle hnd,
security_rsa_param
*param,
const
char
*key_name,
security_data
*input,
security_data
*output);
30
security_error crypto_rsa_decryption(security_handle hnd,
security_rsa_param
*param,
const
char
*key_name,
security_data
*input,
security_data
*output);
31
32
#endif // _SECURITY_API_CRYPTO_H__
_security_data
Definition:
security_common.h:32
_security_rsa_param
Definition:
security_common.h:165
_security_aes_param
Definition:
security_common.h:172
framework
include
security
security_crypto.h
Generated by
1.8.11