Searched refs:chacha_ctx (Results 1 – 6 of 6) sorted by relevance
/external/openssh/ |
D | chacha.h | 15 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,
|
D | chacha.c | 16 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()
|
D | cipher-chachapoly.c | 37 struct chacha_ctx main_ctx, header_ctx;
|
/external/libwebsockets/plugins/ssh-base/crypto/ |
D | chacha.c | 13 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/ |
D | chacha_private.h | 15 } 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()
|
D | arc4random.c | 68 static chacha_ctx rs; /* chacha context for random keystream */
|