HomeSort by relevance Sort by last modified time
    Searched refs:rc4 (Results 1 - 25 of 35) sorted by null

1 2

  /external/dropbear/libtomcrypt/src/prngs/
rc4.c 14 @file rc4.c
15 RC4 PRNG, Tom St Denis
18 #ifdef RC4
22 "rc4", 32,
43 prng->rc4.x = 0;
61 if (prng->rc4.x + inlen > 256) {
62 if (prng->rc4.x == 256) {
67 inlen = 256 - prng->rc4.x;
72 prng->rc4.buf[prng->rc4.x++] = *in++
    [all...]
  /external/wpa_supplicant/
rc4.h 2 * RC4 stream cipher
20 void rc4(u8 *buf, size_t len, const u8 *key, size_t key_len);
crypto_libtomcrypt.c 19 #include "rc4.h"
292 int rc4; member in struct:crypto_cipher
299 } rc4; member in union:crypto_cipher::__anon13852
309 int idx, res, rc4 = 0; local
326 rc4 = 1;
336 if (rc4) {
337 ctx->rc4 = 1;
338 if (key_len > sizeof(ctx->u.rc4.key)) {
342 ctx->u.rc4.keylen = key_len;
343 os_memcpy(ctx->u.rc4.key, key, key_len)
    [all...]
crypto_internal.c 21 #include "rc4.h"
237 } rc4; member in union:crypto_cipher::__anon13847
266 if (key_len > sizeof(ctx->u.rc4.key)) {
270 ctx->u.rc4.keylen = key_len;
271 os_memcpy(ctx->u.rc4.key, key, key_len);
318 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen,
319 ctx->u.rc4.used_bytes, crypt, len);
320 ctx->u.rc4.used_bytes += len;
369 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen
    [all...]
rc4.c 2 * RC4 stream cipher
18 #include "rc4.h"
23 * rc4 - XOR RC4 stream to given data with skip-stream-start
24 * @key: RC4 key
25 * @keylen: RC4 key length
26 * @skip: number of bytes to skip from the beginning of the RC4 stream
27 * @data: data to be XOR'ed with RC4 stream
30 * Generate RC4 pseudo random stream for the given key, skip beginning of the
31 * stream, and XOR the end result with the data buffer to perform RC4
83 void rc4(u8 *buf, size_t len, const u8 *key, size_t key_len) function
    [all...]
Makefile 40 rc4.o sha1.o des.o
488 OBJS_p += asn1.o rc4.o aes_wrap.o
790 rc4.o des.o aes_wrap.o \
799 rc4.o des.o aes_wrap.o \
847 os_unix.o rc4.o tests/test_ms_funcs.o
Android.mk 48 OBJS = config.c common.c md5.c md4.c rc4.c sha1.c des.c
406 OBJS_p += asn1.c rc4.c aes_wrap.c
  /external/wpa_supplicant_8/src/crypto/
crypto_internal-cipher.c 30 } rc4; member in union:crypto_cipher::__anon14228
64 if (key_len > sizeof(ctx->u.rc4.key)) {
68 ctx->u.rc4.keylen = key_len;
69 os_memcpy(ctx->u.rc4.key, key, key_len);
124 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen,
125 ctx->u.rc4.used_bytes, crypt, len);
126 ctx->u.rc4.used_bytes += len;
189 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen
    [all...]
crypto_libtomcrypt.c 291 int rc4; member in struct:crypto_cipher
298 } rc4; member in union:crypto_cipher::__anon14235
308 int idx, res, rc4 = 0; local
325 rc4 = 1;
335 if (rc4) {
336 ctx->rc4 = 1;
337 if (key_len > sizeof(ctx->u.rc4.key)) {
341 ctx->u.rc4.keylen = key_len;
342 os_memcpy(ctx->u.rc4.key, key, key_len);
361 if (ctx->rc4) {
    [all...]
Makefile 36 rc4.o \
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_libtomcrypt.c 19 #include "rc4.h"
292 int rc4; member in struct:crypto_cipher
299 } rc4; member in union:crypto_cipher::__anon14018
309 int idx, res, rc4 = 0; local
326 rc4 = 1;
336 if (rc4) {
337 ctx->rc4 = 1;
338 if (key_len > sizeof(ctx->u.rc4.key)) {
342 ctx->u.rc4.keylen = key_len;
343 os_memcpy(ctx->u.rc4.key, key, key_len)
    [all...]
crypto_internal.c 21 #include "rc4.h"
238 } rc4; member in union:crypto_cipher::__anon14013
267 if (key_len > sizeof(ctx->u.rc4.key)) {
271 ctx->u.rc4.keylen = key_len;
272 os_memcpy(ctx->u.rc4.key, key, key_len);
319 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen,
320 ctx->u.rc4.used_bytes, crypt, len);
321 ctx->u.rc4.used_bytes += len;
370 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen
    [all...]
  /external/openssl/crypto/evp/
e_rc4.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
66 #include <openssl/rc4.h>
133 RC4(&data(ctx)->ks,inl,in,out);
  /external/openssl/crypto/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...]
rc4_enc.c 1 /* crypto/rc4/rc4_enc.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
59 #include <openssl/rc4.h>
62 /* RC4 as implemented from a posting from
65 * Subject: RC4 Algorithm revealed.
70 void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
99 * (**) i.e. according to 'apps/openssl speed rc4' benchmark,
100 * crypto/rc4/rc4speed.c exhibits almost 70% speed-up...
rc4test.c 1 /* crypto/rc4/rc4test.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
68 printf("No RC4 support\n");
72 #include <openssl/rc4.h>
127 RC4(&key,data_len[i],&(data[i][0]),obuf);
130 printf("error calculating RC4\n");
150 RC4(&key,i,&(data[3][0]),obuf);
153 printf("error in RC4 length processing\n");
177 RC4(&key,i,&(data[3][0]),obuf);
178 RC4(&key,data_len[3]-i,&(data[3][i]),&(obuf[i]))
    [all...]
  /external/openssl/apps/
progs.pl 72 "des", "des3", "desx", "idea", "seed", "rc4", "rc4-40",
93 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/dropbear/libtomcrypt/src/headers/
tomcrypt_prng.h 11 #ifdef RC4
55 #ifdef RC4
56 struct rc4_prng rc4; member in union:Prng_state
145 #ifdef RC4
  /external/openssl/crypto/engine/
eng_openssl.c 211 * RC4 into this ENGINE. The result is that EVP_CIPHER operation for "rc4"
220 #include <openssl/rc4.h>
246 RC4(&test(ctx)->ks,inl,in,out);
  /external/openssl/crypto/
Android.mk 378 rc4/rc4_enc.c \
379 rc4/rc4_skey.c \
  /external/openssl/patches/
crypto_Android.mk 378 rc4/rc4_enc.c \
379 rc4/rc4_skey.c \

Completed in 466 milliseconds

1 2