Clifford Jansen created PROTON-2586:
---------------------------------------

             Summary: TLS OpenSSL library: incomplete decryption/encryption of 
staged buffers
                 Key: PROTON-2586
                 URL: https://issues.apache.org/jira/browse/PROTON-2586
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: proton-c-0.37.0
            Reporter: Clifford Jansen
            Assignee: Clifford Jansen


OpenSSL processes TLS records one at time.  It does its conversion work in 
buffers just larger than a maximum sized TLS record (16K).  When processing 
large sized input and output buffers in a single pn_tls_process() call, the 
Proton TLS library has to loop inserting unprocessed data into the small 
OpenSSL buffer and extract the encrypted/decrypted data into the output buffer 
and free space for the next iteration.  The code currently can exit the loop 
prematurely.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to