Home
last modified time | relevance | path

Searched refs:chacha_ivsetup (Results 1 – 12 of 12) sorted by relevance

/openbsd/src/usr.bin/ssh/
Dcipher-chachapoly.c76 chacha_ivsetup(&ctx->main_ctx, seqbuf, NULL); in chachapoly_crypt()
93 chacha_ivsetup(&ctx->header_ctx, seqbuf, NULL); in chachapoly_crypt()
98 chacha_ivsetup(&ctx->main_ctx, seqbuf, one); in chachapoly_crypt()
125 chacha_ivsetup(&ctx->header_ctx, seqbuf, NULL); in chachapoly_get_length()
Dchacha.h27 void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
Dchacha.c78 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) in chacha_ivsetup() function
/openbsd/src/sys/crypto/
Dchachapoly.c47 chacha_ivsetup((chacha_ctx *)ctx->block, iv, ctx->nonce); in chacha20_reinit()
84 chacha_ivsetup((chacha_ctx *)&ctx->chacha, iv, ctx->nonce); in Chacha20_Poly1305_Reinit()
137 chacha_ivsetup(&chacha_ctx, (uint8_t *) &le_nonce, NULL); in chacha20poly1305_encrypt()
184 chacha_ivsetup(&chacha_ctx, (uint8_t *) &le_nonce, NULL); in chacha20poly1305_decrypt()
Dchacha_private.h119 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) in chacha_ivsetup() function
/openbsd/src/lib/libcrypto/chacha/
Dchacha.c36 chacha_ivsetup((chacha_ctx *)ctx, iv, counter); in ChaCha_set_iv()
84 chacha_ivsetup(&ctx, iv, NULL); in CRYPTO_chacha_20()
Dchacha-merged.c27 static inline void chacha_ivsetup(struct chacha_ctx *x, const u8 *iv,
110 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) in chacha_ivsetup() function
/openbsd/src/libexec/ld.so/
Dutil.c95 chacha_ivsetup(&chacha, bytes + KEYSZ); in _dl_arc4randombuf()
Dchacha_private.h80 chacha_ivsetup(chacha_ctx *x,const u8 *iv) in chacha_ivsetup() function
/openbsd/src/lib/libc/crypt/
Darc4random.c84 chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ); in _rs_init()
Dchacha_private.h80 chacha_ivsetup(chacha_ctx *x,const u8 *iv) in chacha_ivsetup() function
/openbsd/src/sys/dev/
Drnd.c369 chacha_ivsetup(&rs, buf + KEYSZ, NULL); in _rs_init()
556 chacha_ivsetup(ctx, keybuf + KEYSZ, NULL); in arc4random_ctx_new()