summaryrefslogtreecommitdiff
path: root/include/crypto/null.h
blob: 3f0c59fb0a61d8c0159ed7fa94c24c5f1e47b4e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Values for NULL algorithms */

#ifndef _CRYPTO_NULL_H
#define _CRYPTO_NULL_H

#define NULL_KEY_SIZE		0
#define NULL_BLOCK_SIZE		1
#define NULL_DIGEST_SIZE	0
#define NULL_IV_SIZE		0

struct crypto_skcipher *crypto_get_default_null_skcipher(void);
void crypto_put_default_null_skcipher(void);

static inline struct crypto_skcipher *crypto_get_default_null_skcipher2(void)
{
	return crypto_get_default_null_skcipher();
}

static inline void crypto_put_default_null_skcipher2(void)
{
	crypto_put_default_null_skcipher();
}

#endif
='/cgit.cgi/linux/net-next.git/commit/net/nfc/nci/Makefile?id=354a32985a863c9eecd381a5f9eea480d5abc6dc'>354a32985a863c9eecd381a5f9eea480d5abc6dc (patch) tree754c5200bb8c6147577ab123b5a36076d2dd945b /net/nfc/nci/Makefile parent9ce9a123d9e70b764be3a3df92c61c2639b7acff (diff)
HID: wacom: generic: Don't return a value for wacom_wac_event
It is unnecessary to return a value since nothing is expecting a value from it. Signed-off-by: Ping Cheng <ping.cheng@wacom.com> Reviewed-By: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net/nfc/nci/Makefile')