ファイル名tls.c
ソースファイル情報| 内容 | 行数 | 比率 |
|---|---|---|
| コメント行数 | 479 | 27% |
| 空行行数 | 262 | 15% |
| 実行行数 | 1016 | 58% |
| 合計行数 | 1757 | 100% |
関数定義数| 内容 | 定義数 |
|---|---|
| 関数数 | 44 |
定義関数| No. | 型 | 名称 | 属性 | 説明 |
|---|---|---|---|---|
1 |
tls_uint24 | static unsigned long | Utility functions | |
2 |
free_tls | static void | Cleanup functions | |
3 |
tls_close | static void | Finish with TLS session | |
4 |
tls_generate_random | static void | Random number generation | |
5 |
tls_hmac_update_va | static void | Update HMAC with a list of ( data, len ) pairs | |
6 |
tls_p_hash_va | static void | Generate secure pseudo-random data using a single hash function | |
7 |
tls_prf | static void | Generate secure pseudo-random data | |
8 |
tls_generate_master_secret | static void | Secret management | |
9 |
tls_generate_keys | static int | Generate key material | |
10 |
tls_clear_cipher | static void | Cipher suite management | |
11 |
tls_set_cipher | static int | Set cipher suite | |
12 |
tls_select_cipher | static int | Select next cipher suite | |
13 |
tls_change_cipher | static int | Activate next cipher suite | |
14 |
tls_add_handshake | static void | Handshake verification | |
15 |
tls_verify_handshake | static void | Calculate handshake verification hash | |
16 |
tls_send_handshake | static int | Record handling | |
17 |
tls_send_client_hello | static int | Transmit Client Hello record | |
18 |
tls_send_client_key_exchange | static int | Transmit Client Key Exchange record | |
19 |
tls_send_change_cipher | static int | Transmit Change Cipher record | |
20 |
tls_send_finished | static int | Transmit Finished record | |
21 |
tls_new_change_cipher | static int | Receive new Change Cipher record | |
22 |
tls_new_alert | static int | Receive new Alert record | |
23 |
tls_new_server_hello | static int | Receive new Server Hello handshake record | |
24 |
tls_new_certificate | static int | Receive new Certificate handshake record | |
25 |
tls_new_server_hello_done | static int | Receive new Server Hello Done handshake record | |
26 |
tls_new_finished | static int | Receive new Finished handshake record | |
27 |
tls_new_handshake | static int | Receive new Handshake record | |
28 |
tls_new_record | static int | Receive new record | |
29 |
tls_hmac | static void | Record encryption/decryption | |
30 |
tls_assemble_stream | static void * __malloc | Allocate and assemble stream-ciphered record from data and MAC portions | |
31 |
tls_assemble_block | static void * | Allocate and assemble block-ciphered record from data and MAC portions | |
32 |
tls_send_plaintext | static int | Send plaintext record | |
33 |
tls_split_stream | static int | Split stream-ciphered record into data and MAC portions | |
34 |
tls_split_block | static int | Split block-ciphered record into data and MAC portions | |
35 |
tls_new_ciphertext | static int | Receive new ciphertext record | |
36 |
tls_plainstream_close | static void | Plaintext stream operations | |
37 |
tls_plainstream_window | static size_t | Check flow control window | |
38 |
tls_plainstream_deliver_raw | static int | Deliver datagram as raw data | |
39 |
tls_cipherstream_close | static void | Ciphertext stream operations | |
40 |
tls_newdata_process_header | static int | Handle received TLS header | |
41 |
tls_newdata_process_data | static int | Handle received TLS data payload | |
42 |
tls_cipherstream_deliver_raw | static int | Receive new ciphertext | |
43 |
tls_step | static void | Controlling process | |
44 |
add_tls | int | Instantiator |
目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー