Searched refs:aadlen (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.0-release/crypto/openssh/ |
H A D | cipher.c | 330 * Copy 'aadlen' bytes (without en/decryption) from 'src' to 'dest'. 333 * En/Decrypt 'len' bytes at offset 'aadlen' from 'src' to 'dest'. 334 * Use 'authlen' bytes at offset 'len'+'aadlen' as the authentication tag. 336 * Both 'aadlen' and 'authlen' can be set to 0. 340 u_int len, u_int aadlen, u_int authlen) 354 authlen, (u_char *)src + aadlen + len)) 357 if (aadlen) { 359 EVP_Cipher(&cc->evp, NULL, (u_char *)src, aadlen) < 0) 361 memcpy(dest, src, aadlen); 365 if (EVP_Cipher(&cc->evp, dest + aadlen, (u_cha 339 cipher_crypt(CipherContext *cc, u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen) argument [all...] |
H A D | packet.c | 858 u_int i, len, authlen = 0, aadlen = 0; local 874 aadlen = (mac && mac->enabled && mac->etm) || authlen ? 4 : 0; 907 len -= aadlen; /* packet length is not encrypted for EtM modes */ 941 DBG(debug("send: len %d (includes padlen %d, aadlen %d)", 942 len, padlen, aadlen)); 954 len - aadlen, aadlen, authlen); 958 /* EtM: compute mac over aadlen + cipher text */ 1264 u_int maclen, authlen = 0, aadlen = 0, block_size; local 1282 aadlen [all...] |
Completed in 100 milliseconds