Home | History | Annotate | Download | only in tcpdump

Lines Matching full:decode

126  * decode the form:    SPINUM@IP <tab> ALGONAME:0xsecret
138 char *decode;
146 decode = spikey;
152 decode = line;
193 (*ndo->ndo_warning)(ndo, "print_esp: failed to decode spi# %s\n", foo);
215 (*ndo->ndo_warning)(ndo, "print_esp: can not decode IP# %s\n", spikey);
220 if (decode) {
229 while (isspace((unsigned char)*decode))
230 decode++;
232 colon = strchr(decode, ':');
234 (*ndo->ndo_warning)(ndo, "failed to decode espsecret: %s\n", decode);
239 len = colon - decode;
240 if (strlen(decode) > strlen("-hmac96") &&
241 !strcmp(decode + strlen(decode) - strlen("-hmac96"),
243 p = strstr(decode, "-hmac96");
247 if (strlen(decode) > strlen("-cbc") &&
248 !strcmp(decode + strlen(decode) - strlen("-cbc"), "-cbc")) {
249 p = strstr(decode, "-cbc");
252 evp = EVP_get_cipherbyname(decode);
254 (*ndo->ndo_warning)(ndo, "failed to find cipher algo %s\n", decode);
267 /* decode some hex! */
418 /* see if we can find the SA, and if so, decode it */
436 /* see if we can find the SA, and if so, decode it */