TuyaOS
宏定义 | 函数
tal_asymmetrical.h 文件参考

Common process - adapter the asymmetrical api provide by OS 更多...

#include "tuya_cloud_types.h"
#include "tkl_asymmetrical.h"
#include "tuya_iot_config.h"
#include "tuya_tls.h"
#include "mbedtls/rsa.h"
#include "mbedtls/ecdsa.h"
#include "mbedtls/pk.h"
tal_asymmetrical.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define OUTPUT_FORMAT_DER   1
 
#define OUTPUT_FORMAT_PEM   0
 
#define OUTPUT_MODE_NONE   0
 
#define OUTPUT_MODE_PRIVATE   1
 
#define OUTPUT_MODE_PUBLIC   2
 

函数

int test_ty_asymmetric (void)
 
int tuya_Buf_Convert_Pk (const char *in_buf, int intput_mode, int input_format, mbedtls_pk_context *key)
 
int tuya_gen_key (mbedtls_pk_type_t type, mbedtls_ecp_group_id grp_id, int rsa_keysize, mbedtls_pk_context *key)
 
int tuya_Pk_Convert_Buf (mbedtls_pk_context *key, int output_mode, int output_format, uint8_t *output_buf, uint32_t output_buf_len)
 

详细描述

Common process - adapter the asymmetrical api provide by OS

版本
0.1
日期
2022-04-22