/* Generated by ./types/gen.sh from ./types/cryptouser.h; do not edit. */
#include "defs.h"
#include "static_assert.h"
#include "types/cryptouser.h"

#ifdef HAVE_STRUCT_CRYPTO_USER_ALG
# ifdef HAVE_STRUCT_CRYPTO_USER_ALG_CRU_FLAGS
static_assert(sizeof(struct crypto_user_alg) == sizeof(struct_crypto_user_alg),
      "struct crypto_user_alg size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct crypto_user_alg) <= offsetof(struct_crypto_user_alg, cru_flags),
"struct crypto_user_alg size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_CRYPTO_USER_ALG_CRU_FLAGS */
#endif /* HAVE_STRUCT_CRYPTO_USER_ALG */

#ifdef HAVE_STRUCT_CRYPTO_REPORT_HASH
# ifdef HAVE_STRUCT_CRYPTO_REPORT_HASH_DIGESTSIZE
static_assert(sizeof(struct crypto_report_hash) == sizeof(struct_crypto_report_hash),
      "struct crypto_report_hash size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct crypto_report_hash) <= offsetof(struct_crypto_report_hash, digestsize),
"struct crypto_report_hash size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_CRYPTO_REPORT_HASH_DIGESTSIZE */
#endif /* HAVE_STRUCT_CRYPTO_REPORT_HASH */

#ifdef HAVE_STRUCT_CRYPTO_REPORT_CIPHER
# ifdef HAVE_STRUCT_CRYPTO_REPORT_CIPHER_MAX_KEYSIZE
static_assert(sizeof(struct crypto_report_cipher) == sizeof(struct_crypto_report_cipher),
      "struct crypto_report_cipher size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct crypto_report_cipher) <= offsetof(struct_crypto_report_cipher, max_keysize),
"struct crypto_report_cipher size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_CRYPTO_REPORT_CIPHER_MAX_KEYSIZE */
#endif /* HAVE_STRUCT_CRYPTO_REPORT_CIPHER */

#ifdef HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER
# ifdef HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER_IVSIZE
static_assert(sizeof(struct crypto_report_blkcipher) == sizeof(struct_crypto_report_blkcipher),
      "struct crypto_report_blkcipher size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct crypto_report_blkcipher) <= offsetof(struct_crypto_report_blkcipher, ivsize),
"struct crypto_report_blkcipher size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER_IVSIZE */
#endif /* HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER */

#ifdef HAVE_STRUCT_CRYPTO_REPORT_AEAD
# ifdef HAVE_STRUCT_CRYPTO_REPORT_AEAD_IVSIZE
static_assert(sizeof(struct crypto_report_aead) == sizeof(struct_crypto_report_aead),
      "struct crypto_report_aead size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct crypto_report_aead) <= offsetof(struct_crypto_report_aead, ivsize),
"struct crypto_report_aead size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_CRYPTO_REPORT_AEAD_IVSIZE */
#endif /* HAVE_STRUCT_CRYPTO_REPORT_AEAD */

#ifdef HAVE_STRUCT_CRYPTO_REPORT_RNG
# ifdef HAVE_STRUCT_CRYPTO_REPORT_RNG_SEEDSIZE
static_assert(sizeof(struct crypto_report_rng) == sizeof(struct_crypto_report_rng),
      "struct crypto_report_rng size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct crypto_report_rng) <= offsetof(struct_crypto_report_rng, seedsize),
"struct crypto_report_rng size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_CRYPTO_REPORT_RNG_SEEDSIZE */
#endif /* HAVE_STRUCT_CRYPTO_REPORT_RNG */
