aboutsummaryrefslogtreecommitdiff
path: root/lib/olm/utils.h
blob: 85d4605b6a43f062a3b33bc4e61d8e17d591f90b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
//
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once
#ifdef Quotient_E2EE_ENABLED

#include "olm/e2ee.h"

namespace Quotient {
// Convert PicklingMode to key
QByteArray toKey(const PicklingMode &mode);
QByteArray getRandom(size_t bufferSize);
}
#endif