/external/openssh/ |
D | cipher.c | 350 const u_char *src, u_int len, u_int aadlen, u_int authlen) in cipher_crypt() argument 354 len, aadlen, authlen, cc->encrypt); in cipher_crypt() 370 if (authlen) { in cipher_crypt() 373 if (authlen != cipher_authlen(cc->cipher)) in cipher_crypt() 382 authlen, (u_char *)src + aadlen + len)) in cipher_crypt() 386 if (authlen && in cipher_crypt() 396 if (authlen) { in cipher_crypt() 403 authlen, dest + aadlen + len)) in cipher_crypt()
|
D | sshkey-xmss.c | 896 size_t i, keylen, ivlen, blocksize, authlen, encrypted_len, aadlen; in sshkey_xmss_encrypt_state() local 912 authlen = cipher_authlen(cipher); in sshkey_xmss_encrypt_state() 956 encrypted_len + aadlen + authlen, &cp)) != 0 || in sshkey_xmss_encrypt_state() 960 encrypted_len, aadlen, authlen)) != 0) in sshkey_xmss_encrypt_state() 987 size_t keylen, ivlen, authlen, aadlen; in sshkey_xmss_decrypt_state() local 1004 authlen = cipher_authlen(cipher); in sshkey_xmss_decrypt_state() 1036 if (sshbuf_len(encoded) < authlen || in sshkey_xmss_decrypt_state() 1037 sshbuf_len(encoded) - authlen < encrypted_len) { in sshkey_xmss_decrypt_state() 1053 encrypted_len, aadlen, authlen)) != 0) in sshkey_xmss_decrypt_state() 1057 if ((r = sshbuf_consume(encoded, encrypted_len + authlen)) != 0) in sshkey_xmss_decrypt_state()
|
D | cipher-chachapoly.h | 34 u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen,
|
D | packet.c | 1073 u_int authlen = 0, aadlen = 0; in ssh_packet_send2_wrapped() local 1085 if ((authlen = cipher_authlen(enc->cipher)) != 0) in ssh_packet_send2_wrapped() 1089 aadlen = (mac && mac->enabled && mac->etm) || authlen ? 4 : 0; in ssh_packet_send2_wrapped() 1182 sshbuf_len(state->outgoing_packet) + authlen, &cp)) != 0) in ssh_packet_send2_wrapped() 1186 len - aadlen, aadlen, authlen)) != 0) in ssh_packet_send2_wrapped() 1490 u_int maclen, aadlen = 0, authlen = 0, block_size; in ssh_packet_read_poll2() local 1509 if ((authlen = cipher_authlen(enc->cipher)) != 0) in ssh_packet_read_poll2() 1514 aadlen = (mac && mac->enabled && mac->etm) || authlen ? 4 : 0; in ssh_packet_read_poll2() 1576 " aadlen %d", block_size, need, maclen, authlen, aadlen)); in ssh_packet_read_poll2() 1591 if (sshbuf_len(state->input) < aadlen + need + authlen + maclen) in ssh_packet_read_poll2() [all …]
|
D | cipher-chachapoly.c | 71 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
|
D | cipher-chachapoly-libcrypto.c | 87 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
|
D | kex.c | 889 u_int mode, ctos, need, dh_need, authlen; in kex_choose_conf() local 946 authlen = cipher_authlen(newkeys->enc.cipher); in kex_choose_conf() 948 if (authlen == 0 && in kex_choose_conf() 964 authlen == 0 ? newkeys->mac.name : "<implicit>", in kex_choose_conf()
|
D | sshkey.c | 3834 size_t i, pubkeylen, keylen, ivlen, blocksize, authlen; in sshkey_private_to_blob2() local 3863 authlen = cipher_authlen(cipher); in sshkey_private_to_blob2() 3923 sshbuf_len(encrypted) + authlen, &cp)) != 0) in sshkey_private_to_blob2() 3926 sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0) in sshkey_private_to_blob2() 4037 size_t keylen = 0, ivlen = 0, authlen = 0, slen = 0; in private2_decrypt() local 4102 authlen = cipher_authlen(cipher); in private2_decrypt() 4119 if (sshbuf_len(decoded) < authlen || in private2_decrypt() 4120 sshbuf_len(decoded) - authlen < encrypted_len) { in private2_decrypt() 4131 encrypted_len, 0, authlen)) != 0) { in private2_decrypt() 4137 if ((r = sshbuf_consume(decoded, encrypted_len + authlen)) != 0) in private2_decrypt()
|
/external/tcpdump/ |
D | print-esp.c | 115 int authlen; member 216 end = end - sa->authlen; in esp_print_decrypt_buffer_by_ikev2() 341 int authlen = 0; in espprint_decode_encalgo() local 356 authlen = 12; in espprint_decode_encalgo() 368 sa->authlen = 0; in espprint_decode_encalgo() 374 sa->authlen = authlen; in espprint_decode_encalgo() 419 sa->authlen = 12; in espprint_decode_authalgo() 767 ep = ep - sa->authlen; in esp_print()
|
D | print-zephyr.c | 44 int authlen; member 186 PARSE_FIELD_INT(z.authlen); in zephyr_print()
|
/external/libcups/scheduler/ |
D | auth.c | 318 int authlen; /* Auth string length */ in cupsdAuthorize() local 329 authlen = sizeof(authdata); in cupsdAuthorize() 330 httpDecode64_2(authdata, &authlen, authorization); in cupsdAuthorize() 332 if (authlen != kAuthorizationExternalFormLength) in cupsdAuthorize()
|
/external/libwebsockets/plugins/ssh-base/crypto/ |
D | chacha.c | 303 const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) in chachapoly_crypt() argument
|