aboutsummaryrefslogtreecommitdiff
path: root/networking/tls_aesgcm.h
blob: a71eced54eccc59de218d4e12a58f734613a4ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright (C) 2018 Denys Vlasenko
 *
 * Licensed under GPLv2, see file LICENSE in this source tree.
 */

void xorbuf(void* buf, const void* mask, unsigned count) FAST_FUNC;

void aesgcm_GHASH(uint8_t* h,
	const uint8_t* a, unsigned aSz,
	const uint8_t* c, unsigned cSz,
	uint8_t* s, unsigned sSz
) FAST_FUNC;