Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
lecmaccalculator_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
#ifndef LECMACCALCULATOR_H
4
#define LECMACCALCULATOR_H
5
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists purely as an
11
// implementation detail. This header file may change from version to
12
// version without notice, or even be removed.
13
//
14
// We mean it.
15
//
16
17
#include <QtCore/private/qglobal_p.h>
18
#include <QtCore/quuid.h>
19
20
QT_BEGIN_NAMESPACE
21
22
class
Q_AUTOTEST_EXPORT
LeCmacCalculator
23
{
24
public
:
25
LeCmacCalculator
();
26
~LeCmacCalculator
();
27
28
static
QByteArray
createFullMessage(
const
QByteArray
&
message
,
quint32
signCounter);
29
30
quint64
calculateMac(
const
QByteArray
&
message
,
QUuid::Id128Bytes
csrk)
const
;
31
32
// Convenience function.
33
bool
verify(
const
QByteArray
&
message
,
QUuid::Id128Bytes
csrk,
quint64
expectedMac)
const
;
34
35
private
:
36
int
m_baseSocket = -1;
37
};
38
39
40
QT_END_NAMESPACE
41
42
#endif
// Header guard
LeCmacCalculator
Definition
lecmaccalculator_p.h:23
QByteArray
\inmodule QtCore
Definition
qbytearray.h:57
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
message
GLuint GLsizei const GLchar * message
Definition
qopengles2ext.h:154
Q_AUTOTEST_EXPORT
#define Q_AUTOTEST_EXPORT
Definition
qtconfigmacros.h:56
quint32
unsigned int quint32
Definition
qtypes.h:50
quint64
unsigned long long quint64
Definition
qtypes.h:61
QUuid::Id128Bytes
\inmodule QtCore
Definition
quuid.h:58
qtconnectivity
src
bluetooth
lecmaccalculator_p.h
Generated by
1.10.0