Home
last modified time | relevance | path

Searched refs:skip_buf (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dcrypto_linux.c541 u8 *skip_buf; in rc4_skip() local
549 skip_buf = os_zalloc(skip + 1); in rc4_skip()
550 if (!skip_buf) in rc4_skip()
554 os_free(skip_buf); in rc4_skip()
558 io[0].iov_base = skip_buf; in rc4_skip()
579 os_free(skip_buf); in rc4_skip()
583 os_free(skip_buf); in rc4_skip()
Dcrypto_wolfssl.c445 unsigned char skip_buf[16]; in rc4_skip() local
449 while (skip >= sizeof(skip_buf)) { in rc4_skip()
452 if (len > sizeof(skip_buf)) in rc4_skip()
453 len = sizeof(skip_buf); in rc4_skip()
454 wc_Arc4Process(&arc4, skip_buf, skip_buf, len); in rc4_skip()
Dcrypto_openssl.c236 unsigned char skip_buf[16]; in rc4_skip()
246 while (skip >= sizeof(skip_buf)) { in rc4_skip()
248 if (len > sizeof(skip_buf)) in rc4_skip()
249 len = sizeof(skip_buf); in rc4_skip()
250 if (!EVP_CipherUpdate(ctx, skip_buf, &outl, skip_buf, len)) in rc4_skip()