Home
last modified time | relevance | path

Searched refs:chacha_ctx (Results 1 – 5 of 5) 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.h28 struct chacha_ctx main_ctx, header_ctx;
/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.c64 static chacha_ctx rs; /* chacha context for random keystream */