Searched refs:chacha_ctx (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.1-release/crypto/openssh/
H A Dchacha.h14 struct chacha_ctx { struct
24 void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits)
26 void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
29 void chacha_encrypt_bytes(struct chacha_ctx *x, const u_char *m,
H A Dcipher-chachapoly.h28 struct chacha_ctx main_ctx, header_ctx;
H A Dchacha.c16 typedef struct chacha_ctx chacha_ctx; typedef in typeref:struct:chacha_ctx
56 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)
81 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
90 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
/freebsd-10.1-release/crypto/openssh/openbsd-compat/
H A Dchacha_private.h15 } chacha_ctx; typedef in typeref:struct:__anon5143
55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ivbits)
80 chacha_ivsetup(chacha_ctx *x,const u8 *iv)
89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
H A Darc4random.c60 static chacha_ctx rs; /* chacha context for random keystream */

Completed in 56 milliseconds