Searched refs:HMDFS_KEY_SIZE (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
D | crypto.c | 56 u8 key_meterial[HMDFS_KEY_SIZE]; in tls_crypto_info_init() 104 memset(key_meterial, 0, HMDFS_KEY_SIZE); in tls_crypto_info_init() 117 u8 new_key[HMDFS_KEY_SIZE]; in tls_set_tx() 118 u8 key_meterial[HMDFS_KEY_SIZE]; in tls_set_tx() 123 memcpy(tcp->connect->send_key, new_key, HMDFS_KEY_SIZE); in tls_set_tx() 138 memset(new_key, 0, HMDFS_KEY_SIZE); in tls_set_tx() 139 memset(key_meterial, 0, HMDFS_KEY_SIZE); in tls_set_tx() 148 u8 new_key[HMDFS_KEY_SIZE]; in tls_set_rx() 149 u8 key_meterial[HMDFS_KEY_SIZE]; in tls_set_rx() 154 memcpy(tcp->connect->recv_key, new_key, HMDFS_KEY_SIZE); in tls_set_rx() [all …]
|
D | connection.h | 20 #define HMDFS_KEY_SIZE 32 macro 63 u8 master_key[HMDFS_KEY_SIZE]; 64 u8 send_key[HMDFS_KEY_SIZE]; 65 u8 recv_key[HMDFS_KEY_SIZE];
|
D | connection.c | 313 __u8 key1[HMDFS_KEY_SIZE]; in connection_handshake_init_tls() 314 __u8 key2[HMDFS_KEY_SIZE]; in connection_handshake_init_tls() 327 memcpy(conn_impl->send_key, key1, HMDFS_KEY_SIZE); in connection_handshake_init_tls() 328 memcpy(conn_impl->recv_key, key2, HMDFS_KEY_SIZE); in connection_handshake_init_tls() 330 memcpy(conn_impl->send_key, key2, HMDFS_KEY_SIZE); in connection_handshake_init_tls() 331 memcpy(conn_impl->recv_key, key1, HMDFS_KEY_SIZE); in connection_handshake_init_tls() 334 memset(key1, 0, HMDFS_KEY_SIZE); in connection_handshake_init_tls() 335 memset(key2, 0, HMDFS_KEY_SIZE); in connection_handshake_init_tls() 780 memset(conn->master_key, 0, HMDFS_KEY_SIZE); in connection_release() 781 memset(conn->send_key, 0, HMDFS_KEY_SIZE); in connection_release() [all …]
|
D | device_node.h | 27 uint8_t masterkey[HMDFS_KEY_SIZE];
|
D | socket_adapter.h | 18 #define HMDFS_KEY_SIZE 32 macro
|
D | transport.c | 871 ret = crypto_aead_setkey(tfm, sec_key, HMDFS_KEY_SIZE); in set_tfm() 925 memcpy(tcp->connect->master_key, master_key, HMDFS_KEY_SIZE); in tcp_update_socket() 926 memcpy(tcp->connect->send_key, master_key, HMDFS_KEY_SIZE); in tcp_update_socket() 927 memcpy(tcp->connect->recv_key, master_key, HMDFS_KEY_SIZE); in tcp_update_socket()
|