mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
The shared secret is derived as bignum, and draft-ietf-sshm-mlkem-hybrid-kex mandates that it is converted to a fixed-size byte array. Not doing this would lead to incompatibilities with other implementations when the derived shared secret happens to start with zero bytes. Signed-off-by: Pavol Žáčik <pzacik@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>