struct ssh_cipher_struct

#include <include/libssh/crypto.h>

struct ssh_cipher_struct {
    // fields

    unsigned int blocksize;
    void(* decrypt)(struct ssh_cipher_struct *cipher, void *in, void *out, unsigned long len);
    void(* encrypt)(struct ssh_cipher_struct *cipher, void *in, void *out, unsigned long len);
    unsigned int keylen;
    unsigned int keysize;
    const char* name;
    int(* set_decrypt_key)(struct ssh_cipher_struct *cipher, void *key, void *IV);
    int(* set_encrypt_key)(struct ssh_cipher_struct *cipher, void *key, void *IV);
};