gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/lib/crypto


From: gsasl-commit
Subject: CVS gsasl/lib/crypto
Date: Sat, 18 Sep 2004 19:36:52 +0200

Update of /home/cvs/gsasl/lib/crypto
In directory dopio:/tmp/cvs-serv32289/crypto

Modified Files:
        gc-libgcrypt.c gc-nettle.c gc.h 
Log Message:
Indent.

--- /home/cvs/gsasl/lib/crypto/gc-libgcrypt.c   2004/08/21 23:52:55     1.2
+++ /home/cvs/gsasl/lib/crypto/gc-libgcrypt.c   2004/09/18 17:36:47     1.3
@@ -344,7 +344,7 @@
       return GC_INVALID_HASH;
     }
 
-  gcry_md_hash_buffer(gcryalg, out, in, inlen);
+  gcry_md_hash_buffer (gcryalg, out, in, inlen);
 
   return GC_OK;
 }
@@ -378,8 +378,7 @@
 
 int
 gc_hmac_md5 (const char *key, size_t keylen,
-            const char *in, size_t inlen,
-            char outhash[GC_MD5_LEN])
+            const char *in, size_t inlen, char outhash[GC_MD5_LEN])
 {
   size_t hlen = gcry_md_get_algo_dlen (GCRY_MD_MD5);
   gcry_md_hd_t mdh;
@@ -411,8 +410,7 @@
 
 int
 gc_hmac_sha1 (const char *key, size_t keylen,
-            const char *in, size_t inlen,
-            char outhash[GC_SHA1_LEN])
+             const char *in, size_t inlen, char outhash[GC_SHA1_LEN])
 {
   size_t hlen = gcry_md_get_algo_dlen (GCRY_MD_SHA1);
   gcry_md_hd_t mdh;
--- /home/cvs/gsasl/lib/crypto/gc-nettle.c      2004/09/18 17:29:39     1.5
+++ /home/cvs/gsasl/lib/crypto/gc-nettle.c      2004/09/18 17:36:47     1.6
@@ -415,8 +415,7 @@
  **/
 int
 gc_hmac_md5 (const char *key, size_t keylen,
-            const char *in, size_t inlen,
-            char outhash[GC_MD5_LEN])
+            const char *in, size_t inlen, char outhash[GC_MD5_LEN])
 {
   struct hmac_md5_ctx ctx;
 
@@ -441,8 +440,7 @@
  **/
 int
 gc_hmac_sha1 (const char *key, size_t keylen,
-             const char *in, size_t inlen,
-             char outhash[SHA1_DIGEST_SIZE])
+             const char *in, size_t inlen, char outhash[SHA1_DIGEST_SIZE])
 {
   struct hmac_sha1_ctx ctx;
 
--- /home/cvs/gsasl/lib/crypto/gc.h     2004/08/21 23:52:55     1.3
+++ /home/cvs/gsasl/lib/crypto/gc.h     2004/09/18 17:36:47     1.4
@@ -131,6 +131,7 @@
 /* PKCS5 KDF. */
 extern int gc_pkcs5_pbkdf2_sha1 (const char *P, size_t Plen,
                                 const char *S, size_t Slen,
-                                unsigned int c, unsigned int dkLen, char *DK);
+                                unsigned int c, unsigned int dkLen,
+                                char *DK);
 
 #endif /* GC_H */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]