Displaying 1 result from an estimated 1 matches for "token4".
Did you mean:
token
2004 Aug 09
1
[PATCH] RPA authentication mechanism
..., RPA_TIMESTAMP_LEN);
+
+ /* Realm list */
+ buffer_append_c(buf, realms_len >> 8);
+ buffer_append_c(buf, realms_len & 0xff);
+ buffer_append(buf, realms, realms_len);
+
+ *size = buffer_get_used_size(buf);
+ return buffer_free_without_data(buf);
+}
+
+static const char *
+mech_rpa_build_token4(struct rpa_auth_request *auth, size_t *size)
+{
+ unsigned int length = sizeof(rpa_oid) + 17 + 17 + 1;
+ buffer_t *buf = buffer_create_dynamic(auth->pool, length + 4, 4096);
+ unsigned char server_response[16];
+
+ buffer_append_c(buf, ASN1_APPLICATION);
+ buffer_append_asn1_length(buf, length);...