Lines Matching refs:master_key_length
217 int master_key_length; member
292 int master_key_length = 0; in tap_ssl_key() local
303 master_key_length = (int) in tap_ssl_key()
306 if(ssl->s3 && session->master_key_length > 0) { in tap_ssl_key()
307 master_key_length = session->master_key_length; in tap_ssl_key()
308 memcpy(master_key, session->master_key, session->master_key_length); in tap_ssl_key()
313 if(master_key_length <= 0) in tap_ssl_key()
317 if(state->master_key_length == master_key_length && in tap_ssl_key()
318 !memcmp(state->master_key, master_key, master_key_length) && in tap_ssl_key()
323 state->master_key_length = master_key_length; in tap_ssl_key()
324 memcpy(state->master_key, master_key, master_key_length); in tap_ssl_key()
338 for(i = 0; i < master_key_length; i++) { in tap_ssl_key()