[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: UTIL: Remove unused variables
From: |
gnunet |
Subject: |
[gnunet] branch master updated: UTIL: Remove unused variables |
Date: |
Wed, 20 Sep 2023 11:37:33 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new ce2c51063 UTIL: Remove unused variables
ce2c51063 is described below
commit ce2c5106374f1025af9bbef75e76b7b69f88905c
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Sep 20 11:37:26 2023 +0200
UTIL: Remove unused variables
---
src/util/crypto_ecc.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c
index 9dd9883dc..11c3e50d4 100644
--- a/src/util/crypto_ecc.c
+++ b/src/util/crypto_ecc.c
@@ -812,9 +812,7 @@ GNUNET_CRYPTO_ecdsa_fo_kem_encaps (const struct
struct GNUNET_HashCode x;
struct GNUNET_HashCode ux;
struct GNUNET_HashCode w;
- struct GNUNET_HashCode y;
struct GNUNET_CRYPTO_EcdhePrivateKey sk;
- enum GNUNET_GenericReturnValue ret;
// This is the input to the FO OWTF
GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_NONCE, &x, sizeof(x));
@@ -847,7 +845,6 @@ GNUNET_CRYPTO_eddsa_fo_kem_encaps (const struct
struct GNUNET_HashCode x;
struct GNUNET_HashCode ux;
struct GNUNET_HashCode w;
- struct GNUNET_HashCode y;
struct GNUNET_CRYPTO_EcdhePrivateKey sk;
enum GNUNET_GenericReturnValue ret;
@@ -881,10 +878,8 @@ fo_kem_decaps (const struct GNUNET_HashCode *w,
{
struct GNUNET_HashCode x;
struct GNUNET_HashCode ux;
- struct GNUNET_HashCode y;
struct GNUNET_CRYPTO_EcdhePrivateKey sk;
struct GNUNET_CRYPTO_EcdhePublicKey pub_test;
- enum GNUNET_GenericReturnValue ret;
// w xor x (one-time pad)
GNUNET_CRYPTO_hash_xor (w, &c->y, &x);
@@ -915,12 +910,7 @@ GNUNET_CRYPTO_eddsa_fo_kem_decaps (const struct
const struct GNUNET_CRYPTO_FoKemC *c,
struct GNUNET_HashCode *key_material)
{
- struct GNUNET_HashCode x;
- struct GNUNET_HashCode ux;
struct GNUNET_HashCode w;
- struct GNUNET_HashCode y;
- struct GNUNET_CRYPTO_EcdhePrivateKey sk;
- struct GNUNET_CRYPTO_EcdhePublicKey pub_test;
enum GNUNET_GenericReturnValue ret;
ret = GNUNET_CRYPTO_eddsa_ecdh (priv, &c->pub, &w);
@@ -936,12 +926,7 @@ GNUNET_CRYPTO_ecdsa_fo_kem_decaps (const struct
struct GNUNET_CRYPTO_FoKemC *c,
struct GNUNET_HashCode *key_material)
{
- struct GNUNET_HashCode x;
- struct GNUNET_HashCode ux;
struct GNUNET_HashCode w;
- struct GNUNET_HashCode y;
- struct GNUNET_CRYPTO_EcdhePrivateKey sk;
- struct GNUNET_CRYPTO_EcdhePublicKey pub_test;
enum GNUNET_GenericReturnValue ret;
ret = GNUNET_CRYPTO_ecdsa_ecdh (priv, &c->pub, &w);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: UTIL: Remove unused variables,
gnunet <=