• Home
  • Raw
  • Download

Lines Matching refs:rl

40 	struct tlsv1_record_layer rl;  member
234 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_send_client_hello()
359 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_server_hello()
409 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_server_key_exchange_allowed()
763 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_server_key_exchange()
939 if (tlsv1_record_change_read_cipher(&conn->rl) < 0) { in tls_process_server_change_cipher_spec()
1103 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tls_derive_keys()
1104 conn->rl.iv_size); in tls_derive_keys()
1117 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys()
1118 pos += conn->rl.hash_size; in tls_derive_keys()
1120 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys()
1121 pos += conn->rl.hash_size; in tls_derive_keys()
1124 os_memcpy(conn->rl.write_key, pos, conn->rl.key_material_len); in tls_derive_keys()
1125 pos += conn->rl.key_material_len; in tls_derive_keys()
1127 os_memcpy(conn->rl.read_key, pos, conn->rl.key_material_len); in tls_derive_keys()
1128 pos += conn->rl.key_material_len; in tls_derive_keys()
1131 os_memcpy(conn->rl.write_iv, pos, conn->rl.iv_size); in tls_derive_keys()
1132 pos += conn->rl.iv_size; in tls_derive_keys()
1134 os_memcpy(conn->rl.read_iv, pos, conn->rl.iv_size); in tls_derive_keys()
1135 pos += conn->rl.iv_size; in tls_derive_keys()
1202 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_client_certificate()
1383 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_client_key_exchange()
1416 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_client_key_exchange()
1536 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_client_certificate_verify()
1565 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC, in tls_write_client_change_cipher_spec()
1573 if (tlsv1_record_change_write_cipher(&conn->rl) < 0) { in tls_write_client_change_cipher_spec()
1648 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_HANDSHAKE, in tls_write_client_finished()
1849 if (tlsv1_record_receive(&conn->rl, pos, end - pos, in tlsv1_client_handshake()
1934 if (tlsv1_record_send(&conn->rl, TLS_CONTENT_TYPE_APPLICATION_DATA, in tlsv1_client_encrypt()
1982 res = tlsv1_record_receive(&conn->rl, pos, in_end - pos, in tlsv1_client_decrypt()
2119 tlsv1_record_set_cipher_suite(&conn->rl, TLS_NULL_WITH_NULL_NULL); in tlsv1_client_deinit()
2120 tlsv1_record_change_write_cipher(&conn->rl); in tlsv1_client_deinit()
2121 tlsv1_record_change_read_cipher(&conn->rl); in tlsv1_client_deinit()
2190 switch (conn->rl.cipher_suite) { in tlsv1_client_get_cipher()
2228 tlsv1_record_set_cipher_suite(&conn->rl, TLS_NULL_WITH_NULL_NULL); in tlsv1_client_shutdown()
2229 tlsv1_record_change_write_cipher(&conn->rl); in tlsv1_client_shutdown()
2230 tlsv1_record_change_read_cipher(&conn->rl); in tlsv1_client_shutdown()
2353 return 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tlsv1_client_get_keyblock_size()
2354 conn->rl.iv_size); in tlsv1_client_get_keyblock_size()