Symbol: chacha_ctx
crypto/libressl/crypto/chacha/chacha-merged.c
114
chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
crypto/libressl/crypto/chacha/chacha-merged.c
123
chacha_encrypt_bytes(chacha_ctx *x, const u8 *m, u8 *c, u32 bytes)
crypto/libressl/crypto/chacha/chacha-merged.c
29
static inline void chacha_keysetup(struct chacha_ctx *x, const u8 *k, u32 kbits)
crypto/libressl/crypto/chacha/chacha-merged.c
31
static inline void chacha_ivsetup(struct chacha_ctx *x, const u8 *iv,
crypto/libressl/crypto/chacha/chacha-merged.c
35
static inline void chacha_encrypt_bytes(struct chacha_ctx *x, const u8 *m,
crypto/libressl/crypto/chacha/chacha-merged.c
40
typedef struct chacha_ctx chacha_ctx;
crypto/libressl/crypto/chacha/chacha-merged.c
89
chacha_keysetup(chacha_ctx *x, const u8 *k, u32 kbits)
crypto/libressl/crypto/chacha/chacha.c
27
chacha_keysetup((chacha_ctx *)ctx, key, keybits);
crypto/libressl/crypto/chacha/chacha.c
35
chacha_ivsetup((chacha_ctx *)ctx, iv, counter);
crypto/libressl/crypto/chacha/chacha.c
60
chacha_encrypt_bytes((chacha_ctx *)ctx, in, out, (uint32_t)n);
crypto/libressl/crypto/chacha/chacha.c
72
struct chacha_ctx ctx;
crypto/openssh/chacha.c
15
typedef struct chacha_ctx chacha_ctx;
crypto/openssh/chacha.c
55
chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)
crypto/openssh/chacha.c
80
chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
crypto/openssh/chacha.c
89
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
crypto/openssh/chacha.h
25
void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits)
crypto/openssh/chacha.h
27
void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
crypto/openssh/chacha.h
30
void chacha_encrypt_bytes(struct chacha_ctx *x, const u_char *m,
crypto/openssh/cipher-chachapoly.c
36
struct chacha_ctx main_ctx, header_ctx;
lib/libc/gen/arc4random.c
77
chacha_ctx rs_chacha; /* chacha context for random keystream */
sys/crypto/chacha20/chacha.c
101
chacha_ctrsave(const chacha_ctx *x, u8 *counter)
sys/crypto/chacha20/chacha.c
111
chacha_encrypt_bytes(chacha_ctx *x, const u8 *m, u8 *c, u32 bytes)
sys/crypto/chacha20/chacha.c
16
typedef struct chacha_ctx chacha_ctx;
sys/crypto/chacha20/chacha.c
56
chacha_keysetup(chacha_ctx *x, const u8 *k, u32 kbits)
sys/crypto/chacha20/chacha.c
81
chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
sys/crypto/chacha20/chacha.h
33
LOCAL void chacha_keysetup(struct chacha_ctx *x, const uint8_t *k,
sys/crypto/chacha20/chacha.h
43
LOCAL void chacha_ivsetup(struct chacha_ctx *x, const uint8_t *iv,
sys/crypto/chacha20/chacha.h
57
LOCAL void chacha_encrypt_bytes(struct chacha_ctx *x, const uint8_t *m,
sys/crypto/chacha20/chacha.h
65
LOCAL void chacha_ctrsave(const struct chacha_ctx *x, uint8_t *counter)
sys/crypto/chachapoly.c
29
struct chacha_ctx chacha;
sys/sys/csprng.h
28
struct chacha_ctx cipher_ctx; /* (Stream) cipher context */