Home
last modified time | relevance | path

Searched refs:rc4 (Results 1 – 6 of 6) sorted by relevance

/hostap-3.6.0/src/crypto/
Dcrypto_internal-cipher.c24 } rc4; member
57 if (key_len > sizeof(ctx->u.rc4.key)) { in crypto_cipher_init()
61 ctx->u.rc4.keylen = key_len; in crypto_cipher_init()
62 os_memcpy(ctx->u.rc4.key, key, key_len); in crypto_cipher_init()
112 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen, in crypto_cipher_encrypt()
113 ctx->u.rc4.used_bytes, crypt, len); in crypto_cipher_encrypt()
114 ctx->u.rc4.used_bytes += len; in crypto_cipher_encrypt()
176 rc4_skip(ctx->u.rc4.key, ctx->u.rc4.keylen, in crypto_cipher_decrypt()
177 ctx->u.rc4.used_bytes, plain, len); in crypto_cipher_decrypt()
178 ctx->u.rc4.used_bytes += len; in crypto_cipher_decrypt()
Dcrypto_libtomcrypt.c289 int rc4; member
296 } rc4; member
306 int idx, res, rc4 = 0; in crypto_cipher_init() local
323 rc4 = 1; in crypto_cipher_init()
333 if (rc4) { in crypto_cipher_init()
334 ctx->rc4 = 1; in crypto_cipher_init()
335 if (key_len > sizeof(ctx->u.rc4.key)) { in crypto_cipher_init()
339 ctx->u.rc4.keylen = key_len; in crypto_cipher_init()
340 os_memcpy(ctx->u.rc4.key, key, key_len); in crypto_cipher_init()
359 if (ctx->rc4) { in crypto_cipher_encrypt()
[all …]
DMakefile32 rc4.o \
/hostap-3.6.0/tests/
DMakefile5 test-sha256 test-aes test-x509v3 test-list test-rc4
69 test-rc4: $(call BUILDOBJ,test-rc4.o) $(LIBS)
/hostap-3.6.0/doc/
Dcode_structure.doxygen91 \ref rc4.c and \ref rc4.h
Dporting.doxygen181 cc -o wpa_supplicant config.c eloop.c common.c md5.c rc4.c sha1.c \