Searched refs:TCCmacState_t (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/ |
A D | cmac_mode.h | 129 } *TCCmacState_t; typedef 142 int tc_cmac_setup(TCCmacState_t s, const uint8_t *key, 153 int tc_cmac_erase(TCCmacState_t s); 163 int tc_cmac_init(TCCmacState_t s); 176 int tc_cmac_update(TCCmacState_t s, const uint8_t *data, size_t dlen); 188 int tc_cmac_final(uint8_t *tag, TCCmacState_t s);
|
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | cmac_mode.c | 97 int tc_cmac_setup(TCCmacState_t s, const uint8_t *key, TCAesKeySched_t sched) in tc_cmac_setup() 101 if (s == (TCCmacState_t) 0 || in tc_cmac_setup() 125 int tc_cmac_erase(TCCmacState_t s) in tc_cmac_erase() 127 if (s == (TCCmacState_t) 0) { in tc_cmac_erase() 137 int tc_cmac_init(TCCmacState_t s) in tc_cmac_init() 140 if (s == (TCCmacState_t) 0) { in tc_cmac_init() 157 int tc_cmac_update(TCCmacState_t s, const uint8_t *data, size_t data_length) in tc_cmac_update() 162 if (s == (TCCmacState_t) 0) { in tc_cmac_update() 222 int tc_cmac_final(uint8_t *tag, TCCmacState_t s) in tc_cmac_final() 229 s == (TCCmacState_t) 0) { in tc_cmac_final()
|
Completed in 3 milliseconds