projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for STM32F103RE CPU.
[bertos.git]
/
bertos
/
sec
/
cipher
/
blowfish.h
diff --git
a/bertos/sec/cipher/blowfish.h
b/bertos/sec/cipher/blowfish.h
index ac7d57bc21ddc866b2598a17dd91b1ce6c1a0dce..0895ceb877b7201223a2eb9e6eed8caee079e360 100644
(file)
--- a/
bertos/sec/cipher/blowfish.h
+++ b/
bertos/sec/cipher/blowfish.h
@@
-52,10
+52,10
@@
typedef struct BlowfishContext
} BlowfishContext;
void blowfish_init(BlowfishContext *ctx);
} BlowfishContext;
void blowfish_init(BlowfishContext *ctx);
-#if 0
+
#define blowfish_stackinit(...) \
({ BlowfishContext *ctx = alloca(sizeof(BlowfishContext)); blowfish_init(ctx, ##__VA_ARGS__); &ctx->c; })
#define blowfish_stackinit(...) \
({ BlowfishContext *ctx = alloca(sizeof(BlowfishContext)); blowfish_init(ctx, ##__VA_ARGS__); &ctx->c; })
-#endif
+
int blowfish_testSetup(void);
int blowfish_testRun(void);
int blowfish_testTearDown(void);
int blowfish_testSetup(void);
int blowfish_testRun(void);
int blowfish_testTearDown(void);