Functions | Variables
session_id.c File Reference
#include "syshead.h"
#include "error.h"
#include "common.h"
#include "crypto.h"
#include "session_id.h"
#include "memdbg.h"
Include dependency graph for session_id.c:

Go to the source code of this file.


void session_id_random (struct session_id *sid)
const char * session_id_print (const struct session_id *sid, struct gc_arena *gc)


const struct session_id x_session_id_zero

Function Documentation

◆ session_id_print()

const char* session_id_print ( const struct session_id sid,
struct gc_arena gc 

◆ session_id_random()

void session_id_random ( struct session_id sid)

Definition at line 49 of file session_id.c.

References session_id::id, prng_bytes(), and SID_SIZE.

Referenced by tls_session_init().

Variable Documentation

◆ x_session_id_zero

const struct session_id x_session_id_zero

Definition at line 46 of file session_id.c.

Referenced by session_id_defined().