Skip to content

Commit 366f058

Browse files
committed
Adapt header file
Signed-off-by: cybnon <stefan.weber93@googlemail.com>
1 parent 4ab7cb6 commit 366f058

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/atecc608_handler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ extern "C" int atecc_handler_sign(int slot, const uint8_t * msg, uint8_t * signa
8787
extern "C" int atecc_handler_verify(int slot, const uint8_t * msg, const uint8_t * signature, const uint8_t * pub_key);
8888
extern "C" int atecc_handler_genkey(int slot, uint8_t * pub_key);
8989
extern "C" int atecc_handler_lock_slot(int slot);
90-
extern "C" int atecc_handler_write_data(int slot, uint8_t* data, size_t data_len);
91-
extern "C" int atecc_handler_read_data(int slot, uint8_t* data, size_t data_len);
90+
extern "C" int atecc_handler_write_data(int slot, uint8_t* data);
91+
extern "C" int atecc_handler_read_data(int slot, uint8_t* data);

src/atecc608_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ int atecc_handler_inject_priv_key(int slot, uint8_t* priv_key){
213213
* \param[in] data data byte array to write (must be 64 bytes)
214214
* \return ATCA_SUCCESS on success, otherwise an error code.
215215
*/
216-
int atecc_handler_write_data(int slot, const uint8_t* data) {
216+
int atecc_handler_write_data(int slot, uint8_t* data) {
217217
if (!data) {
218218
return ATCA_BAD_PARAM;
219219
}

0 commit comments

Comments
 (0)