chacha_ctx
typedef struct chacha_ctx chacha_ctx;
chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)
chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits)
void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
void chacha_encrypt_bytes(struct chacha_ctx *x, const u_char *m,
struct chacha_ctx main_ctx, header_ctx;
chacha_ctx rs_chacha; /* chacha context for random keystream */
chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)
chacha_ivsetup(chacha_ctx *x,const u8 *iv)
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
chacha_ctx rs_chacha; /* chacha context for random keystream */
.ctxsize = sizeof(struct chacha_ctx),
chacha_ctrsave(const chacha_ctx *x, u8 *counter)
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
typedef struct chacha_ctx chacha_ctx;
chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)
chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
LOCAL void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits);
LOCAL void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv CHACHA_UNUSED,
LOCAL void chacha_encrypt_bytes(struct chacha_ctx *x, const u_char *m,
struct chacha_ctx ctx_copy, *p_ctx;
fxrng_rng_keystream_internal(struct chacha_ctx *prf, void *buf, size_t nbytes)
fxrng_chacha_nonce_add64(struct chacha_ctx *ctx, uint64_t addend)
struct chacha_ctx rng_prf;
struct chacha_ctx chacha;
struct chacha_ctx u_chacha;
struct chacha_ctx ctx;