sm: document sm_cmac_start result

This commit is contained in:
Matthias Ringwald 2015-08-19 22:44:03 +02:00
parent 03679531e4
commit e7409fd6e2

View File

@ -258,7 +258,8 @@ void sm_authorization_grant(uint8_t addr_type, bd_addr_t address);
/**
* @brief Support for signed writes, used by att_server.
* @note Message and result are in little endian to allows passing in ATT PDU without flipping them first.
* @note Message and result are in little endian to allows passing in ATT PDU without flipping.
* @note calculated hash in done_callback is big endian
*/
int sm_cmac_ready(void);
void sm_cmac_start(sm_key_t k, uint8_t opcode, uint16_t attribute_handle, uint16_t message_len, uint8_t * message, uint32_t sign_counter, void (*done_handler)(uint8_t hash[8]));