Home
last modified time | relevance | path

Searched refs:arc4 (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/gpxe/src/net/80211/
Dwep.c82 struct arc4_ctx arc4; member
143 cipher_setkey ( &arc4_algorithm, &ctx->arc4, ctx->key, in wep_encrypt()
145 cipher_encrypt ( &arc4_algorithm, &ctx->arc4, iob->data + hdrlen, in wep_encrypt()
150 cipher_encrypt ( &arc4_algorithm, &ctx->arc4, &icv, in wep_encrypt()
191 cipher_setkey ( &arc4_algorithm, &ctx->arc4, ctx->key, in wep_decrypt()
193 cipher_decrypt ( &arc4_algorithm, &ctx->arc4, eiob->data + hdrlen + in wep_decrypt()
197 cipher_decrypt ( &arc4_algorithm, &ctx->arc4, eiob->data + hdrlen + in wep_decrypt()
Dwpa_tkip.c380 struct arc4_ctx arc4; in tkip_encrypt() local
413 cipher_setkey ( &arc4_algorithm, &arc4, key, 16 ); in tkip_encrypt()
414 cipher_encrypt ( &arc4_algorithm, &arc4, iob->data + hdrlen, in tkip_encrypt()
421 cipher_encrypt ( &arc4_algorithm, &arc4, mic, in tkip_encrypt()
428 cipher_encrypt ( &arc4_algorithm, &arc4, &icv, in tkip_encrypt()
453 struct arc4_ctx arc4; in tkip_decrypt() local
492 cipher_setkey ( &arc4_algorithm, &arc4, key, 16 ); in tkip_decrypt()
493 cipher_decrypt ( &arc4_algorithm, &arc4, in tkip_decrypt()