forked from contiki-os/contiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request contiki-os#1435 from bthebaudeau/cc2538-hw-llsec
cc2538: Add support for hardware-accelerated llsec
- Loading branch information
Showing
26 changed files
with
1,622 additions
and
444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,8 @@ | |
* Konrad Krentz <[email protected]> | ||
*/ | ||
|
||
#ifndef AES_H_ | ||
#define AES_H_ | ||
#ifndef AES_128_H_ | ||
#define AES_128_H_ | ||
|
||
#include "contiki.h" | ||
|
||
|
@@ -67,16 +67,11 @@ struct aes_128_driver { | |
void (* encrypt)(uint8_t *plaintext_and_result); | ||
}; | ||
|
||
/** | ||
* \brief Pads the plaintext with zeroes before calling AES_128.encrypt | ||
*/ | ||
void aes_128_padded_encrypt(uint8_t *plaintext_and_result, uint8_t plaintext_len); | ||
|
||
/** | ||
* \brief Pads the key with zeroes before calling AES_128.set_key | ||
*/ | ||
void aes_128_set_padded_key(uint8_t *key, uint8_t key_len); | ||
|
||
extern const struct aes_128_driver AES_128; | ||
|
||
#endif /* AES_H_ */ | ||
#endif /* AES_128_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.