Efficient, secure hash table.  
More...
#include "hashtable_cr.h"
#include "csiphash.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
 
◆ hashtable_cr_add()
      
        
          | void hashtable_cr_add  | 
          ( | 
          struct hashtable *const  | 
          hashtable,  | 
        
        
           | 
           | 
          const void *const  | 
          key,  | 
        
        
           | 
           | 
          void *const  | 
          elem  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ hashtable_cr_del()
      
        
          | void hashtable_cr_del  | 
          ( | 
          struct hashtable *const  | 
          hashtable,  | 
        
        
           | 
           | 
          const void *const  | 
          key  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ hashtable_cr_free()
      
        
          | void hashtable_cr_free  | 
          ( | 
          struct hashtable *const  | 
          hashtable | ) | 
           | 
        
      
 
 
◆ hashtable_cr_get_first()
      
        
          | void* hashtable_cr_get_first  | 
          ( | 
          const struct hashtable *const  | 
          hashtable,  | 
        
        
           | 
           | 
          const void *const  | 
          key  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ hashtable_cr_get_next()
      
        
          | void* hashtable_cr_get_next  | 
          ( | 
          const struct hashtable *const  | 
          hashtable,  | 
        
        
           | 
           | 
          const void *const  | 
          key,  | 
        
        
           | 
           | 
          void *const  | 
          pos  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ hashtable_cr_new()
      
        
          | bool hashtable_cr_new  | 
          ( | 
          struct hashtable *const  | 
          hashtable,  | 
        
        
           | 
           | 
          const size_t  | 
          key_len,  | 
        
        
           | 
           | 
          const size_t  | 
          full_key_len,  | 
        
        
           | 
           | 
          const size_t  | 
          size  | 
        
        
           | 
          ) | 
           |  |