Home
last modified time | relevance | path

Searched refs:chacha_keysetup (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Dchacha20_dolbeau-avx2.c37 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup() function
99 chacha_keysetup(&ctx, k); in stream_ref()
118 chacha_keysetup(&ctx, k); in stream_ietf_ref()
144 chacha_keysetup(&ctx, k); in stream_ref_xor_ic()
164 chacha_keysetup(&ctx, k); in stream_ietf_ref_xor_ic()
H A Dchacha20_dolbeau-ssse3.c32 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup() function
93 chacha_keysetup(&ctx, k); in stream_ref()
112 chacha_keysetup(&ctx, k); in stream_ietf_ref()
138 chacha_keysetup(&ctx, k); in stream_ref_xor_ic()
158 chacha_keysetup(&ctx, k); in stream_ietf_ref_xor_ic()
/freebsd/sys/dev/random/fenestrasX/
H A Dfx_rng.c142 chacha_keysetup(&rng->rng_prf, newkey, sizeof(newkey) * 8); in fxrng_rng_genrandom_internal()
157 chacha_keysetup(&rng->rng_prf, newkey, sizeof(newkey) * 8); in fxrng_rng_genrandom_internal()
212 chacha_keysetup(&rng->rng_prf, u.hash_out, FX_CHACHA20_KEYSIZE * 8); in fxrng_rng_reseed_internal()
H A Dfx_rng.h61 chacha_keysetup(&rng->rng_prf, newkey, len * 8); in fxrng_rng_setkey()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/
H A Dchacha20_ref.c46 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup() function
236 chacha_keysetup(&ctx, k); in stream_ref()
255 chacha_keysetup(&ctx, k); in stream_ietf_ref()
281 chacha_keysetup(&ctx, k); in stream_ref_xor_ic()
301 chacha_keysetup(&ctx, k); in stream_ietf_ref_xor_ic()
/freebsd/crypto/openssh/
H A Dcipher-chachapoly.c48 chacha_keysetup(&ctx->main_ctx, key, 256); in chachapoly_new()
49 chacha_keysetup(&ctx->header_ctx, key + 32, 256); in chachapoly_new()
H A Dchacha.h25 void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits)
H A Dchacha.c55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup() function
H A Dssh_namespace.h94 #define chacha_keysetup Fssh_chacha_keysetup macro
/freebsd/sys/crypto/chacha20/
H A Dchacha.h33 LOCAL void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits);
H A Dchacha-sw.c14 chacha_keysetup(ctx, key, len * 8); in chacha20_xform_setkey()
H A Dchacha.c57 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup() function
/freebsd/sys/dev/random/
H A Dhash.c118 chacha_keysetup(&context->chacha, data, RANDOM_KEYSIZE * 8); in randomdev_encrypt_init()
/freebsd/sys/libkern/
H A Darc4random.c144 chacha_keysetup(&chacha20->ctx, key, CHACHA20_KEYBYTES*8); in chacha20_randomstir()
/freebsd/lib/libc/gen/
H A Darc4random.c101 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8); in _rs_init()
/freebsd/crypto/openssh/openbsd-compat/
H A Darc4random.c106 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8); in _rs_init()
H A Dchacha_private.h57 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup() function
/freebsd/contrib/unbound/compat/
H A Darc4random.c176 chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8, 0); in _rs_init()
H A Dchacha_private.h55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ATTR_UNUSED(ivbits)) in chacha_keysetup() function
/freebsd/sys/kern/
H A Dkern_shutdown.c1111 chacha_keysetup(&kdc->kdc_chacha, key, 256); in kerneldumpcrypto_create()