H A D | cipher.c | 191 cipher_ctx_is_plaintext(struct sshcipher_ctx *cc) in cipher_ctx_is_plaintext() argument 193 return cc->plaintext; in cipher_ctx_is_plaintext() 231 cipher_warning_message(const struct sshcipher_ctx *cc) in cipher_warning_message() argument 233 if (cc == NULL || cc->cipher == NULL) in cipher_warning_message() 244 struct sshcipher_ctx *cc = NULL; in cipher_init() local 252 if ((cc = calloc(1, sizeof(*cc))) == NULL) in cipher_init() 255 cc->plaintext = (cipher->flags & CFLAG_NONE) != 0; in cipher_init() 256 cc in cipher_init() 339 cipher_crypt(struct sshcipher_ctx * cc,u_int seqnr,u_char * dest,const u_char * src,u_int len,u_int aadlen,u_int authlen) cipher_crypt() argument 402 cipher_get_length(struct sshcipher_ctx * cc,u_int * plenp,u_int seqnr,const u_char * cp,u_int len) cipher_get_length() argument 415 cipher_free(struct sshcipher_ctx * cc) cipher_free() argument 432 cipher_get_keyiv(struct sshcipher_ctx * cc,u_char * iv,size_t len) cipher_get_keyiv() argument 471 cipher_set_keyiv(struct sshcipher_ctx * cc,const u_char * iv,size_t len) cipher_set_keyiv() argument [all...] |