Lines Matching defs:authlen
1059 u_int authlen = 0, aadlen = 0;
1071 if ((authlen = cipher_authlen(enc->cipher)) != 0)
1075 aadlen = (mac && mac->enabled && mac->etm) || authlen ? 4 : 0;
1157 sshbuf_len(state->outgoing_packet) + authlen, &cp)) != 0)
1161 len - aadlen, aadlen, authlen)) != 0)
1540 u_int maclen, aadlen = 0, authlen = 0, block_size;
1556 if ((authlen = cipher_authlen(enc->cipher)) != 0)
1561 aadlen = (mac && mac->enabled && mac->etm) || authlen ? 4 : 0;
1621 DBG(debug("partial packet: block %d, need %d, maclen %d, authlen %d,"
1622 " aadlen %d", block_size, need, maclen, authlen, aadlen));
1634 * 'authlen' bytes of authentication tag or
1637 if (sshbuf_len(state->input) < aadlen + need + authlen + maclen)
1654 sshbuf_ptr(state->input), need, aadlen, authlen)) != 0)
1656 if ((r = sshbuf_consume(state->input, aadlen + need + authlen)) != 0)