1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00
putty-source/utils/nullcipher.c
Simon Tatham 840043f06e Add 'next_message' methods to cipher and MAC vtables.
This provides a convenient hook to be called between SSH messages, for
the crypto components to do any per-message processing like
incrementing a sequence number.
2022-08-16 18:27:06 +01:00

12 lines
228 B
C

/*
* Implementation of shared trivial routines that ssh_cipher
* implementations might use.
*/
#include "ssh.h"
void nullcipher_next_message(ssh_cipher *cipher)
{
/* Most ciphers don't do anything at all with this */
}