You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main...toidiu:s2n-tls:ak-ktls0_main1 is a possibly a good place to start but this is complicated enough that it warrants a fresh look. Relevant files are s2n_recv.c, and s2n_ktls_io.c. Its probably best to atleast consider #4169 before starting on a design for this.
The logic in tls/s2n_recv.c is quite complicated and I did not have a very clean integration in the sample code above. A cleaner way would probably be to handle the 'keep reading until we have read size_requested or blocked' inside of the ktls_io file.
We should also ignore conn->config->recv_multi_record since with ktls we dont really have control and it might or might not do multi-records. Prob deserves a comment on the API
The text was updated successfully, but these errors were encountered:
main...toidiu:s2n-tls:ak-ktls0_main1 is a possibly a good place to start but this is complicated enough that it warrants a fresh look. Relevant files are s2n_recv.c, and s2n_ktls_io.c. Its probably best to atleast consider #4169 before starting on a design for this.
The logic in
tls/s2n_recv.c
is quite complicated and I did not have a very clean integration in the sample code above. A cleaner way would probably be to handle the 'keep reading until we have read size_requested or blocked' inside of the ktls_io file.We should also ignore
conn->config->recv_multi_record
since with ktls we dont really have control and it might or might not do multi-records. Prob deserves a comment on the APIThe text was updated successfully, but these errors were encountered: