Lines Matching defs:authmsg
941 struct ibuf *authmsg = NULL, *nonce, *prfkey, *buf;
966 if ((authmsg = ibuf_dup(buf)) == NULL)
968 if (ibuf_add_ibuf(authmsg, nonce) != 0)
979 if ((ptr = ibuf_reserve(authmsg, hash_keylength(sa->sa_prf))) == NULL)
991 ibuf_size(authmsg));
992 print_hexbuf(authmsg);
994 return (authmsg);
997 ibuf_free(authmsg);
1003 struct iked_auth *auth, uint8_t *buf, size_t len, struct ibuf *authmsg)
1053 dsa_update(dsa, ibuf_data(authmsg), ibuf_size(authmsg))) {
1076 struct iked_auth *auth, struct ibuf *authmsg)
1124 dsa_update(dsa, ibuf_data(authmsg), ibuf_size(authmsg))) {