WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
crypto_common_struct.h
浏览该文件的文档.
1
9#ifndef CRYPTO_COMMON_STRUCT_H
10#define CRYPTO_COMMON_STRUCT_H
11
12#include "crypto_type.h"
13
18
19typedef struct {
20 unsigned long long uapi_mem_handle; /* Handle to buffer header address */
21 unsigned long long addr_offset; /* buffer offset, unused. */
23
24 unsigned long phys_addr;
25 void *virt_addr;
26 crypto_buffer_secure buf_sec; /* NONSECURE or SECURE */
28
29typedef enum {
30 CPU_ID_AIDSP = 0x00000035,
31 CPU_ID_PCPU = 0x0000006a,
32 CPU_ID_SCPU = 0x000000a5,
33 CPU_ID_ACPU = 0x000000aa,
34 CPU_ID_INVALID = 0xffffffff
36
37#endif
crypto_buffer_secure
Definition crypto_common_struct.h:14
@ CRYPTO_BUF_SECURE
Definition crypto_common_struct.h:15
@ CRYPTO_BUF_NONSECURE
Definition crypto_common_struct.h:16
ca_misc_cpu_id
Definition crypto_common_struct.h:29
@ CPU_ID_INVALID
Definition crypto_common_struct.h:34
@ CPU_ID_PCPU
Definition crypto_common_struct.h:31
@ CPU_ID_AIDSP
Definition crypto_common_struct.h:30
@ CPU_ID_SCPU
Definition crypto_common_struct.h:32
@ CPU_ID_ACPU
Definition crypto_common_struct.h:33
Definition crypto_common_struct.h:19
void * virt_addr
Definition crypto_common_struct.h:25
unsigned long long addr_offset
Definition crypto_common_struct.h:21
crypto_buffer_secure buf_sec
Definition crypto_common_struct.h:26
unsigned long phys_addr
Definition crypto_common_struct.h:24
unsigned long long uapi_mem_handle
Definition crypto_common_struct.h:20
td_void * kapi_mem_handle
Definition crypto_common_struct.h:22
void td_void
Definition td_type.h:49