Added AES cipher constants

This commit is contained in:
adamdunkels 2008-07-02 09:03:49 +00:00
parent 1cef019e78
commit 6b187328bd

View file

@ -28,7 +28,7 @@
* *
*/ */
/* @(#)$Id: cc2420_const.h,v 1.2 2007/01/12 18:18:23 bg- Exp $ */ /* @(#)$Id: cc2420_const.h,v 1.3 2008/07/02 09:03:49 adamdunkels Exp $ */
#ifndef CC2420_CONST_H #ifndef CC2420_CONST_H
#define CC2420_CONST_H #define CC2420_CONST_H
@ -143,6 +143,9 @@ enum cc2420_secctrl0 {
CC2420_SECCTRL0_TXKEYSEL0 = 0x0000, CC2420_SECCTRL0_TXKEYSEL0 = 0x0000,
CC2420_SECCTRL0_TXKEYSEL1 = 0x0040, CC2420_SECCTRL0_TXKEYSEL1 = 0x0040,
CC2420_SECCTRL0_SAKEYSEL0 = 0x0000,
CC2420_SECCTRL0_SAKEYSEL1 = 0x0080,
CC2420_SECCTRL0_SEC_CBC_HEAD = 0x0100, CC2420_SECCTRL0_SEC_CBC_HEAD = 0x0100,
CC2420_SECCTRL0_RXFIFO_PROTECTION = 0x0200, CC2420_SECCTRL0_RXFIFO_PROTECTION = 0x0200,
}; };