From: rasky Date: Wed, 29 Sep 2010 21:42:09 +0000 (+0000) Subject: SEC: Decomment blowfish_stackinit() X-Git-Tag: 2.6.0~28 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=079969689a4e97b1dc9e83fca45696de62aba556;p=bertos.git SEC: Decomment blowfish_stackinit() git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4373 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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);