Searched defs:authlen (Results 1 - 7 of 7) sorted by relevance
/external/openssh/ |
H A D | cipher-chachapoly.c | 52 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) 51 chachapoly_crypt(struct chachapoly_ctx *ctx, u_int seqnr, u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) argument
|
H A D | cipher.c | 386 * Use 'authlen' bytes at offset 'len'+'aadlen' as the authentication tag. 388 * Both 'aadlen' and 'authlen' can be set to 0. 392 const u_char *src, u_int len, u_int aadlen, u_int authlen) 396 len, aadlen, authlen, cc->encrypt); 412 if (authlen) { 415 if (authlen != cipher_authlen(cc->cipher)) 424 authlen, (u_char *)src + aadlen + len)) 428 if (authlen && 438 if (authlen) { 445 authlen, des 391 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) argument [all...] |
H A D | kex.c | 589 u_int mode, ctos, need, dh_need, authlen; local 630 authlen = cipher_authlen(newkeys->enc.cipher); 632 if (authlen == 0 && 642 authlen == 0 ? newkeys->mac.name : "<implicit>",
|
H A D | packet.c | 1059 u_int authlen = 0, aadlen = 0; local 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; local 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, aadle [all...] |
H A D | sshkey.c | 3050 size_t i, pubkeylen, keylen, ivlen, blocksize, authlen; local 3085 authlen = cipher_authlen(cipher); 3144 sshbuf_len(encrypted) + authlen, &cp)) != 0) 3147 sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0)
|
/external/tcpdump/ |
H A D | print-zephyr.c | 47 int authlen; member in struct:z_packet 174 PARSE_FIELD_INT(z.authlen);
|
H A D | print-esp.c | 86 int authlen; member in struct:sa_list 126 end = end - sa->authlen; 230 int authlen = 0; local 245 authlen = 12; 257 sa->authlen = 0; 263 sa->authlen = authlen; 308 sa->authlen = 12; 665 ep = ep - sa->authlen;
|
Completed in 686 milliseconds