/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/ |
H A D | chacha20_dolbeau-avx2.c | 32 typedef struct chacha_ctx { struct 34 } chacha_ctx; typedef 37 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup() 54 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ivsetup() 63 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ietf_ivsetup() 72 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c, in chacha20_encrypt_bytes() 93 struct chacha_ctx ctx; in stream_ref() 112 struct chacha_ctx ctx; in stream_ietf_ref() 132 struct chacha_ctx ctx; in stream_ref_xor_ic() 157 struct chacha_ctx ctx; in stream_ietf_ref_xor_ic()
|
H A D | chacha20_dolbeau-ssse3.c | 27 typedef struct chacha_ctx { struct 29 } chacha_ctx; argument 32 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup() 49 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ivsetup() 58 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ietf_ivsetup() 67 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c, in chacha20_encrypt_bytes() 87 struct chacha_ctx ctx; in stream_ref() 106 struct chacha_ctx ctx; in stream_ietf_ref() 126 struct chacha_ctx ctx; in stream_ref_xor_ic() 151 struct chacha_ctx ctx; in stream_ietf_ref_xor_ic()
|
/freebsd/crypto/openssh/ |
H A 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,
|
H A D | chacha.c | 15 typedef struct chacha_ctx chacha_ctx; typedef 55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup() 80 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) in chacha_ivsetup() 89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes()
|
H A D | cipher-chachapoly.c | 36 struct chacha_ctx main_ctx, header_ctx;
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/ |
H A D | chacha20_ref.c | 20 struct chacha_ctx { struct 24 typedef struct chacha_ctx chacha_ctx; typedef 46 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup() 63 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ivsetup() 72 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ietf_ivsetup() 81 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c, in chacha20_encrypt_bytes() 230 struct chacha_ctx ctx; in stream_ref() 249 struct chacha_ctx ctx; in stream_ietf_ref() 269 struct chacha_ctx ctx; in stream_ref_xor_ic() 294 struct chacha_ctx ctx; in stream_ietf_ref_xor_ic()
|
/freebsd/sys/crypto/chacha20/ |
H A D | chacha.h | 33 LOCAL void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits); 34 LOCAL void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv CHACHA_UNUSED, 36 LOCAL void chacha_encrypt_bytes(struct chacha_ctx *x, const u_char *m,
|
H A D | chacha.c | 17 typedef struct chacha_ctx chacha_ctx; typedef 57 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup() 82 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) in chacha_ivsetup() 101 chacha_ctrsave(const chacha_ctx *x, u8 *counter) in chacha_ctrsave() 111 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes()
|
H A D | _chacha.h | 10 struct chacha_ctx { struct
|
H A D | chacha-sw.c | 52 .ctxsize = sizeof(struct chacha_ctx),
|
/freebsd/sys/dev/random/fenestrasX/ |
H A D | fx_rng.c | 64 fxrng_rng_keystream_internal(struct chacha_ctx *prf, void *buf, size_t nbytes) in fxrng_rng_keystream_internal() 84 fxrng_chacha_nonce_add64(struct chacha_ctx *ctx, uint64_t addend) in fxrng_chacha_nonce_add64() 121 struct chacha_ctx ctx_copy, *p_ctx; in fxrng_rng_genrandom_internal()
|
H A D | fx_rng.h | 41 struct chacha_ctx rng_prf;
|
/freebsd/contrib/unbound/compat/ |
H A D | chacha_private.h | 15 } chacha_ctx; typedef 55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ATTR_UNUSED(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()
|
H A D | arc4random.c | 70 chacha_ctx rs_chacha; /* chacha context for random keystream */
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | chacha_private.h | 17 } chacha_ctx; typedef 57 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup() 82 chacha_ivsetup(chacha_ctx *x,const u8 *iv) in chacha_ivsetup() 91 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes()
|
H A D | arc4random.c | 85 chacha_ctx rs_chacha; /* chacha context for random keystream */
|
/freebsd/sys/dev/random/ |
H A D | hash.h | 56 struct chacha_ctx chacha;
|
/freebsd/sys/libkern/ |
H A D | arc4random.c | 67 struct chacha_ctx ctx;
|
/freebsd/lib/libc/gen/ |
H A D | arc4random.c | 77 chacha_ctx rs_chacha; /* chacha context for random keystream */
|
/freebsd/sys/kern/ |
H A D | kern_shutdown.c | 196 struct chacha_ctx u_chacha;
|