SEcube
SEcube Open Source Library - Device
|
L1 command dispatch and execute. More...
#include "se3_cmd1.h"
#include "se3_cmd1_login.h"
#include "se3_cmd1_config.h"
#include "se3_cmd1_keys.h"
#include "se3_cmd1_crypto.h"
#include "se3_rand.h"
Macros | |
#define | SE3_CMD1_MAX (16) |
Functions | |
static uint16_t | L1d_error (uint16_t req_size, const uint8_t *req, uint16_t *resp_size, uint8_t *resp) |
uint16_t | L0d_cmd1 (uint16_t req_size, const uint8_t *req, uint16_t *resp_size, uint8_t *resp) |
L0 command which executes an L1 command. More... | |
Variables | |
static se3_cmd_func | L1d_handlers [SE3_CMD1_MAX] |
L1 command dispatch and execute.
uint16_t L0d_cmd1 | ( | uint16_t | req_size, |
const uint8_t * | req, | ||
uint16_t * | resp_size, | ||
uint8_t * | resp | ||
) |
L0 command which executes an L1 command.
L0 CMD1 command handler.
This handler also manages encryption and login token check
|
static |