SEC: Fix a last-minute typo.
[bertos.git] / 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;
 }
 
 /**