projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove path from toolchain when creating presets (use the system one).
[bertos.git]
/
bertos
/
sec
/
mac.h
diff --git
a/bertos/sec/mac.h
b/bertos/sec/mac.h
index 2fac40b8cf90d93c96bcaafea987f2c64b9c8b87..a9fc9eb7a2f02aef3fcf674f18a5ce3bfedf64ef 100644
(file)
--- a/
bertos/sec/mac.h
+++ b/
bertos/sec/mac.h
@@
-32,7
+32,7
@@
*
* \brief Generic interface for message authentication algorithms.
* \author Giovanni Bajo <rasky@develer.com>
*
* \brief Generic interface for message authentication algorithms.
* \author Giovanni Bajo <rasky@develer.com>
- *
+ *
*/
#ifndef SEC_MAC_H
*/
#ifndef SEC_MAC_H
@@
-44,10
+44,10
@@
typedef struct Mac {
uint8_t digest_len;
uint8_t key_len;
typedef struct Mac {
uint8_t digest_len;
uint8_t key_len;
-
- void (*set_key)(struct Mac *m, const
uint8_t* key, size_t len);
+
+ void (*set_key)(struct Mac *m, const
void *key, size_t len);
void (*begin)(struct Mac *m);
void (*begin)(struct Mac *m);
- void (*update)(struct Mac *m, const
uint8_t
*data, size_t len);
+ void (*update)(struct Mac *m, const
void
*data, size_t len);
uint8_t* (*final)(struct Mac *m);
} Mac;
uint8_t* (*final)(struct Mac *m);
} Mac;