search for: rpa_timestamp_len

Displaying 1 result from an estimated 1 matches for "rpa_timestamp_len".

2004 Aug 09
1
[PATCH] RPA authentication mechanism
...+ unsigned char *service_challenge; + unsigned char *service_timestamp; + + /* received: */ + unsigned int user_challenge_len; + unsigned char *user_challenge; + unsigned char *user_response; + unsigned char *session_key; +}; + +#define RPA_SCHALLENGE_LEN 32 +#define RPA_UCHALLENGE_LEN 16 +#define RPA_TIMESTAMP_LEN 14 + +#define ASN1_APPLICATION 0x60 + +/* Object id encoded using ASN.1 DER */ +static const unsigned char rpa_oid[] = { + 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x73, 0x01, 0x01, +}; + +void * ucs2be_str(pool_t pool, const char *str, size_t *size); + +/* + * Compute client -> server au...