FelipeMdeO commented on code in PR #3636:
URL: https://github.com/apache/nuttx-apps/pull/3636#discussion_r3569299967


##########
netutils/dropbear/patch/0005-use-nuttx-chachapoly-cryptodev.patch:
##########
@@ -0,0 +1,20 @@
+--- a/src/chachapoly.h
++++ b/src/chachapoly.h
+@@ -31,10 +31,17 @@
+ 
+ #if DROPBEAR_CHACHA20POLY1305
+ 
++#ifdef DROPBEAR_NUTTX_CHACHAPOLY
++typedef struct {
++      unsigned char key_main[32];
++      unsigned char key_header[32];
++} dropbear_chachapoly_state;
++#else
+ typedef struct {
+       chacha_state chacha;

Review Comment:
   Hello Xiang, you re, I used "legacy" approach from my old PR.
   I already fixed it and will follow this standard in the next steps.
   Thank you



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to