diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-07 15:35:51 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-07 16:35:54 +0200 |
commit | 59ddd348959aa2d52976397e0f0e81335bc502ec (patch) | |
tree | 18c069d381455276d2903eae169d9115e38dd353 /src/crypto/zinc | |
parent | 3a4ec05eebf01835948799fc98fe45cff70f2cf7 (diff) |
crypto: clean up remaining .h->.c
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc')
-rw-r--r-- | src/crypto/zinc/curve25519/curve25519-fiat32.c (renamed from src/crypto/zinc/curve25519/curve25519-fiat32.h) | 2 | ||||
-rw-r--r-- | src/crypto/zinc/curve25519/curve25519-hacl64.c (renamed from src/crypto/zinc/curve25519/curve25519-hacl64.h) | 2 | ||||
-rw-r--r-- | src/crypto/zinc/curve25519/curve25519-x86_64-glue.c | 2 | ||||
-rw-r--r-- | src/crypto/zinc/curve25519/curve25519-x86_64.c (renamed from src/crypto/zinc/curve25519/curve25519-x86_64.h) | 2 | ||||
-rw-r--r-- | src/crypto/zinc/curve25519/curve25519.c | 4 | ||||
-rw-r--r-- | src/crypto/zinc/poly1305/poly1305-donna32.c (renamed from src/crypto/zinc/poly1305/poly1305-donna32.h) | 2 | ||||
-rw-r--r-- | src/crypto/zinc/poly1305/poly1305-donna64.c (renamed from src/crypto/zinc/poly1305/poly1305-donna64.h) | 2 | ||||
-rw-r--r-- | src/crypto/zinc/poly1305/poly1305.c | 4 |
8 files changed, 10 insertions, 10 deletions
diff --git a/src/crypto/zinc/curve25519/curve25519-fiat32.h b/src/crypto/zinc/curve25519/curve25519-fiat32.c index 32b5ec7..6076c06 100644 --- a/src/crypto/zinc/curve25519/curve25519-fiat32.h +++ b/src/crypto/zinc/curve25519/curve25519-fiat32.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 OR MIT */ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* * Copyright (C) 2015-2016 The fiat-crypto Authors. * Copyright (C) 2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. diff --git a/src/crypto/zinc/curve25519/curve25519-hacl64.h b/src/crypto/zinc/curve25519/curve25519-hacl64.c index 598be44..ce7dfcf 100644 --- a/src/crypto/zinc/curve25519/curve25519-hacl64.h +++ b/src/crypto/zinc/curve25519/curve25519-hacl64.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 OR MIT */ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* * Copyright (C) 2016-2017 INRIA and Microsoft Corporation. * Copyright (C) 2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. diff --git a/src/crypto/zinc/curve25519/curve25519-x86_64-glue.c b/src/crypto/zinc/curve25519/curve25519-x86_64-glue.c index a0e35bb..f79c142 100644 --- a/src/crypto/zinc/curve25519/curve25519-x86_64-glue.c +++ b/src/crypto/zinc/curve25519/curve25519-x86_64-glue.c @@ -6,7 +6,7 @@ #include <asm/cpufeature.h> #include <asm/processor.h> -#include "curve25519-x86_64.h" +#include "curve25519-x86_64.c" static bool curve25519_use_bmi2 __ro_after_init; static bool curve25519_use_adx __ro_after_init; diff --git a/src/crypto/zinc/curve25519/curve25519-x86_64.h b/src/crypto/zinc/curve25519/curve25519-x86_64.c index 258a30d..db5e2e6 100644 --- a/src/crypto/zinc/curve25519/curve25519-x86_64.h +++ b/src/crypto/zinc/curve25519/curve25519-x86_64.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 OR LGPL-2.1 */ +// SPDX-License-Identifier: GPL-2.0 OR LGPL-2.1 /* * Copyright (c) 2017 Armando Faz <armfazh@ic.unicamp.br>. All Rights Reserved. * Copyright (C) 2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. diff --git a/src/crypto/zinc/curve25519/curve25519.c b/src/crypto/zinc/curve25519/curve25519.c index 64efa60..e3c1f7d 100644 --- a/src/crypto/zinc/curve25519/curve25519.c +++ b/src/crypto/zinc/curve25519/curve25519.c @@ -50,9 +50,9 @@ static __always_inline void normalize_secret(u8 secret[CURVE25519_KEY_SIZE]) } #if defined(CONFIG_ARCH_SUPPORTS_INT128) && defined(__SIZEOF_INT128__) -#include "curve25519-hacl64.h" +#include "curve25519-hacl64.c" #else -#include "curve25519-fiat32.h" +#include "curve25519-fiat32.c" #endif static const u8 null_point[CURVE25519_KEY_SIZE] = { 0 }; diff --git a/src/crypto/zinc/poly1305/poly1305-donna32.h b/src/crypto/zinc/poly1305/poly1305-donna32.c index 2e7565d..e342f03 100644 --- a/src/crypto/zinc/poly1305/poly1305-donna32.h +++ b/src/crypto/zinc/poly1305/poly1305-donna32.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 OR MIT */ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* * Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. * diff --git a/src/crypto/zinc/poly1305/poly1305-donna64.h b/src/crypto/zinc/poly1305/poly1305-donna64.c index 7850e0a..aeb75ab 100644 --- a/src/crypto/zinc/poly1305/poly1305-donna64.h +++ b/src/crypto/zinc/poly1305/poly1305-donna64.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 OR MIT */ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* * Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. * diff --git a/src/crypto/zinc/poly1305/poly1305.c b/src/crypto/zinc/poly1305/poly1305.c index 6da8bf1..a8a009c 100644 --- a/src/crypto/zinc/poly1305/poly1305.c +++ b/src/crypto/zinc/poly1305/poly1305.c @@ -47,9 +47,9 @@ static void __init poly1305_fpu_init(void) #endif #if defined(CONFIG_ARCH_SUPPORTS_INT128) && defined(__SIZEOF_INT128__) -#include "poly1305-donna64.h" +#include "poly1305-donna64.c" #else -#include "poly1305-donna32.h" +#include "poly1305-donna32.c" #endif void poly1305_init(struct poly1305_ctx *ctx, const u8 key[POLY1305_KEY_SIZE]) |