/external/openssh/openbsd-compat/ |
bsd-arc4random.c | 30 #include <openssl/rc4.h> 40 static RC4_KEY rc4; variable 55 RC4(&rc4, sizeof(r), (unsigned char *)&r, (unsigned char *)&r); 68 memset(&rc4, 0, sizeof(rc4)); 72 RC4_set_key(&rc4, sizeof(rand_buf), rand_buf); 76 * http://www.wisdom.weizmann.ac.il/~itsik/RC4/Papers/Rc4_ksa.ps 79 RC4(&rc4, sizeof(rand_buf), rand_buf, rand_buf) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_internal-cipher.c | 24 } rc4; member in union:crypto_cipher::__anon16961 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::__anon16968 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...] |
/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/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_internal.c | 21 #include "rc4.h" 238 } rc4; member in union:crypto_cipher::__anon16743 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...] |
crypto_libtomcrypt.c | 19 #include "rc4.h" 292 int rc4; member in struct:crypto_cipher 299 } rc4; member in union:crypto_cipher::__anon16748 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...] |