Home
last modified time | relevance | path

Searched refs:session_key (Results 1 – 5 of 5) sorted by relevance

/external/ppp/pppd/plugins/
Dwinbind.c554 u_char session_key[16]; in winbind_chap_verify() local
583 session_key, in winbind_chap_verify()
585 mppe_set_keys(challenge, session_key); in winbind_chap_verify()
604 u_char session_key[MD4_SIGNATURE_SIZE]; in winbind_chap_verify() local
623 session_key, in winbind_chap_verify()
626 GenerateAuthenticatorResponse(session_key, in winbind_chap_verify()
630 mppe_set_keys2(session_key, &response[MS_CHAP2_NTRESP], in winbind_chap_verify()
/external/openssh/
Dsshconnect1.c501 u_char session_key[SSH_SESSION_KEY_LENGTH]; in ssh_kex() local
567 session_key[i] = rnd & 0xff; in ssh_kex()
584 if (BN_add_word(key, session_key[i] ^ session_id[i]) in ssh_kex()
588 if (BN_add_word(key, session_key[i]) == 0) in ssh_kex()
667 packet_set_encryption_key(session_key, SSH_SESSION_KEY_LENGTH, options.cipher); in ssh_kex()
673 explicit_bzero(session_key, sizeof(session_key)); in ssh_kex()
Dsshd.c2341 u_char session_key[SSH_SESSION_KEY_LENGTH]; local
2452 (void) BN_mask_bits(session_key_int, sizeof(session_key) * 8);
2454 if (len < 0 || (u_int)len > sizeof(session_key)) {
2457 get_remote_ipaddr(), len, (u_long)sizeof(session_key));
2460 explicit_bzero(session_key, sizeof(session_key));
2462 session_key + sizeof(session_key) - len);
2473 session_key[i] ^= session_id[i];
2487 packet_set_encryption_key(session_key, SSH_SESSION_KEY_LENGTH, cipher_type);
2490 explicit_bzero(session_key, sizeof(session_key));
/external/wpa_supplicant_8/src/crypto/
Dms_funcs.c357 int get_asymetric_start_key(const u8 *master_key, u8 *session_key, in get_asymetric_start_key() argument
414 os_memcpy(session_key, digest, session_key_len); in get_asymetric_start_key()
Dms_funcs.h43 int get_asymetric_start_key(const u8 *master_key, u8 *session_key,