Home
last modified time | relevance | path

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

/hostap-3.7.0/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.c298 unsigned char skip_buf[16]; in rc4_skip()
310 while (skip >= sizeof(skip_buf)) { in rc4_skip()
312 if (len > sizeof(skip_buf)) in rc4_skip()
313 len = sizeof(skip_buf); in rc4_skip()
314 if (!EVP_CipherUpdate(ctx, skip_buf, &outl, skip_buf, len)) in rc4_skip()
Dcrypto_mbedtls_alt.c3571 unsigned char skip_buf[64]; /*('skip' is generally small)*/ in rc4_skip() local
3576 len = skip > sizeof(skip_buf) ? sizeof(skip_buf) : skip; in rc4_skip()
3577 mbedtls_arc4_crypt(&ctx, len, skip_buf, skip_buf); in rc4_skip()