/freebsd/crypto/openssl/crypto/rc4/ |
H A D | build.info | 5 $RC4ASM_x86=rc4-586.S 6 $RC4ASM_x86_64=rc4-x86_64.s rc4-md5-x86_64.s 7 $RC4ASM_s390x=rc4-s390x.s 8 $RC4ASM_parisc11=rc4-parisc.s 10 $RC4ASM_c64xplus=rc4-c64xplus.s 23 # rc4 functions, so we must include them directly in liblegacy.a 33 GENERATE[rc4-586.S]=asm/rc4-586.pl 34 DEPEND[rc4-586.S]=../perlasm/x86asm.pl 36 GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl 37 GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl [all …]
|
/freebsd/crypto/openssl/crypto/rc4/asm/ |
H A D | rc4-md5-x86_64.pl | 50 my ($rc4,$md5)=(1,1); # what to generate? 74 if ($rc4 && !$md5) { 77 } elsif ($md5 && !$rc4) { 148 if ($rc4) { 244 $code.=" movdqu ($in0),%xmm2\n" if ($rc4 && $j==15); 245 $code.=" add \$$MOD,$XX[0]#b\n" if ($rc4 && $j==15 && $k==$MOD-1); 246 $code.=" pxor $xmm,$xmm\n" if ($rc4 && $j<=1); 266 $code.=<<___ if ($rc4 && $j==15 && $k==$MOD-1); 272 $code.=<<___ if ($rc4 && $j==15); 284 $code.=" movdqu 16($in0),%xmm3\n" if ($rc4 && $j==15); [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_internal-cipher.c | 24 } rc4; member 57 if (key_len > sizeof(ctx->u.rc4.key)) { in crypto_cipher_init() 61 ctx->u.rc4.keylen = key_len; in crypto_cipher_init() 62 os_memcpy(ctx->u.rc4.key, key, key_len); in crypto_cipher_init() 112 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen, in crypto_cipher_encrypt() 113 ctx->u.rc4.used_bytes, crypt, len); in crypto_cipher_encrypt() 114 ctx->u.rc4.used_bytes += len; in crypto_cipher_encrypt() 176 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen, in crypto_cipher_decrypt() 177 ctx->u.rc4.used_bytes, plain, len); in crypto_cipher_decrypt() 178 ctx->u.rc4.used_bytes += len; in crypto_cipher_decrypt()
|
H A D | crypto_libtomcrypt.c | 289 int rc4; member 296 } rc4; member 306 int idx, res, rc4 = 0; in crypto_cipher_init() local 323 rc4 = 1; in crypto_cipher_init() 333 if (rc4) { in crypto_cipher_init() 334 ctx->rc4 = 1; in crypto_cipher_init() 335 if (key_len > sizeof(ctx->u.rc4.key)) { in crypto_cipher_init() 339 ctx->u.rc4.keylen = key_len; in crypto_cipher_init() 340 os_memcpy(ctx->u.rc4.key, key, key_len); in crypto_cipher_init() 359 if (ctx->rc4) { in crypto_cipher_encrypt() [all …]
|
H A D | Makefile | 32 rc4.o \
|
/freebsd/sys/netgraph/ |
H A D | ng_mppc.c | 150 struct rc4_state rc4; /* rc4 state */ member 178 u_char *key0, u_char *key, struct rc4_state *rc4); 197 MODULE_DEPEND(ng_mppc, rc4, 1, 1, 1); 337 rc4_init(&d->rc4, d->key, keylen); in ng_mppc_rcvmsg() 591 d->cfg.startkey, d->key, &d->rc4); in ng_mppc_compress() 595 rc4_init(&d->rc4, d->key, KEYLEN(d->cfg.bits)); in ng_mppc_compress() 601 rc4_crypt(&d->rc4, mtod(m1, u_char *), in ng_mppc_compress() 688 d->cfg.startkey, d->key, &d->rc4); in ng_mppc_decompress() 695 rc4_init(&d->rc4, d->key, KEYLEN(d->cfg.bits)); in ng_mppc_decompress() 724 d->cfg.startkey, d->key, &d->rc4); in ng_mppc_decompress() [all …]
|
/freebsd/sys/modules/rc4/ |
H A D | Makefile | 1 .PATH: ${SRCTOP}/sys/crypto/rc4 3 KMOD= rc4 4 SRCS= rc4.c
|
/freebsd/sys/modules/netgraph/ |
H A D | Makefile | 60 .if ${MK_CRYPT} != "no" && exists(${SYSDIR}/crypto/rc4/rc4.c)
|
/freebsd/contrib/netbsd-tests/crypto/libcrypto/ |
H A D | t_ciphers.sh | 79 atf_test_case rc4 119 atf_add_test_case rc4
|
/freebsd/sys/crypto/rc4/ |
H A D | rc4.c | 124 DECLARE_MODULE(rc4, rc4_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST); 125 MODULE_VERSION(rc4, 1);
|
/freebsd/crypto/openssl/crypto/pem/ |
H A D | pvkfmt.c | 831 EVP_CIPHER *rc4 = NULL; in do_PVK_body_key() local 873 if ((rc4 = EVP_CIPHER_fetch(libctx, "RC4", propq)) == NULL) in do_PVK_body_key() 875 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in do_PVK_body_key() 885 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in do_PVK_body_key() 908 EVP_CIPHER_free(rc4); in do_PVK_body_key() 1008 EVP_CIPHER *rc4 = NULL; in i2b_PVK() local 1069 if ((rc4 = EVP_CIPHER_fetch(libctx, "RC4", propq)) == NULL) in i2b_PVK() 1074 if (!EVP_EncryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in i2b_PVK() 1093 EVP_CIPHER_free(rc4); in i2b_PVK()
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_rc4.c | 119 IMPLEMENT_cipher(rc4, RC4, RC4_FLAGS, 40, 8, 0, stream) 121 IMPLEMENT_cipher(rc4, RC4, RC4_FLAGS, 128, 8, 0, stream)
|
H A D | build.info | 116 IF[{- !$disabled{rc4} -}]
|
/freebsd/secure/lib/libcrypto/ |
H A D | Makefile.asm | 75 ${LCRYPTO_SRC}/crypto/rc4/asm \ 111 SRCS+= rc4-md5-x86_64.pl rc4-x86_64.pl 213 ${LCRYPTO_SRC}/crypto/rc4/asm \ 260 SRCS+= rc4-586.pl
|
H A D | Makefile | 464 SRCS+= rc4-md5-x86_64.S rc4-x86_64.S 466 SRCS+= rc4-586.S 574 INCS+= pkcs7err.h prov_ssl.h proverr.h provider.h rand.h randerr.h rc2.h rc4.h rc5.h ripemd.h 682 ${LCRYPTO_SRC}/crypto/rc4 \
|
/freebsd/crypto/heimdal/include/hcrypto/ |
H A D | Makefile.am | 25 rc4.h \
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | build.info | 18 IF[{- !$disabled{'rsa'} and !$disabled{'rc4'} -}]
|
/freebsd/crypto/heimdal/kdc/ |
H A D | digest.c | 1336 EVP_CIPHER_CTX *rc4; in _kdc_do_digest() local 1357 rc4 = EVP_CIPHER_CTX_new(); in _kdc_do_digest() 1358 if (rc4 == NULL) { in _kdc_do_digest() 1364 EVP_CipherInit_ex(rc4, EVP_rc4(), NULL, sessionkey, NULL, 1); in _kdc_do_digest() 1365 EVP_Cipher(rc4, in _kdc_do_digest() 1368 EVP_CIPHER_CTX_free(rc4); in _kdc_do_digest()
|
/freebsd/lib/msun/ld128/ |
H A D | s_erfl.c | 173 rc4 = -2.04415631865861549920184039902945685e4L, /* 0xc00d3f66, 0x40b3fc04, 0x5388f2ec, 0xb009e1f… variable 314 R=rc0+s*(rc1+s*(rc2+s*(rc3+s*(rc4+s*(rc5+s*(rc6+s*(rc7+ in erfcl()
|
/freebsd/usr.sbin/wpa/src/crypto/ |
H A D | Makefile | 92 SRCS+= rc4.c
|
/freebsd/lib/msun/ld80/ |
H A D | s_erfl.c | 207 #define rc4 (rc4u.e) macro 324 R=rc0+s*(rc1+s*(rc2+s*(rc3+s*(rc4+s*rc5)))); in erfcl()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | RC4_set_key.pod | 9 #include <openssl/rc4.h>
|
/freebsd/crypto/openssl/crypto/ |
H A D | build.info | 6 siphash sm3 des aes rc2 rc4 rc5 idea aria bf cast camellia \
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-enc.pod.in | 360 rc4 128 bit RC4 361 rc4-64 64 bit RC4 362 rc4-40 40 bit RC4
|
/freebsd/crypto/openssl/ |
H A D | FREEBSD-upgrade | 117 $ echo test | openssl rc4 -provider legacy -e -a -pbkdf2
|