HomePhabricator

Refactor ssh_packet_hmac_verify to allow for direct buffer

Authored by Dirkjan Bussink <d.bussink@gmail.com> on Feb 8 2019, 8:37 PM.

Description

Refactor ssh_packet_hmac_verify to allow for direct buffer

This will make it easier to do Encrypt-then-MAC checks as those will be
on the direct encrypted data received before decrypting which means they
are not allocated in an ssh buffer at that point yet.

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
Reviewed-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>

Details

Committed
asnFeb 22 2019, 3:30 PM
Parents
rLIBSSHf055319efe68: Select ciphers for MAC tests that need a MAC
Branches
Unknown
Tags
Unknown

Event Timeline