Searched refs:BACKENDKEY_LEN (Results 1 – 3 of 3) sorted by relevance
201 #define BACKENDKEY_LEN 8 macro428 uint8_t cancel_key[BACKENDKEY_LEN]; /* client: generated, server: remote */
174 if (!mbuf_get_bytes(&pkt->data, BACKENDKEY_LEN, &ckey)) { in handle_server_startup()178 memcpy(server->cancel_key, ckey, BACKENDKEY_LEN); in handle_server_startup()
862 if (mbuf_avail_for_read(&pkt->data) == BACKENDKEY_LEN in handle_client_startup()863 && mbuf_get_bytes(&pkt->data, BACKENDKEY_LEN, &key)) in handle_client_startup()865 memcpy(client->cancel_key, key, BACKENDKEY_LEN); in handle_client_startup()