Home
last modified time | relevance | path

Searched refs:authmsg (Results 1 – 4 of 4) sorted by relevance

/openbsd/sbin/iked/
H A Dikev2_msg.c939 struct ibuf *authmsg = NULL, *nonce, *prfkey, *buf; in ikev2_msg_auth() local
964 if ((authmsg = ibuf_dup(buf)) == NULL) in ikev2_msg_auth()
966 if (ibuf_add_buf(authmsg, nonce) != 0) in ikev2_msg_auth()
977 if ((ptr = ibuf_reserve(authmsg, hash_keylength(sa->sa_prf))) == NULL) in ikev2_msg_auth()
989 ibuf_size(authmsg)); in ikev2_msg_auth()
990 print_hexbuf(authmsg); in ikev2_msg_auth()
992 return (authmsg); in ikev2_msg_auth()
995 ibuf_free(authmsg); in ikev2_msg_auth()
1051 dsa_update(dsa, ibuf_data(authmsg), ibuf_size(authmsg))) { in ikev2_msg_authverify()
1074 struct iked_auth *auth, struct ibuf *authmsg) in ikev2_msg_authsign() argument
[all …]
H A Dca.c554 struct ibuf *authmsg, enum privsep_procid id) in ca_setauth() argument
579 &policy->pol_auth, authmsg)); in ca_setauth()
589 iov[2].iov_base = ibuf_data(authmsg); in ca_setauth()
590 iov[2].iov_len = ibuf_size(authmsg); in ca_setauth()
591 log_debug("%s: auth length %zu", __func__, ibuf_size(authmsg)); in ca_setauth()
917 struct ibuf *authmsg; in ca_getauth() local
933 if ((authmsg = ibuf_new(ptr, len)) == NULL) in ca_getauth()
951 if (ikev2_msg_authsign(env, &sa, &policy.pol_auth, authmsg) != 0) { in ca_getauth()
960 ibuf_free(authmsg); in ca_getauth()
H A Dikev2.c859 struct ibuf *authmsg; in ikev2_auth_verify() local
894 if ((authmsg = ikev2_msg_auth(env, sa, in ikev2_auth_verify()
906 authmsg); in ikev2_auth_verify()
907 ibuf_free(authmsg); in ikev2_auth_verify()
926 ibuf_free(authmsg); in ikev2_auth_verify()
948 struct ibuf *authmsg, *buf; in ikev2_ike_auth_recv() local
1052 ibuf_free(authmsg); in ikev2_ike_auth_recv()
1558 struct ibuf *authmsg; in ikev2_init_auth() local
1568 if ((authmsg = ikev2_msg_auth(env, sa, in ikev2_init_auth()
1576 ibuf_free(authmsg); in ikev2_init_auth()
[all …]
/openbsd/usr.bin/ssh/
H A Dauth.c246 const char *authmsg; in auth_log() local
260 authmsg = "Postponed"; in auth_log()
262 authmsg = "Partial"; in auth_log()
264 authmsg = authenticated ? "Accepted" : "Failed"; in auth_log()
272 authmsg, in auth_log()