All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] [PATCH v2 0/2] mptcp: simplify crypto.c
@ 2019-07-23 17:47 Davide Caratti
  0 siblings, 0 replies; 2+ messages in thread
From: Davide Caratti @ 2019-07-23 17:47 UTC (permalink / raw)
  To: mptcp 

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

his series wants to simplify, and hopefully improve, random generation
of keys and nonces in crypto.c, While at it, I removed some unneeded
#includes on top of the file. Any feedbacks are welcome!

Note:
 in case you think the code is ok, I will propose to squash it into
 commit a564283a1e38 ("mptcp: Add key generation and token tree")

Changes since v1:
 - add a comment that suggests use of hash to improve performance,
   thanks to Matthieu
 - remove useless #include <tcp.h>, thanks Mat 

Changes since RFC:
 - use get_random_bytes() instead of siphash, thanks to Florian / Mat 


Davide Caratti (2):
  net: mptcp: remove useless #includes in crypto.c
  net: mptcp: randomness improvements for crypto.c

 net/mptcp/crypto.c   | 76 --------------------------------------------
 net/mptcp/protocol.c |  1 -
 net/mptcp/protocol.h | 24 +++++++-------
 net/mptcp/token.c    | 54 ++++---------------------------
 4 files changed, 19 insertions(+), 136 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [MPTCP] [PATCH v2 0/2] mptcp: simplify crypto.c
@ 2019-07-24 12:53 Matthieu Baerts
  0 siblings, 0 replies; 2+ messages in thread
From: Matthieu Baerts @ 2019-07-24 12:53 UTC (permalink / raw)
  To: mptcp 

[-- Attachment #1: Type: text/plain, Size: 1663 bytes --]

Hi Davide, Mat, Peter, Florian,

On 23/07/2019 19:47, Davide Caratti wrote:
> his series wants to simplify, and hopefully improve, random generation
> of keys and nonces in crypto.c, While at it, I removed some unneeded
> #includes on top of the file. Any feedbacks are welcome!
> 
> Note:
>  in case you think the code is ok, I will propose to squash it into
>  commit a564283a1e38 ("mptcp: Add key generation and token tree")
> 
> Changes since v1:
>  - add a comment that suggests use of hash to improve performance,
>    thanks to Matthieu
>  - remove useless #include <tcp.h>, thanks Mat 
> 
> Changes since RFC:
>  - use get_random_bytes() instead of siphash, thanks to Florian / Mat 
> 
> 
> Davide Caratti (2):
>   net: mptcp: remove useless #includes in crypto.c
>   net: mptcp: randomness improvements for crypto.c

Thank you for the patch, the new version and the reviews!

- 830d99ebce23: first patch squashed in "mptcp: Add key generation and
token tree"
- 1395553e7bbb: signed-off
- 3957d8f5d7dc: second patch partly squashed in "mptcp: Add key
generation and token tree" (with conflicts)
- 1e46a4a65f49: conflict in
t/mptcp-Write-MPTCP-DSS-headers-to-outgoing-data-packets
- 6d9bd00afae6: conflict in
t/mptcp-Make-connection_list-a-real-list-of-subflows
- 14b72baa0fbf: second patch partly squashed in "mptcp: Add handling of
incoming MP_JOIN requests"
- 49e73e4934b4..7b0096b174c5: result

Tests are still OK!

Cheers,
Matt
-- 
Matthieu Baerts | R&D Engineer
matthieu.baerts(a)tessares.net
Tessares SA | Hybrid Access Solutions
www.tessares.net
1 Avenue Jean Monnet, 1348 Louvain-la-Neuve, Belgium

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-24 12:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-23 17:47 [MPTCP] [PATCH v2 0/2] mptcp: simplify crypto.c Davide Caratti
  -- strict thread matches above, loose matches on Subject: below --
2019-07-24 12:53 Matthieu Baerts

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.