/external/chromium_org/third_party/tlslite/tlslite/utils/ |
openssl_rc4.py | 4 """OpenSSL/M2Crypto RC4 implementation.""" 7 from .rc4 import RC4 14 class OpenSSL_RC4(RC4): 17 RC4.__init__(self, key, "openssl") 18 self.rc4 = m2.rc4_new() 19 m2.rc4_set_key(self.rc4, key) 22 m2.rc4_free(self.rc4) 25 return bytearray(m2.rc4_update(self.rc4, plaintext))
|
pycrypto_rc4.py | 4 """PyCrypto RC4 implementation.""" 7 from .rc4 import * 15 class PyCrypto_RC4(RC4): 18 RC4.__init__(self, key, "pycrypto")
|
python_rc4.py | 4 """Pure-Python RC4 implementation.""" 6 from .rc4 import RC4 12 class Python_RC4(RC4): 14 RC4.__init__(self, keyBytes, "python")
|
/external/openssl/crypto/rc4/ |
rc4_utl.c | 1 /* crypto/rc4/rc4_utl.c -*- mode:C; c-file-style: "eay" -*- */ 54 #include <openssl/rc4.h> 59 fips_cipher_abort(RC4);
|
rc4_skey.c | 1 /* crypto/rc4/rc4_skey.c */ 11 * apply to all code found in this distribution, be it the RC4, RSA, 59 #include <openssl/rc4.h> 63 const char RC4_version[]="RC4" OPENSSL_VERSION_PTEXT; 69 return("rc4(idx,char)"); 71 return("rc4(idx,int)"); 74 return("rc4(ptr,char)"); 76 return("rc4(ptr,int)"); 80 /* RC4 as implemented from a posting from 83 * Subject: RC4 Algorithm revealed [all...] |
rc4s.cpp | 35 #include <openssl/rc4.h> 59 RC4(&ctx,numm,buffer,buffer); 61 RC4(&ctx,numm,buffer,buffer); 64 RC4(&ctx,num,buffer,buffer); 66 RC4(&ctx,num,buffer,buffer); 69 printf("RC4 (%d bytes) %d %d (%d) - 8 bytes\n",num,
|
rc4.c | 1 /* crypto/rc4/rc4.c */ 11 * apply to all code found in this distribution, be it the RC4, RSA, 62 #include <openssl/rc4.h> 66 "usage: rc4 args\n", 156 i=EVP_read_pw_string(buf,BUFSIZ,"Enter RC4 password:",0); 179 RC4(&key,(unsigned int)i,(unsigned char *)buf,
|
rc4speed.c | 1 /* crypto/rc4/rc4speed.c */ 11 * apply to all code found in this distribution, be it the RC4, RSA, 102 #include <openssl/rc4.h> 204 RC4(&sch,8,buf,buf); 233 printf("Doing RC4 on %ld byte blocks for 10 seconds\n",BUFSIZE); 236 printf("Doing RC4 %ld times on %ld byte blocks\n",cc,BUFSIZE); 240 RC4(&sch,BUFSIZE,buf,buf); 242 printf("%ld RC4's of %ld byte blocks in %.2f second\n", 246 printf("RC4 set_key per sec = %12.2f (%9.3fuS)\n",a,1.0e6/a); 247 printf("RC4 bytes per sec = %12.2f (%9.3fuS)\n",c,8.0e6/c) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_internal-cipher.c | 24 } rc4; member in union:crypto_cipher::__anon38170 57 if (key_len > sizeof(ctx->u.rc4.key)) { 61 ctx->u.rc4.keylen = key_len; 62 os_memcpy(ctx->u.rc4.key, key, key_len); 112 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen, 113 ctx->u.rc4.used_bytes, crypt, len); 114 ctx->u.rc4.used_bytes += len; 176 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen [all...] |
crypto_libtomcrypt.c | 285 int rc4; member in struct:crypto_cipher 292 } rc4; member in union:crypto_cipher::__anon38177 302 int idx, res, rc4 = 0; local 319 rc4 = 1; 329 if (rc4) { 330 ctx->rc4 = 1; 331 if (key_len > sizeof(ctx->u.rc4.key)) { 335 ctx->u.rc4.keylen = key_len; 336 os_memcpy(ctx->u.rc4.key, key, key_len); 355 if (ctx->rc4) { [all...] |
Makefile | 39 rc4.o \
|
/external/chromium_org/third_party/boringssl/src/crypto/cipher/ |
e_rc4.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 66 #include <openssl/rc4.h> 83 RC4(rc4key, in_len, in, out); 87 static const EVP_CIPHER rc4 = { variable 93 const EVP_CIPHER *EVP_rc4(void) { return &rc4; } 97 RC4_KEY rc4; member in struct:aead_rc4_md5_tls_ctx 121 * by some number of bytes of RC4 key. */ 134 RC4_set_key(&rc4_ctx->rc4, key_len - MD5_DIGEST_LENGTH, 213 rc4_off = 32 - 1 - (rc4_ctx->rc4.x & (32 - 1)); 215 /* Ensure RC4 is behind MD5. * [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/rc4/asm/ |
rc4-md5-x86_64.pl | 12 # This is RC4+MD5 "stitch" implementation. The idea, as spelled in 16 # processor resources better and achieve better performance. RC4 17 # instruction sequence is virtually identical to rc4-x86_64.pl, which 20 # minimize register usage, which was used as "main thread" with RC4 21 # weaved into it, one RC4 round per one MD5 round. In addition to the 23 # md5_block_asm_data_order and RC4. Below are performance numbers in 27 # RC4 MD5 RC4+MD5 stitch gain 34 # (*) rc4-x86_64.pl delivers 5.3 on Opteron, so real improvement 37 my ($rc4,$md5)=(1,1); # what to generate [all...] |
/external/openssl/crypto/rc4/asm/ |
rc4-md5-x86_64.pl | 12 # This is RC4+MD5 "stitch" implementation. The idea, as spelled in 16 # processor resources better and achieve better performance. RC4 17 # instruction sequence is virtually identical to rc4-x86_64.pl, which 20 # minimize register usage, which was used as "main thread" with RC4 21 # weaved into it, one RC4 round per one MD5 round. In addition to the 23 # md5_block_asm_data_order and RC4. Below are performance numbers in 27 # RC4 MD5 RC4+MD5 stitch gain 34 # (*) rc4-x86_64.pl delivers 5.3 on Opteron, so real improvement 37 my ($rc4,$md5)=(1,1); # what to generate [all...] |
/external/openssl/crypto/evp/ |
e_rc4.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 67 #include <openssl/rc4.h> 134 RC4(&data(ctx)->ks,inl,in,out);
|
/external/openssl/apps/ |
progs.pl | 74 "des", "des3", "desx", "idea", "seed", "rc4", "rc4-40", 95 elsif ($_ =~ /rc4/) { $t="#ifndef OPENSSL_NO_RC4\n${t}#endif\n"; }
|
version.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 123 # include <openssl/rc4.h>
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
ARC4.java | 99 provider.addAlgorithm("Alg.Alias.Cipher." + PKCSObjectIdentifiers.rc4, "ARC4"); 101 provider.addAlgorithm("Alg.Alias.Cipher.RC4", "ARC4"); 103 provider.addAlgorithm("Alg.Alias.KeyGenerator.RC4", "ARC4");
|
/external/openssl/ |
Crypto-config-host.mk | 438 crypto/rc4/rc4_enc.c \ 439 crypto/rc4/rc4_skey.c \ 440 crypto/rc4/rc4_utl.c \ 667 crypto/rc4/asm/rc4-md5-x86_64.S \ 668 crypto/rc4/asm/rc4-x86_64.S \ 679 crypto/rc4/rc4_enc.c \ 680 crypto/rc4/rc4_skey.c \
|
Crypto-config-target.mk | 438 crypto/rc4/rc4_enc.c \ 439 crypto/rc4/rc4_skey.c \ 440 crypto/rc4/rc4_utl.c \ 667 crypto/rc4/asm/rc4-md5-x86_64.S \ 668 crypto/rc4/asm/rc4-x86_64.S \ 679 crypto/rc4/rc4_enc.c \ 680 crypto/rc4/rc4_skey.c \
|
import_openssl.sh | 575 gen_asm_x86_64 crypto/rc4/asm/rc4-x86_64.pl 576 gen_asm_x86_64 crypto/rc4/asm/rc4-md5-x86_64.pl
|
/external/chromium_org/third_party/boringssl/ |
boringssl.target.darwin-x86_64.mk | 200 third_party/boringssl/src/crypto/rc4/rc4.c \ 346 third_party/boringssl/linux-x86_64/crypto/rc4/rc4-md5-x86_64.S \ 347 third_party/boringssl/linux-x86_64/crypto/rc4/rc4-x86_64.S \
|
boringssl.target.linux-x86_64.mk | 200 third_party/boringssl/src/crypto/rc4/rc4.c \ 346 third_party/boringssl/linux-x86_64/crypto/rc4/rc4-md5-x86_64.S \ 347 third_party/boringssl/linux-x86_64/crypto/rc4/rc4-x86_64.S \
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
PKCSObjectIdentifiers.java | 90 static final ASN1ObjectIdentifier rc4 = encryptionAlgorithm.branch("4"); field in interface:PKCSObjectIdentifiers
|
/external/chromium_org/third_party/boringssl/src/crypto/rc4/ |
rc4.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 57 #include <openssl/rc4.h> 67 /* RC4 as implemented from a posting from 70 * Subject: RC4 Algorithm revealed. 74 void RC4(RC4_KEY *key, size_t len, const uint8_t *in, uint8_t *out) { 100 * (**) i.e. according to 'apps/openssl speed rc4' benchmark, 101 * crypto/rc4/rc4speed.c exhibits almost 70% speed-up... 356 void RC4(RC4_KEY *key, size_t len, const uint8_t *in, uint8_t *out) {
|