Lines Matching refs:RIP_AUTH_MD5_SIZE
921 u_char pdigest[RIP_AUTH_MD5_SIZE];
922 u_char digest[RIP_AUTH_MD5_SIZE];
938 if (md5->auth_len != RIP_HEADER_SIZE + RIP_AUTH_MD5_SIZE)
965 memcpy (pdigest, md5data->digest, RIP_AUTH_MD5_SIZE);
968 memset (md5data->digest, 0, RIP_AUTH_MD5_SIZE);
969 strncpy (md5data->digest, auth_str, RIP_AUTH_MD5_SIZE);
975 if (memcmp (pdigest, digest, RIP_AUTH_MD5_SIZE) == 0)
989 unsigned char secret[RIP_AUTH_MD5_SIZE];
990 unsigned char digest[RIP_AUTH_MD5_SIZE];
1058 stream_putc (s, RIP_AUTH_MD5_SIZE + RIP_HEADER_SIZE);
1078 memset (secret, 0, RIP_AUTH_MD5_SIZE);
1079 strncpy (secret, auth_str, RIP_AUTH_MD5_SIZE);
1082 md5_process_bytes (secret, RIP_AUTH_MD5_SIZE, &ctx);
1086 stream_write (s, digest, RIP_AUTH_MD5_SIZE);