Home
last modified time | relevance | path

Searched refs:chacha (Results 1 – 25 of 38) 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 chacha-armv8-sve.S
15 $CHACHAASM_loongarch64=chacha-loongarch64.S
17 $CHACHAASM_ppc32=chacha_ppc.c chacha-ppc.s
19 $CHACHAASM_ppc32=chacha_ppc.c chacha-ppc.s chachap10-ppc.s
23 $CHACHAASM_c64xplus=chacha-c64xplus.s
[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.info201 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 \
32 chacha-armv8-sve.S \
44 chacha-x86_64.S \
56 chacha-x86.S \
69 chacha-ppc.S \
92 chacha-ppc.S \
/freebsd/secure/lib/libcrypto/
H A DMakefile.asm13 ${LCRYPTO_SRC}/crypto/chacha/asm \
34 SRCS+= chacha-armv8.pl chacha-armv8-sve.pl
82 ${LCRYPTO_SRC}/crypto/chacha/asm \
111 SRCS+= chacha-x86_64.pl
168 ${LCRYPTO_SRC}/crypto/chacha/asm \
186 SRCS+= chacha-armv4.pl
222 ${LCRYPTO_SRC}/crypto/chacha/asm \
257 SRCS+= chacha-x86.pl
312 ${LCRYPTO_SRC}/crypto/chacha/asm \
335 SRCS+= chacha-ppc.pl chachap10-ppc.pl
[all …]
H A DMakefile161 SRCS+= chacha-armv8.S chacha-armv8-sve.S
163 SRCS+= chacha-x86_64.S
165 SRCS+= chacha-armv4.S
167 SRCS+= chacha-x86.S
169 SRCS+= chacha_ppc.c chacha-ppc.S chachap10-ppc.S
171 SRCS+= chacha_ppc.c chacha-ppc.S chachap10-ppc.S
173 SRCS+= chacha_ppc.c chacha-ppc.S chachap10-ppc.S
712 ${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()
615 el->el_search.chacha = ch; in cv_csearch()
/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 DMakefile12 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/crypto/openssh/regress/unittests/hostkeys/
H A DMakefile12 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/crypto/openssh/regress/unittests/crypto/
H A DMakefile16 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A DMakefile12 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/crypto/openssh/regress/unittests/authopt/
H A DMakefile14 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/crypto/openssh/regress/unittests/servconf/
H A DMakefile14 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/regress/misc/ssh-verify-attestation/
H A DMakefile19 SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
/freebsd/secure/lib/libssh/
H A DMakefile33 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 \

12