alg_oakley_hashdef_one
extern vchar_t *alg_oakley_hashdef_one(int, vchar_t *);
res = alg_oakley_hashdef_one(type, buf);