Lines Matching refs:uhash_ctx_t
785 typedef struct uhash_ctx *uhash_ctx_t; typedef
833 static void poly_hash(uhash_ctx_t hc, UINT32 data_in[]) in poly_hash()
889 static void ip_short(uhash_ctx_t ahc, UINT8 *nh_res, u_char *res) in ip_short()
914 static void ip_long(uhash_ctx_t ahc, u_char *res) in ip_long()
935 static int uhash_reset(uhash_ctx_t pc) in uhash_reset()
959 static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key) in uhash_init()
1005 static uhash_ctx_t uhash_alloc(u_char key[])
1008 uhash_ctx_t ctx;
1012 ctx = (uhash_ctx_t)malloc(sizeof(uhash_ctx)+ALLOC_BOUNDARY);
1017 ctx = (uhash_ctx_t)((u_char *)ctx + bytes_to_add);
1030 static int uhash_free(uhash_ctx_t ctx)
1038 ctx = (uhash_ctx_t)((u_char *)ctx - bytes_to_sub);
1047 static int uhash_update(uhash_ctx_t ctx, const u_char *input, long len) in uhash_update()
1103 static int uhash_final(uhash_ctx_t ctx, u_char *res) in uhash_final()
1126 static int uhash(uhash_ctx_t ahc, u_char *msg, long len, u_char *res)