Lines Matching refs:buf2
188 char *privkeyfile, *buf2; in ike_auth_get_key() local
238 buf2 = kn_get_string(buf); in ike_auth_get_key()
241 if (!buf2 || kn_decode_key(&dc, buf2, in ike_auth_get_key()
243 if (buf2) in ike_auth_get_key()
244 free(buf2); in ike_auth_get_key()
250 free(buf2); in ike_auth_get_key()
826 u_int8_t *buf, *data, *buf2, *id; in rsa_sig_encode_hash() local
944 util_ntoa((char **)&buf2, in rsa_sig_encode_hash()
948 if (!buf2) in rsa_sig_encode_hash()
954 buf2 = calloc(id_len - ISAKMP_ID_DATA_OFF + in rsa_sig_encode_hash()
956 if (!buf2) { in rsa_sig_encode_hash()
962 memcpy(buf2, id + ISAKMP_ID_DATA_OFF - ISAKMP_GEN_SZ, in rsa_sig_encode_hash()
968 buf2 = 0; in rsa_sig_encode_hash()
973 (char *)buf2, 0); in rsa_sig_encode_hash()
974 free(buf2); in rsa_sig_encode_hash()