NTSTATUS status;
/* Sign the outgoing packet if required. */
- status = srv_calculate_sign_mac(xconn, buf_out, seqnum);
+ status = smb1_srv_calculate_sign_mac(xconn, buf_out, seqnum);
if (!NT_STATUS_IS_OK(status)) {
DBG_ERR("Failed to calculate signing mac: %s\n",
nt_errstr(status));
bool smb1_srv_check_sign_mac(struct smbXsrv_connection *conn,
const char *inbuf, uint32_t *seqnum, bool trusted_channel);
-NTSTATUS srv_calculate_sign_mac(struct smbXsrv_connection *conn,
+NTSTATUS smb1_srv_calculate_sign_mac(struct smbXsrv_connection *conn,
char *outbuf, uint32_t seqnum);
void srv_cancel_sign_response(struct smbXsrv_connection *conn);
bool srv_init_signing(struct smbXsrv_connection *conn);
Called to sign an outgoing packet to the client.
************************************************************/
-NTSTATUS srv_calculate_sign_mac(struct smbXsrv_connection *conn,
+NTSTATUS smb1_srv_calculate_sign_mac(struct smbXsrv_connection *conn,
char *outbuf, uint32_t seqnum)
{
uint8_t *outhdr;