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