-
I am doing experiments with post-quantum cryptography in MsQuic. I managed to integrate the OpenQuantumSafe provider into OpenSSL. Starting with the tests, initially it was going well testing key exchange algorithms and some signature algorithms. But in signature algorithms that create very large certificates (+16KB) I realized that the server was hanging performing the handshake. The server recieves the Client Hello message and tries to respond, but it never sends the packets in the network and gets hangs up. I leave here the logs of the server and the client. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you look at crypto.c, I believe we cap crypto payload to 32k:
I wonder if you're hitting that (I haven't looked at the logs). |
Beta Was this translation helpful? Give feedback.
Yes, it was the buffer size. I also changed the send buffer macros
QUIC_MAX_TLS_CLIENT_SEND_BUFFER
andQUIC_MAX_TLS_CLIENT_SEND_BUFFER
to 64KB and now it runs perfectly.Thanks for the help!