AES128 HW crypto engine support for Atmel radios
modified: cpu/avr/radio/rf230bb/atmega128rfa1_registermap.h modified: cpu/avr/radio/rf230bb/atmega256rfr2_registermap.h modified: cpu/avr/radio/rf230bb/rf230bb.c modified: cpu/avr/radio/rf230bb/rf230bb.h
This commit is contained in:
parent
ddf723f88d
commit
58517dfcbd
4 changed files with 217 additions and 0 deletions
|
@ -88,6 +88,24 @@
|
|||
#define RG_XAH_CTRL_1 (0x157)
|
||||
#define SR_AACK_PROM_MODE 0x157, 0x02, 1
|
||||
|
||||
|
||||
#define RG_AES_KEY (0x13F)
|
||||
#define SR_AES_KEY 0x13F, 0xff, 0
|
||||
#define RG_AES_STATE (0x13E)
|
||||
#define SR_AES_STATE 0x13E, 0xff, 0
|
||||
#define RG_AES_STATUS (0x13D)
|
||||
#define SR_AES_STATUS 0x13D, 0xff, 0
|
||||
#define SR_AES_STATUS_DONE 0x13D, 0x01, 0
|
||||
#define SR_AES_STATUS_ERR 0x13D, 0x80, 7
|
||||
#define RG_AES_CNTRL (0x13C)
|
||||
#define SR_AES_CNTRL 0x13C, 0xff, 0
|
||||
#define SR_AES_CNTRL_IM 0x13C, 0x04, 2
|
||||
#define SR_AES_CNTRL_DIR 0x13C, 0x08, 3
|
||||
#define SR_AES_CNTRL_MODE 0x13C, 0x20, 5
|
||||
#define SR_AES_CNTRL_REQUEST 0x13C, 0x80, 7
|
||||
|
||||
#define SR_IRQ_MASK 0x14e, 0xff, 0
|
||||
|
||||
/* RF230 register assignments, for reference */
|
||||
#if 0
|
||||
#define HAVE_REGISTER_MAP (1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue