libwebsockets
Lightweight C library for HTML5 websockets
lws-sha1-base64.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lws_b64state
 

Functions

LWS_VISIBLE LWS_EXTERN unsigned char * lws_SHA1 (const unsigned char *d, size_t n, unsigned char *md)
 
LWS_VISIBLE LWS_EXTERN int lws_b64_encode_string (const char *in, int in_len, char *out, int out_size)
 
LWS_VISIBLE LWS_EXTERN int lws_b64_encode_string_url (const char *in, int in_len, char *out, int out_size)
 
LWS_VISIBLE LWS_EXTERN int lws_b64_decode_string (const char *in, char *out, int out_size)
 
LWS_VISIBLE LWS_EXTERN int lws_b64_decode_string_len (const char *in, int in_len, char *out, int out_size)
 
LWS_VISIBLE LWS_EXTERN void lws_b64_decode_state_init (struct lws_b64state *state)
 
LWS_VISIBLE LWS_EXTERN int lws_b64_decode_stateful (struct lws_b64state *s, const char *in, size_t *in_len, uint8_t *out, size_t *out_size, int final)