5 #define CHAR(x) *p++ = f->x
6 #define SHORT(x) p[0] = f->x; p[1] = f->x>>8; p += 2
7 #define VLONG(q) p[0] = (q); p[1] = (q)>>8; p[2] = (q)>>16; p[3] = (q)>>24; p += 4
8 #define LONG(x) VLONG(f->x)
9 #define STRING(x,n) memmove(p, f->x, n); p += n
12 convA2M(Authenticator *f, char *ap, char *key)
19 STRING(chal, CHALLEN);