Lines Matching defs:data

314  * Debug routine, useful to see pre-encryption data.
803 * Strip ESP data and fix IP header.
1131 * Handle ESP inbound data for IPv4 and IPv6.
1687 * after the crypto data. Adjust b_wptr before
2042 #define ESP_INIT_CRYPTO_DATA(data, mp, off, len) { \
2044 (data)->cd_format = CRYPTO_DATA_RAW; \
2045 (data)->cd_raw.iov_base = (char *)(mp)->b_rptr; \
2046 (data)->cd_raw.iov_len = MBLKL(mp); \
2047 (data)->cd_offset = off; \
2049 (data)->cd_format = CRYPTO_DATA_MBLK; \
2050 (data)->cd_mp = mp; \
2051 (data)->cd_offset = off; \
2053 (data)->cd_length = len; \
2056 #define ESP_INIT_CRYPTO_DUAL_DATA(data, mp, off1, len1, off2, len2) { \
2057 (data)->dd_format = CRYPTO_DATA_MBLK; \
2058 (data)->dd_mp = mp; \
2059 (data)->dd_len1 = len1; \
2060 (data)->dd_offset1 = off1; \
2061 (data)->dd_len2 = len2; \
2062 (data)->dd_offset2 = off2; \
2102 * [IP,options,ESP,IV,data,ICV,pad]
2160 /* initialize input data argument */
2183 /* initialize input data argument */
2197 /* initialize input data argument */
2431 * [IP,options] -> [ESP,IV] -> [data] -> [pad,ICV]
2433 * [IP,options] -> [udp][ESP,IV] -> [data] -> [pad,ICV]
2490 /* initialize input data argument */
2512 /* initialize input data argument */
2521 * to point to the same buffer as the data. The calling
2634 * own copy lest we clobber TCP's data. Since we have to copy anyway,
2751 * Pad the data to the length of the cipher block size.
2772 * Use the amount of data fed into the "encryption algorithm". This
2773 * is the IV, the data length, the padding length, and the final two