diff options
| author | Manuel Bentele | 2020-10-23 15:18:01 +0200 |
|---|---|---|
| committer | Manuel Bentele | 2020-10-23 15:18:01 +0200 |
| commit | dbb41ce2b7f309d394054a6bd1e33afd578798a5 (patch) | |
| tree | 6a31092063d9f2fb5ac5720ec6759040e793c3d5 /kernel/tests/include/lapi/if_alg.h | |
| parent | Set Linux kernel version to unknown if it is not detectable (diff) | |
| download | xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.tar.gz xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.tar.xz xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.zip | |
Move the source code of all xloop components to the common 'src' directory
Diffstat (limited to 'kernel/tests/include/lapi/if_alg.h')
| -rw-r--r-- | kernel/tests/include/lapi/if_alg.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/kernel/tests/include/lapi/if_alg.h b/kernel/tests/include/lapi/if_alg.h deleted file mode 100644 index 9c04a44..0000000 --- a/kernel/tests/include/lapi/if_alg.h +++ /dev/null @@ -1,59 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2019 Google LLC - */ - -#ifndef IF_ALG_H__ -#define IF_ALG_H__ - -#ifdef HAVE_LINUX_IF_ALG_H -# include <linux/if_alg.h> -#endif -# include <stdint.h> - -#ifndef HAVE_STRUCT_SOCKADDR_ALG -struct sockaddr_alg { - uint16_t salg_family; - uint8_t salg_type[14]; - uint32_t salg_feat; - uint32_t salg_mask; - uint8_t salg_name[64]; -}; -#endif - -#ifndef HAVE_STRUCT_AF_ALG_IV -struct af_alg_iv { - uint32_t ivlen; - uint8_t iv[0]; -}; -#endif - -#ifndef ALG_SET_KEY -# define ALG_SET_KEY 1 -#endif - -#ifndef ALG_SET_IV -# define ALG_SET_IV 2 -#endif - -#ifndef ALG_SET_OP -# define ALG_SET_OP 3 -#endif - -#ifndef ALG_SET_AEAD_ASSOCLEN -# define ALG_SET_AEAD_ASSOCLEN 4 -#endif - -#ifndef ALG_SET_AEAD_AUTHSIZE -# define ALG_SET_AEAD_AUTHSIZE 5 -#endif - -#ifndef ALG_OP_DECRYPT -# define ALG_OP_DECRYPT 0 -#endif - -#ifndef ALG_OP_ENCRYPT -# define ALG_OP_ENCRYPT 1 -#endif - -#endif /* IF_ALG_H__ */ |
