SEC: Fix a last-minute typo.
authorrasky <rasky@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 29 Sep 2010 13:40:29 +0000 (13:40 +0000)
committerrasky <rasky@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 29 Sep 2010 13:40:29 +0000 (13:40 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4347 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/sec/cipher.h

index f7aee505489ed1451c47e68c295e756bf9e9e32d..f0f37a36e600fce33169ebdaec7075a11944c637 100644 (file)
@@ -117,7 +117,7 @@ INLINE void cipher_ecb_decrypt(BlockCipher *c, void *block)
  */
 INLINE void cipher_cbc_begin(BlockCipher *c, void *iv)
 {
-       c->buf = ivbuf;
+       c->buf = iv;
 }
 
 /**