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