version 1.3, 2014/05/02 03:27:54 |
version 1.4, 2014/06/24 01:13:21 |
|
|
struct chacha_ctx main_ctx, header_ctx; |
struct chacha_ctx main_ctx, header_ctx; |
}; |
}; |
|
|
void chachapoly_init(struct chachapoly_ctx *cpctx, |
int chachapoly_init(struct chachapoly_ctx *cpctx, |
const u_char *key, u_int keylen) |
const u_char *key, u_int keylen) |
__attribute__((__bounded__(__buffer__, 2, 3))); |
__attribute__((__bounded__(__buffer__, 2, 3))); |
int chachapoly_crypt(struct chachapoly_ctx *cpctx, u_int seqnr, |
int chachapoly_crypt(struct chachapoly_ctx *cpctx, u_int seqnr, |