HomeSort by: relevance | last modified time | path
    Searched refs:umac_ctx (Results 1 - 5 of 5) sorted by relevancy

  /src/crypto/external/bsd/openssh/dist/
umac.h 56 struct umac_ctx *umac_new(const u_char key[]);
57 /* Dynamically allocate a umac_ctx struct, initialize variables,
62 int umac_reset(struct umac_ctx *ctx);
63 /* Reset a umac_ctx to begin authenticating a new message */
66 int umac_update(struct umac_ctx *ctx, const u_char *input, long len);
69 int umac_final(struct umac_ctx *ctx, u_char tag[], const u_char nonce[8]);
74 int umac_delete(struct umac_ctx *ctx);
78 int umac(struct umac_ctx *ctx, u_char *input,
120 /* matching umac-128 API, we reuse umac_ctx, since it's opaque */
121 struct umac_ctx *umac128_new(const u_char key[])
    [all...]
umac128.c 9 #define umac_ctx umac128_ctx macro
mac.h 41 struct umac_ctx *umac_ctx; member in struct:sshmac
mac.c 107 mac->umac_ctx = NULL;
142 if ((mac->umac_ctx = umac_new(mac->key)) == NULL)
146 if ((mac->umac_ctx = umac128_new(mac->key)) == NULL)
181 umac_update(mac->umac_ctx, data, datalen);
182 umac_final(mac->umac_ctx, u.m, nonce);
186 umac128_update(mac->umac_ctx, data, datalen);
187 umac128_final(mac->umac_ctx, u.m, nonce);
222 if (mac->umac_ctx != NULL)
223 umac_delete(mac->umac_ctx);
225 if (mac->umac_ctx != NULL
    [all...]
umac.c 1204 struct umac_ctx { struct
1208 } umac_ctx; variable in typeref:struct:umac_ctx
1213 int umac_reset(struct umac_ctx *ctx)
1223 int umac_delete(struct umac_ctx *ctx)
1228 ctx = (struct umac_ctx *)ctx->free_ptr;
1236 struct umac_ctx *umac_new(const u_char key[])
1237 /* Dynamically allocate a umac_ctx struct, initialize variables,
1241 struct umac_ctx *ctx, *octx;
1250 ctx = (struct umac_ctx *)((u_char *)ctx + bytes_to_add);
1264 int umac_final(struct umac_ctx *ctx, u_char tag[], const u_char nonce[8]
    [all...]

Completed in 29 milliseconds