linux/crypto/tcrypt.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Quick & dirty crypto testing module.
 *
 * This will only exist until we have a better testing mechanism
 * (e.g. a char device).
 *
 * Copyright (c) 2002 James Morris <[email protected]>
 * Copyright (c) 2002 Jean-Francois Dive <[email protected]>
 * Copyright (c) 2007 Nokia Siemens Networks
 */
#ifndef _CRYPTO_TCRYPT_H
#define _CRYPTO_TCRYPT_H

struct cipher_speed_template {};

struct aead_speed_template {};

struct hash_speed {};

/*
 * DES test vectors.
 */
#define DES3_SPEED_VECTORS

static struct cipher_speed_template des3_speed_template[] =;

/*
 * Cipher speed tests
 */
static u8 speed_template_8[] =;
static u8 speed_template_16[] =;
static u8 speed_template_24[] =;
static u8 speed_template_8_16[] =;
static u8 speed_template_8_32[] =;
static u8 speed_template_16_32[] =;
static u8 speed_template_16_24_32[] =;
static u8 speed_template_20_28_36[] =;
static u8 speed_template_32_40_48[] =;
static u8 speed_template_32_48[] =;
static u8 speed_template_32_48_64[] =;
static u8 speed_template_32_64[] =;
static u8 speed_template_32[] =;

/*
 * AEAD speed tests
 */
static u8 aead_speed_template_19[] =;
static u8 aead_speed_template_20_28_36[] =;
static u8 aead_speed_template_36[] =;

/*
 * Digest speed tests
 */
static struct hash_speed generic_hash_speed_template[] =;

static struct hash_speed poly1305_speed_template[] =;

#endif	/* _CRYPTO_TCRYPT_H */