SEcube
SEcube Open Source Library - Device
|
L1 handlers for key management operations. More...
Go to the source code of this file.
Functions | |
uint16_t | L1d_key_edit (uint16_t req_size, const uint8_t *req, uint16_t *resp_size, uint8_t *resp) |
L1 KEY_EDIT. More... | |
uint16_t | L1d_key_list (uint16_t req_size, const uint8_t *req, uint16_t *resp_size, uint8_t *resp) |
L1 KEY_LIST. More... | |
L1 handlers for key management operations.
uint16_t L1d_key_edit | ( | uint16_t | req_size, |
const uint8_t * | req, | ||
uint16_t * | resp_size, | ||
uint8_t * | resp | ||
) |
L1 KEY_EDIT.
Insert, delete or update a key
L1 KEY_EDIT.
key_edit : (op:ui16, id:ui32, validity:ui32, data-len:ui16, name-len:ui16, data[data-len], name[name-len]) => ()
uint16_t L1d_key_list | ( | uint16_t | req_size, |
const uint8_t * | req, | ||
uint16_t * | resp_size, | ||
uint8_t * | resp | ||
) |
L1 KEY_LIST.
Get a list of keys in the device
L1 KEY_LIST.
key_list : (skip:ui16, nmax:ui16) => (count:ui16, keyinfo0, keyinfo1, ...) keyinfo: (id:ui32, validity:ui32, data-len:ui16, name-len:ui16, name[name-len])