]> git.meshlink.io Git - meshlink/blobdiff - src/gcrypt/cipher.c
Started the implementation of route_meshlink that at the moment routes packets based...
[meshlink] / src / gcrypt / cipher.c
index cf46dec8220ab320b9553bc20a96c40441297ffe..e9b32cf7f80fa887031c702c873879fc7c977717 100644 (file)
@@ -1,6 +1,6 @@
 /*
     cipher.c -- Symmetric block cipher handling
-    Copyright (C) 2007 Guus Sliepen <guus@tinc-vpn.org>
+    Copyright (C) 2007-2012 Guus Sliepen <guus@tinc-vpn.org>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -212,7 +212,7 @@ bool cipher_encrypt(cipher_t *cipher, const void *indata, size_t inlen, void *ou
                        else
                                pad[i] = padbyte;
        }
-       
+
        if(oneshot)
                gcry_cipher_setiv(cipher->handle, cipher->key + cipher->keylen, cipher->blklen);