Searched refs:chacha_ctx (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/sys/crypto/chacha20/
H A D_chacha.h11 struct chacha_ctx { struct
H A Dchacha.h35 LOCAL void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits);
36 LOCAL void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv CHACHA_UNUSED,
38 LOCAL void chacha_encrypt_bytes(struct chacha_ctx *x, const u_char *m,
H A Dchacha-sw.c45 .ctxsize = sizeof(struct chacha_ctx),
H A Dchacha.c20 typedef struct chacha_ctx chacha_ctx; typedef in typeref:struct:chacha_ctx
60 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)
85 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
104 chacha_ctrsave(const chacha_ctx *x, u8 *counter)
114 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
/freebsd-13-stable/crypto/openssh/
H A Dchacha.h15 struct chacha_ctx { struct
25 void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits)
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 Dcipher-chachapoly.h28 struct chacha_ctx main_ctx, header_ctx;
H A Dchacha.c16 typedef struct chacha_ctx chacha_ctx; typedef in typeref:struct:chacha_ctx
56 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)
81 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
90 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Dchacha20_dolbeau-avx2.c32 typedef struct chacha_ctx { struct
34 } chacha_ctx; typedef in typeref:struct:chacha_ctx
37 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k)
54 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
63 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
72 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c,
93 struct chacha_ctx ctx;
112 struct chacha_ctx ctx;
132 struct chacha_ctx ctx;
157 struct chacha_ctx ct
[all...]
H A Dchacha20_dolbeau-ssse3.c27 typedef struct chacha_ctx { struct
29 } chacha_ctx; typedef in typeref:struct:chacha_ctx
32 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k)
49 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
58 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
67 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c,
87 struct chacha_ctx ctx;
106 struct chacha_ctx ctx;
126 struct chacha_ctx ctx;
151 struct chacha_ctx ct
[all...]
/freebsd-13-stable/sys/dev/random/
H A Dhash.h58 struct chacha_ctx chacha;
/freebsd-13-stable/sys/dev/random/fenestrasX/
H A Dfx_rng.h43 struct chacha_ctx rng_prf;
H A Dfx_rng.c67 fxrng_rng_keystream_internal(struct chacha_ctx *prf, void *buf, size_t nbytes)
87 fxrng_chacha_nonce_add64(struct chacha_ctx *ctx, uint64_t addend)
124 struct chacha_ctx ctx_copy, *p_ctx;
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/
H A Dchacha20_ref.c20 struct chacha_ctx { struct
24 typedef struct chacha_ctx chacha_ctx; typedef in typeref:struct:chacha_ctx
46 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k)
63 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
72 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
81 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c,
230 struct chacha_ctx ctx;
249 struct chacha_ctx ctx;
269 struct chacha_ctx ct
[all...]
/freebsd-13-stable/contrib/unbound/compat/
H A Dchacha_private.h15 } chacha_ctx; typedef in typeref:struct:__anon6300
55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ATTR_UNUSED(ivbits))
80 chacha_ivsetup(chacha_ctx *x,const u8 *iv)
89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
H A Darc4random.c68 chacha_ctx rs_chacha; /* chacha context for random keystream */
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dchacha_private.h15 } chacha_ctx; typedef in typeref:struct:__anon6872
55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ivbits)
80 chacha_ivsetup(chacha_ctx *x,const u8 *iv)
89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
H A Darc4random.c68 static chacha_ctx rs; /* chacha context for random keystream */
/freebsd-13-stable/lib/libc/gen/
H A Darc4random.c77 chacha_ctx rs_chacha; /* chacha context for random keystream */
/freebsd-13-stable/sys/libkern/
H A Darc4random.c70 struct chacha_ctx ctx;
/freebsd-13-stable/sys/kern/
H A Dkern_shutdown.c195 struct chacha_ctx u_chacha;

Completed in 112 milliseconds