Home
last modified time | relevance | path

Searched refs:chacha (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/crypto/openssl/crypto/chacha/
H A Dbuild.info5 $CHACHAASM_x86=chacha-x86.S
6 $CHACHAASM_x86_64=chacha-x86_64.s
8 $CHACHAASM_ia64=chacha-ia64.s
10 $CHACHAASM_s390x=chacha-s390x.S
12 $CHACHAASM_armv4=chacha-armv4.S
13 $CHACHAASM_aarch64=chacha-armv8.S
15 $CHACHAASM_ppc32=chacha_ppc.c chacha-ppc.s
18 $CHACHAASM_c64xplus=chacha-c64xplus.s
29 GENERATE[chacha-x86.S]=asm/chacha-x86.pl
30 GENERATE[chacha-x86_64.s]=asm/chacha-x86_64.pl
[all …]
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305_hw.c37 ctx->chacha.counter[1] = ctx->nonce[0]; in chacha_poly1305_tls_init()
38 ctx->chacha.counter[2] = ctx->nonce[1] ^ CHACHA_U8TOU32(aad); in chacha_poly1305_tls_init()
39 ctx->chacha.counter[3] = ctx->nonce[2] ^ CHACHA_U8TOU32(aad+4); in chacha_poly1305_tls_init()
52 ctx->nonce[0] = ctx->chacha.counter[1] = CHACHA_U8TOU32(fixed); in chacha_poly1305_tls_iv_set_fixed()
53 ctx->nonce[1] = ctx->chacha.counter[2] = CHACHA_U8TOU32(fixed + 4); in chacha_poly1305_tls_iv_set_fixed()
54 ctx->nonce[2] = ctx->chacha.counter[3] = CHACHA_U8TOU32(fixed + 8); in chacha_poly1305_tls_iv_set_fixed()
70 return ossl_chacha20_einit(&ctx->chacha, key, keylen, NULL, 0, NULL); in chacha20_poly1305_initkey()
72 return ossl_chacha20_dinit(&ctx->chacha, key, keylen, NULL, 0, NULL); in chacha20_poly1305_initkey()
93 ret = ossl_chacha20_einit(&ctx->chacha, NULL, 0, in chacha20_poly1305_initiv()
96 ret = ossl_chacha20_dinit(&ctx->chacha, NULL, 0, in chacha20_poly1305_initiv()
[all …]
H A Dcipher_chacha20_poly1305.h20 PROV_CHACHA20_CTX chacha; member
H A Dbuild.info135 IF[{- !$disabled{chacha} -}]
H A Dcipher_chacha20_poly1305.c57 ossl_chacha20_initctx(&ctx->chacha); in chacha20_poly1305_newctx()
/freebsd/sys/dev/random/
H A Dhash.c118 chacha_keysetup(&context->chacha, data, RANDOM_KEYSIZE * 8); in randomdev_encrypt_init()
149 chacha_ivsetup(&context->chacha, NULL, (const void *)&lectr); in randomdev_keystream()
158 chacha_encrypt_bytes(&context->chacha, NULL, d_out, in randomdev_keystream()
169 chacha_ctrsave(&context->chacha, (void *)&lectr); in randomdev_keystream()
214 *keyp = (const void *)&context->chacha.input[4]; in randomdev_getkey()
217 if (context->chacha.input[0] == U8TO32_LITTLE(sigma) && in randomdev_getkey()
218 context->chacha.input[1] == U8TO32_LITTLE(&sigma[4]) && in randomdev_getkey()
219 context->chacha.input[2] == U8TO32_LITTLE(&sigma[8]) && in randomdev_getkey()
220 context->chacha.input[3] == U8TO32_LITTLE(&sigma[12])) { in randomdev_getkey()
230 if (context->chacha->input[0] == U8TO32_LITTLE(tau) && in randomdev_getkey()
[all …]
H A Dhash.h56 struct chacha_ctx chacha; member
/freebsd/sys/modules/ossl/
H A DMakefile21 chacha-armv4.S \
31 chacha-armv8.S \
43 chacha-x86_64.S \
54 chacha-x86.S \
65 chacha-ppc.S \
86 chacha-ppc.S \
/freebsd/secure/lib/libcrypto/
H A DMakefile.asm13 ${LCRYPTO_SRC}/crypto/chacha/asm \
31 SRCS+= chacha-armv8.pl
70 ${LCRYPTO_SRC}/crypto/chacha/asm \
96 SRCS+= chacha-x86_64.pl
153 ${LCRYPTO_SRC}/crypto/chacha/asm \
171 SRCS+= chacha-armv4.pl
207 ${LCRYPTO_SRC}/crypto/chacha/asm \
242 SRCS+= chacha-x86.pl
297 ${LCRYPTO_SRC}/crypto/chacha/asm \
320 SRCS+= chacha-ppc.pl
[all …]
H A DMakefile144 SRCS+= chacha-armv8.S
146 SRCS+= chacha-x86_64.S
148 SRCS+= chacha-armv4.S
150 SRCS+= chacha-x86.S
152 SRCS+= chacha_ppc.c chacha-ppc.S
154 SRCS+= chacha_ppc.c chacha-ppc.S
156 SRCS+= chacha_ppc.c chacha-ppc.S
642 ${LCRYPTO_SRC}/crypto/chacha \
/freebsd/contrib/libedit/
H A Dsearch.h48 wchar_t chacha; /* Character we are looking for */ member
H A Dsearch.c80 el->el_search.chacha = L'\0'; in search_init()
611 el->el_search.chacha = ch; in cv_csearch()
H A Dvi.c782 return cv_csearch(el, el->el_search.chadir, el->el_search.chacha, in vi_repeat_next_char()
798 r = cv_csearch(el, -dir, el->el_search.chacha, in vi_repeat_prev_char()
/freebsd/sys/modules/crypto/
H A DMakefile60 SRCS += chacha.c
61 SRCS += chacha-sw.c
/freebsd/crypto/openssl/util/
H A Dfix-includes.sed2 s@internal/(aria.h|asn1_dsa.h|async.h|bn_conf.h|bn_conf.h|bn_dh.h|bn_srp.h|chacha.h|(aes|des|cmll)_…
/freebsd/crypto/openssh/regress/unittests/sshsig/
H A DMakefile13 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/crypto/openssh/regress/unittests/hostkeys/
H A DMakefile13 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A DMakefile13 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/crypto/openssh/regress/unittests/kex/
H A DMakefile13 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/crypto/openssh/
H A DPROTOCOL.chacha20poly130598 http://cr.yp.to/chacha/chacha-20080128.pdf
H A D.depend34 … xmalloc.h ssh.h sshbuf.h sshkey.h authfd.h cipher.h cipher-chachapoly.h chacha.h poly1305.h ciphe…
35 …w.h openbsd-compat/bsd-nextstep.h entropy.h cipher.h cipher-chachapoly.h chacha.h poly1305.h ciphe…
38 chacha.o: includes.h config.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/b…
43 …bsd-compat/bsd-nextstep.h entropy.h log.h ssherr.h sshbuf.h cipher-chachapoly.h chacha.h poly1305.h
44 …w.h openbsd-compat/bsd-nextstep.h entropy.h cipher.h cipher-chachapoly.h chacha.h poly1305.h ciphe…
46 …tch.h sshbuf.h compat.h channels.h sshkey.h cipher.h cipher-chachapoly.h chacha.h poly1305.h ciphe…
65 …nbsd-compat/sys-queue.h dispatch.h compat.h cipher.h cipher-chachapoly.h chacha.h poly1305.h ciphe…
84 monitor.o: chacha.h poly1305.h cipher-aesctr.h rijndael.h kex.h mac.h crypto_api.h dh.h packet.h di…
87 …s-queue.h xmalloc.h ssh.h sshbuf.h sshkey.h cipher.h cipher-chachapoly.h chacha.h poly1305.h ciphe…
93 …ompat/sys-queue.h xmalloc.h compat.h ssh2.h cipher.h cipher-chachapoly.h chacha.h poly1305.h ciphe…
[all …]
/freebsd/secure/lib/libssh/
H A DMakefile21 poly1305.c chacha.c cipher-chachapoly.c cipher-chachapoly-libcrypto.c \
/freebsd/crypto/openssl/test/ssl-tests/
H A D25-cipher.cnf.in159 unless disabled("poly1305") || disabled("chacha") || $fips_mode;
/freebsd/crypto/openssl/crypto/
H A Dbuild.info7 seed sm4 chacha modes bn ec rsa dsa dh sm2 dso engine \
/freebsd/sys/conf/
H A Dfiles.arm141 crypto/openssl/arm/chacha-armv4.S optional ossl \

12