X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fsec%2Fcipher%2Fblowfish.h;h=0895ceb877b7201223a2eb9e6eed8caee079e360;hb=e212073c5800b0f46fca2c1e35b0fbd8683af188;hp=ac7d57bc21ddc866b2598a17dd91b1ce6c1a0dce;hpb=8a968ab3ef07a8065ae6f3398f1d44d30f7273d1;p=bertos.git diff --git a/bertos/sec/cipher/blowfish.h b/bertos/sec/cipher/blowfish.h index ac7d57bc..0895ceb8 100644 --- 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); -#if 0 + #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);