Home
last modified time | relevance | path

Searched refs:chacha_ctx (Results 1 – 6 of 6) sorted by relevance

/external/openssh/
Dchacha.h15 struct chacha_ctx { struct
25 void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits) argument
27 void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
30 void chacha_encrypt_bytes(struct chacha_ctx *x, const u_char *m,
Dchacha.c16 typedef struct chacha_ctx chacha_ctx; typedef
56 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup()
81 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) in chacha_ivsetup()
90 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes()
Dcipher-chachapoly.c37 struct chacha_ctx main_ctx, header_ctx;
/external/libwebsockets/plugins/ssh-base/crypto/
Dchacha.c13 struct chacha_ctx { struct
26 typedef struct chacha_ctx chacha_ctx; typedef
66 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup()
91 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) in chacha_ivsetup()
100 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes()
231 struct chacha_ctx ccctx[2];
/external/openssh/openbsd-compat/
Dchacha_private.h15 } chacha_ctx; typedef
55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ivbits) in chacha_keysetup()
80 chacha_ivsetup(chacha_ctx *x,const u8 *iv) in chacha_ivsetup()
89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes()
Darc4random.c68 static chacha_ctx rs; /* chacha context for random keystream */