public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Eggers <ceggers@arri.de>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH BlueZ 01/15] mesh: crypto: remove dead function declaration
Date: Tue, 8 Jul 2025 17:07:53 +0200	[thread overview]
Message-ID: <4993053.OV4Wx5bFTl@n9w6sw14> (raw)
In-Reply-To: <CABBYNZ+FuqRN7v_bjjHTnJNvj1FM-m7d9BvyVKpsgNrmAAydxA@mail.gmail.com>

Hi Luiz,

On Tuesday, 8 July 2025, 16:59:20 CEST, Luiz Augusto von Dentz wrote:
> Hi Christian,
> 
> On Tue, Jul 8, 2025 at 9:15 AM Christian Eggers <ceggers@arri.de> wrote:
> >
> > The implementation of mesh_aes_ecb_one() has been removed in commit
> > dfed4839463f ("mesh: Convert crypto to use ELL wrappers").
> > ---
> >  mesh/crypto.h | 2 --
> >  1 file changed, 2 deletions(-)
> >
> > diff --git a/mesh/crypto.h b/mesh/crypto.h
> > index 55789886eb0e..3d85785f174c 100644
> > --- a/mesh/crypto.h
> > +++ b/mesh/crypto.h
> > @@ -22,8 +22,6 @@ bool mesh_crypto_aes_ccm_decrypt(const uint8_t nonce[13], const uint8_t key[16],
> >                                 const void *enc_msg, uint16_t enc_msg_len,
> >                                 void *out_msg,
> >                                 void *out_mic, size_t mic_size);
> > -bool mesh_aes_ecb_one(const uint8_t key[16],
> > -                       const uint8_t plaintext[16], uint8_t encrypted[16]);
> >  bool mesh_crypto_nkik(const uint8_t network_key[16], uint8_t identity_key[16]);
> >  bool mesh_crypto_nkbk(const uint8_t network_key[16], uint8_t beacon_key[16]);
> >  bool mesh_crypto_nkpk(const uint8_t network_key[16], uint8_t private_key[16]);
> > --
> > 2.43.0
> 
> Is this set just a cleanup, no logical changes were made? In that case
> I can probably go ahead and push it myself, otherwise I may ask Brian
> to step in to review.
sorry for not adding a cover letter.

Most of the patches only cleanup obsolete function prototypes or unused structs.
Patch #5 fixes a NULL pointer dereference (I think it's trivial), whilst 
patch #10 replaces some magic number by preprocessor definitions. 
Patches #14 + #15 try to improve readability.

I considered CC'ing Brian, but I decided using this limited time for more 
important stuff (I hope he can do the initial review of my MESH-GATT RFC
this week).

regards,
Christian
> 
> >
> 
> 
> 





  reply	other threads:[~2025-07-08 15:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-08 12:59 [PATCH BlueZ 01/15] mesh: crypto: remove dead function declaration Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 02/15] mesh: crypto: remove unused function parameter Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 03/15] mesh: friend: remove dead function declarations Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 04/15] mesh: mesh-config: remove dead function prototype Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 05/15] mesh: mesh-io-mgmt: Fix NULL pointer dereference Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 06/15] mesh: model: remove dead function prototype Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 07/15] mesh: net: remove unused stuff Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 08/15] mesh: net: update comment Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 09/15] mesh: net: remove obsolete struct net_key Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 10/15] mesh: net-keys: introduce BEACON_LEN_SNB, BEACON_LEN_MPB, BEACON_LEN_MAX Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 11/15] mesh: net-keys: remove dead function prototype Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 12/15] mesh: node: " Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 13/15] mesh: prov: cleanup header Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 14/15] mesh: remove unneeded casts to bool Christian Eggers
2025-07-08 12:59 ` [PATCH BlueZ 15/15] mesh: use '0x1' rathen than 'true' for bit operations Christian Eggers
2025-07-08 14:21 ` [BlueZ,01/15] mesh: crypto: remove dead function declaration bluez.test.bot
2025-07-08 14:59 ` [PATCH BlueZ 01/15] " Luiz Augusto von Dentz
2025-07-08 15:07   ` Christian Eggers [this message]
2025-07-08 19:30 ` patchwork-bot+bluetooth
2025-07-08 19:45   ` Luiz Augusto von Dentz
2025-07-15 14:30 ` patchwork-bot+bluetooth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4993053.OV4Wx5bFTl@n9w6sw14 \
    --to=ceggers@arri.de \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox