Searched refs:rc4_state (Results 1 - 6 of 6) sorted by relevance

/macosx-10.10.1/xnu-2782.1.97/bsd/crypto/rc4/
H A Drc4.h43 struct rc4_state { struct
49 extern void rc4_init(struct rc4_state *state, const u_char *key, int keylen);
50 extern void rc4_crypt(struct rc4_state *state,
H A Drc4.c58 rc4_init(struct rc4_state *const state, const u_char *key, int keylen)
83 rc4_crypt(struct rc4_state *const state,
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dsubr_xxx.c204 rc4_init(struct rc4_state *state __unused, const u_char *key __unused, int keylen __unused)
210 rc4_crypt(struct rc4_state *state __unused,
/macosx-10.10.1/ppp-786.1.1/Drivers/PPTP/PPTP-extension/
H A Dppp_mppe.c84 struct rc4_state rc4_state; member in struct:ppp_mppe_state
194 rc4_init(&(state->rc4_state), state->session_key, state->keylen);
230 rc4_init(&(state->rc4_state), InterimKey, state->keylen);
233 rc4_crypt(&(state->rc4_state), InterimKey, state->session_key, state->keylen);
244 rc4_init(&(state->rc4_state), state->session_key, state->keylen);
475 rc4_crypt(&(state->rc4_state), ppp_mppe_tmp, p + 2, isize);
582 rc4_crypt(&(state->rc4_state), ppp_mppe_tmp + 2, mbuf_data(m1), isize - 2);
/macosx-10.10.1/OpenSSL098-52/src/demos/engines/zencod/
H A Dhw_zencod.c1269 unsigned char rc4_state [ 260 ] ; member in struct:__anon3371
1557 tmp_rc4_key->rc4_state [ 0 ] = 0x00 ;
1558 tmp_rc4_key->rc4_state [ 2 ] = 0x00 ;
1561 memcpy ( &( tmp_rc4_key->rc4_state [ 4 + i*ctx->key_len ] ), key, ctx->key_len ) ;
1586 rc4key.data = &( tmp_rc4_key->rc4_state [ 0 ] ) ;
1589 to_return = ptr_zencod_rc4_cipher ( &output, &input, (const zen_nb_t *) &rc4key, &( tmp_rc4_key->rc4_state [0] ), &( tmp_rc4_key->rc4_state [3] ), !tmp_rc4_key->first ) ;
/macosx-10.10.1/ppp-786.1.1/Helpers/pppd/
H A Dchap_ms.c399 struct rc4_state { struct
420 rc4_init(struct rc4_state *const state, const u_char *key, int keylen)
445 rc4_crypt(struct rc4_state *const state,
475 struct rc4_state rcs;

Completed in 197 milliseconds