summaryrefslogtreecommitdiffstats
path: root/src/gsm/milenage/aes_wrap.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2014-06-16 10:13:40 +0200
committerSylvain Munaut <tnt@246tNt.com>2014-06-16 10:17:27 +0200
commit12ba778afdb797575e05284decd34cf2c27e3647 (patch)
tree8e98b7859c8866d706af877cd9edac3e1db5a09f /src/gsm/milenage/aes_wrap.h
parentb0a3c2f1de73cb3acd70f7c93be8fc7e8925f31e (diff)
include: Switch to #pragma once pattern
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/gsm/milenage/aes_wrap.h')
-rw-r--r--src/gsm/milenage/aes_wrap.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gsm/milenage/aes_wrap.h b/src/gsm/milenage/aes_wrap.h
index 4b1c7b08..afa1451e 100644
--- a/src/gsm/milenage/aes_wrap.h
+++ b/src/gsm/milenage/aes_wrap.h
@@ -19,8 +19,7 @@
* See README and COPYING for more details.
*/
-#ifndef AES_WRAP_H
-#define AES_WRAP_H
+#pragma once
int __must_check aes_wrap(const u8 *kek, int n, const u8 *plain, u8 *cipher);
int __must_check aes_unwrap(const u8 *kek, int n, const u8 *cipher, u8 *plain);
@@ -44,5 +43,3 @@ int __must_check aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data,
size_t data_len);
int __must_check aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data,
size_t data_len);
-
-#endif /* AES_WRAP_H */