TLS: Avoid unnecessary copying of encrypted data at record layer
authorJouni Malinen <j@w1.fi>
Sun, 25 Sep 2011 13:52:46 +0000 (16:52 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 25 Sep 2011 13:52:46 +0000 (16:52 +0300)
commit26296a8a7c76ef9ec20159f3b9a2e8e708431757
treea007f8c114a4a5f142d01f6480f8370270311213
parent61f1ed911d159bec6b6c58ac2e992b871dfc9155
TLS: Avoid unnecessary copying of encrypted data at record layer

When the received data will be decrypted, there is no need to first
copy it and then handle decryption in-place when decryption step can
take care of both operations.
src/tls/tlsv1_record.c