From 079969689a4e97b1dc9e83fca45696de62aba556 Mon Sep 17 00:00:00 2001 From: rasky Date: Wed, 29 Sep 2010 21:42:09 +0000 Subject: [PATCH] SEC: Decomment blowfish_stackinit() git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4373 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/sec/cipher/blowfish.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.25.1