![]() |
Contiki-NG
|
Implementation of the cc2538 PKA engine driver. More...
#include "contiki.h"#include "dev/pka.h"#include "dev/sys-ctrl.h"#include "dev/nvic.h"#include "lpm.h"#include "reg.h"#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| void | pka_isr (void) |
| The PKA engine ISR. | |
PKA functions | |
| void | pka_init (void) |
| Enables and resets the PKA engine. | |
| void | pka_enable (void) |
| Enables the PKA engine. | |
| void | pka_disable (void) |
| Disables the PKA engine. | |
| bool | pka_check_status (void) |
| Checks the status of the PKA engine operation. | |
| void | pka_register_process_notification (struct process *p) |
| Registers a process to be notified of the completion of a PKA operation. | |
| void | pka_run_function (uint32_t pka_function) |
| Initiates the given PKA function. | |
| void | pka_little_endian_to_pka_ram (const uint32_t *words, size_t num_words, uintptr_t offset) |
| Copies a little-endian sequence of words to the PKA RAM. | |
| void | pka_word_to_pka_ram (uint32_t word, uintptr_t offset) |
| Copies a word to the PKA RAM. | |
| uint32_t | pka_word_from_pka_ram (uintptr_t offset) |
| Retrieves a word from the PKA RAM. | |
| void | pka_big_endian_to_pka_ram (const uint8_t *bytes, size_t num_bytes, uintptr_t offset) |
| Copies a big-endian sequence of bytes to the PKA RAM. | |
| void | pka_big_endian_from_pka_ram (uint8_t *bytes, size_t num_words, uintptr_t offset) |
| Retrieves a big-endian sequence of bytes from the PKA RAM. | |
Implementation of the cc2538 PKA engine driver.
Definition in file pka.c.