Run util/openssl-format-source -v -c .
[openssl.git] / crypto / aes / aes_wrap.c
index b30df8883fd01f5578a20fa609e0f6278060ab17..b7b64d57a4870a4397bca6a8b6e8488562498080 100644 (file)
@@ -1,5 +1,6 @@
 /* crypto/aes/aes_wrap.c */
-/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
+/*
+ * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
  * project.
  */
 /* ====================================================================
@@ -10,7 +11,7 @@
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer. 
+ *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
 #include <openssl/modes.h>
 
 int AES_wrap_key(AES_KEY *key, const unsigned char *iv,
-               unsigned char *out,
-               const unsigned char *in, unsigned int inlen)
-       {
-       return CRYPTO_128_wrap(key, iv, out, in, inlen, (block128_f)AES_encrypt);
-       }
+                 unsigned char *out,
+                 const unsigned char *in, unsigned int inlen)
+{
+    return CRYPTO_128_wrap(key, iv, out, in, inlen, (block128_f) AES_encrypt);
+}
 
 int AES_unwrap_key(AES_KEY *key, const unsigned char *iv,
-               unsigned char *out,
-               const unsigned char *in, unsigned int inlen)
-       {
-       return CRYPTO_128_unwrap(key, iv, out, in, inlen, (block128_f)AES_decrypt);
-       }
+                   unsigned char *out,
+                   const unsigned char *in, unsigned int inlen)
+{
+    return CRYPTO_128_unwrap(key, iv, out, in, inlen,
+                             (block128_f) AES_decrypt);
+}