crypt
char *crypt(const char *, const char *);
DEF_WEAK(crypt);
PROTO_NORMAL(crypt);
str=crypt("testing","ef");
str=crypt("bca76;23","yA");
int crypt = (flags & PMAP_NOCRYPT) == 0;
if (crypt)
encpw = crypt(passwd, stored_passwd + 7);
ntohl(ospf_hdr->auth_key.crypt.seq_num);
struct crypt crypt;
bzero(&crypt, sizeof(crypt));
crypt.keyid = iface->auth_keyid;
crypt.seq_num = htonl(iface->crypt_seq_num);
crypt.len = MD5_DIGEST_LENGTH;
&crypt, sizeof(crypt)) == -1)
ospf_hdr->auth_key.crypt.keyid)) == NULL) {
"interface %s", ospf_hdr->auth_key.crypt.keyid,
if (nbr != NULL && ntohl(ospf_hdr->auth_key.crypt.seq_num) <
if (ospf_hdr->auth_key.crypt.len != MD5_DIGEST_LENGTH) {
struct crypt crypt;
extern char *crypt(const char *, const char *);
&& strcmp(crypt(passwd, secret), secret) != 0)) {