| 数据搜索系统,热门电子元器件搜索 |
|
5802-DS02-R 数据表(PDF) 24 Page - Broadcom Corporation. |
|
|
|||||||||||||||||||||||||||||
5802-DS02-R 数据表(HTML) 24 Page - Broadcom Corporation. |
|
24 / 50 page ![]() ■ BCM5802 Production Specification 07/03/02 B roa dcom Co rpo rat ion Page 16 Memory Structures Document 5802-DS03-405-R IKE/SSL/TLS KEY SETUP PROCESSING DATA STRUCTURE ------------------------------------------------------------------------------------------ /* LITTLE ENDIAN command structures for uBSec Chip */ typedef unsigned char u8; /* 8-bit data type */ typedef unsigned short u16; /* 16-bit data type */ typedef unsigned int u32; /* 32-bit data type */ /* Data Buffer chain entry */ typedef struct DataBufChain_struct { unsigned char *dataAddr; struct DataBufChain_struct *next; u16 dataLength; u16 reserved; } DataBufChain; /* Context buffer */ /* Different algorithms have different command context buffers */ /*Diffie-Hellman Send*/ typedef struct DH_SEND_CtxCmdBuf_struct { u16 total_command_structure_length; u16 operation_type; /* Send mode for DH (0x1) */ u16 rng_enable; /* Private key x generated by RNG or provided by SW rng_enable = 0x0 -> x provided by SW rng_enable = 0x1 -> x generated by RNG */ u16 private_key_length; /* Private key x length in bits*/ u16 generator_length; /*Generator g length in bits*/ u16 modulus_length; /* Modulus N Length in bits */ u32 N[(modulus_length <= 512)? 16 : (modulus_length <= 768)? 24 : 32]; /* Modulus N */ u32 g[(modulus_length <= 512)? 16 : (modulus_length <= 768)? 24 : 32]; /* Generator g */ /* Private key is stored in the data buffer */ } DH_SEND_CtxCmdBuf; /*Diffie-Hellman Receive*/ typedef struct DH_REC_CtxCmdBuf_struct { u16 total_command_structure_length; u16 operation_type; /* Receive mode for DH (0x2) */ u16 exponent_length; /* Exponent (private key x) length in bits */ u16 modulus_length; /* Modulus N Length in bits */ u32 N[(modulus_length <= 512)? 16 : (modulus_length <= 768)? 24 : 32]; /* Modulus N */ } DH_REC_CtxCmdBuf; /*Public Key RSA*/ typedef struct Pub_RSA_CtxCmdBuf_struct { u16 total_command_structure_length; u16 operation_type; /* Public mode for RSA (0x3) */ u16 exponent_length; /* Exponent E length in bits*/ u16 modulus_length; /* Modulus N Length in bits */ u32 N[modulus_length <= 512)? 16 : (modulus_length <= 768)? 24 : 32]; /* Modulus N */ u32 E [exponent_length + 31)/32]; /* Exponent E */ } Pub_RSA_CtxCmdBuf: /*Private Key RSA*/ typedef struct Pri_RSA_CtxCmdBuf_struct { u16 total_command_structure_length; |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |