| /dflybsd-src/crypto/openssh/ |
| H A D | cipher.c | 346 const u_char *src, u_int len, u_int aadlen, u_int authlen) in cipher_crypt() argument 350 len, aadlen, authlen, cc->encrypt); in cipher_crypt() 366 if (authlen) { in cipher_crypt() 369 if (authlen != cipher_authlen(cc->cipher)) in cipher_crypt() 378 authlen, (u_char *)src + aadlen + len)) in cipher_crypt() 382 if (authlen && in cipher_crypt() 392 if (authlen) { in cipher_crypt() 399 authlen, dest + aadlen + len)) in cipher_crypt()
|
| H A D | sshkey-xmss.c | 897 size_t i, keylen, ivlen, blocksize, authlen, encrypted_len, aadlen; in sshkey_xmss_encrypt_state() local 913 authlen = cipher_authlen(cipher); in sshkey_xmss_encrypt_state() 957 encrypted_len + aadlen + authlen, &cp)) != 0 || in sshkey_xmss_encrypt_state() 961 encrypted_len, aadlen, authlen)) != 0) in sshkey_xmss_encrypt_state() 988 size_t keylen, ivlen, authlen, aadlen; in sshkey_xmss_decrypt_state() local 1005 authlen = cipher_authlen(cipher); in sshkey_xmss_decrypt_state() 1037 if (sshbuf_len(encoded) < authlen || in sshkey_xmss_decrypt_state() 1038 sshbuf_len(encoded) - authlen < encrypted_len) { in sshkey_xmss_decrypt_state() 1054 encrypted_len, aadlen, authlen)) != 0) in sshkey_xmss_decrypt_state() 1058 if ((r = sshbuf_consume(encoded, encrypted_len + authlen)) != 0) in sshkey_xmss_decrypt_state()
|
| H A D | packet.c | 1169 u_int authlen = 0, aadlen = 0; in ssh_packet_send2_wrapped() local 1181 if ((authlen = cipher_authlen(enc->cipher)) != 0) in ssh_packet_send2_wrapped() 1185 aadlen = (mac && mac->enabled && mac->etm) || authlen ? 4 : 0; in ssh_packet_send2_wrapped() 1278 sshbuf_len(state->outgoing_packet) + authlen, &cp)) != 0) in ssh_packet_send2_wrapped() 1282 len - aadlen, aadlen, authlen)) != 0) in ssh_packet_send2_wrapped() 1564 u_int maclen, aadlen = 0, authlen = 0, block_size; in ssh_packet_read_poll2() local 1583 if ((authlen = cipher_authlen(enc->cipher)) != 0) in ssh_packet_read_poll2() 1588 aadlen = (mac && mac->enabled && mac->etm) || authlen ? 4 : 0; in ssh_packet_read_poll2() 1650 " aadlen %d", block_size, need, maclen, authlen, aadlen)); in ssh_packet_read_poll2() 1665 if (sshbuf_len(state->input) < aadlen + need + authlen + maclen) in ssh_packet_read_poll2() [all …]
|
| H A D | cipher-chachapoly.h | 34 u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen,
|
| H A D | cipher-chachapoly.c | 70 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
|
| H A D | cipher-chachapoly-libcrypto.c | 86 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
|
| H A D | sshkey.c | 2754 size_t i, pubkeylen, keylen, ivlen, blocksize, authlen; in sshkey_private_to_blob2() local 2783 authlen = cipher_authlen(cipher); in sshkey_private_to_blob2() 2843 sshbuf_len(encrypted) + authlen, &cp)) != 0) in sshkey_private_to_blob2() 2846 sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0) in sshkey_private_to_blob2() 2955 size_t keylen = 0, ivlen = 0, authlen = 0, slen = 0; in private2_decrypt() local 3020 authlen = cipher_authlen(cipher); in private2_decrypt() 3037 if (sshbuf_len(decoded) < authlen || in private2_decrypt() 3038 sshbuf_len(decoded) - authlen < encrypted_len) { in private2_decrypt() 3049 encrypted_len, 0, authlen)) != 0) { in private2_decrypt() 3055 if ((r = sshbuf_consume(decoded, encrypted_len + authlen)) != 0) in private2_decrypt()
|
| H A D | kex.c | 935 u_int mode, ctos, need, dh_need, authlen; in kex_choose_conf() local 1013 authlen = cipher_authlen(newkeys->enc.cipher); in kex_choose_conf() 1015 if (authlen == 0 && in kex_choose_conf() 1031 authlen == 0 ? newkeys->mac.name : "<implicit>", in kex_choose_conf()
|
| /dflybsd-src/contrib/tcpdump/ |
| H A D | print-esp.c | 117 int authlen; member 313 end = end - sa->authlen; in esp_decrypt_buffer_by_ikev2_print() 423 int authlen = 0; in espprint_decode_encalgo() local 438 authlen = 12; in espprint_decode_encalgo() 450 sa->authlen = 0; in espprint_decode_encalgo() 456 sa->authlen = authlen; in espprint_decode_encalgo() 502 sa->authlen = 12; in espprint_decode_authalgo() 843 if (ep - ct < sa->authlen) { in esp_print() 847 ep = ep - sa->authlen; in esp_print()
|
| H A D | print-zephyr.c | 47 int authlen; member 196 PARSE_FIELD_INT(z.authlen); in zephyr_print()
|
| /dflybsd-src/stand/lib/ |
| H A D | rpc.c | 64 u_int32_t authlen; /* auth length */ member 152 auth->authlen = 0; in rpc_call() 161 auth->authlen = htonl(sizeof(struct auth_unix)); in rpc_call() 167 auth->authlen = 0; in rpc_call() 210 x = ntohl(auth->authlen); in rpc_call()
|
| /dflybsd-src/sys/vfs/nfs/ |
| H A D | krpc_subr.c | 74 u_int32_t authlen; /* auth length */ member 292 call->rpc_auth.authlen = txdr_unsigned(sizeof(struct auth_unix)); in krpc_call() 295 call->rpc_verf.authlen = 0; in krpc_call() 425 len += fxdr_unsigned(u_int32_t, reply->rp_auth.authlen); in krpc_call()
|