Searched refs:umac_ctx (Results 1 - 6 of 6) sorted by relevance

/freebsd-10.0-release/crypto/openssh/
H A Dumac.h55 struct umac_ctx *umac_new(const u_char key[]);
56 /* Dynamically allocate a umac_ctx struct, initialize variables,
61 int umac_reset(struct umac_ctx *ctx);
62 /* Reset a umac_ctx to begin authenicating a new message */
65 int umac_update(struct umac_ctx *ctx, const u_char *input, long len);
68 int umac_final(struct umac_ctx *ctx, u_char tag[], const u_char nonce[8]);
73 int umac_delete(struct umac_ctx *ctx);
77 int umac(struct umac_ctx *ctx, u_char *input,
119 /* matching umac-128 API, we reuse umac_ctx, since it's opaque */
120 struct umac_ctx *umac128_ne
[all...]
H A Dumac128.c3 #undef umac_ctx macro
4 #define umac_ctx umac128_ctx macro
H A Dmac.c127 mac->umac_ctx = NULL;
164 mac->umac_ctx = umac_new(mac->key);
167 mac->umac_ctx = umac128_new(mac->key);
198 umac_update(mac->umac_ctx, data, datalen);
199 umac_final(mac->umac_ctx, u.m, nonce);
203 umac128_update(mac->umac_ctx, data, datalen);
204 umac128_final(mac->umac_ctx, u.m, nonce);
216 if (mac->umac_ctx != NULL)
217 umac_delete(mac->umac_ctx);
219 if (mac->umac_ctx !
[all...]
H A Dkex.h109 struct umac_ctx *umac_ctx; member in struct:Mac
H A Dumac.c1189 struct umac_ctx { struct
1193 } umac_ctx; variable in typeref:struct:umac_ctx
1198 int umac_reset(struct umac_ctx *ctx)
1208 int umac_delete(struct umac_ctx *ctx)
1213 ctx = (struct umac_ctx *)ctx->free_ptr;
1221 struct umac_ctx *umac_new(const u_char key[])
1222 /* Dynamically allocate a umac_ctx struct, initialize variables,
1226 struct umac_ctx *ctx, *octx;
1235 ctx = (struct umac_ctx *)((u_char *)ctx + bytes_to_add);
1248 int umac_final(struct umac_ctx *ct
[all...]
H A Dssh_namespace.h472 #define umac_ctx ssh_umac_ctx macro

Completed in 315 milliseconds