Contributors: 17
	  
        
          | Author | 
          Tokens | 
          Token Proportion | 
          Commits | 
          Commit Proportion | 
        
	  
	  
        
        
          | Michal Ludvig | 
          298 | 
          40.49% | 
          1 | 
          4.00% | 
        
        
          | Martin Willi | 
          187 | 
          25.41% | 
          1 | 
          4.00% | 
        
        
          | Sebastian Andrzej Siewior | 
          55 | 
          7.47% | 
          3 | 
          12.00% | 
        
        
          | Jussi Kivilinna | 
          41 | 
          5.57% | 
          3 | 
          12.00% | 
        
        
          | Herbert Xu | 
          29 | 
          3.94% | 
          4 | 
          16.00% | 
        
        
          | Tim Chen | 
          26 | 
          3.53% | 
          1 | 
          4.00% | 
        
        
          | Harald Welte | 
          23 | 
          3.12% | 
          1 | 
          4.00% | 
        
        
          | Rik Snel | 
          17 | 
          2.31% | 
          2 | 
          8.00% | 
        
        
          | James Morris | 
          15 | 
          2.04% | 
          1 | 
          4.00% | 
        
        
          | Johannes Goetzfried | 
          13 | 
          1.77% | 
          1 | 
          4.00% | 
        
        
          | Gilad Ben-Yossef | 
          11 | 
          1.49% | 
          1 | 
          4.00% | 
        
        
          | Kartikey Mahendra Bhatt | 
          7 | 
          0.95% | 
          1 | 
          4.00% | 
        
        
          | Mikko Herranen | 
          5 | 
          0.68% | 
          1 | 
          4.00% | 
        
        
          | Erlend Aasland | 
          5 | 
          0.68% | 
          1 | 
          4.00% | 
        
        
          | Thomas Gleixner | 
          2 | 
          0.27% | 
          1 | 
          4.00% | 
        
        
          | Adrian Bunk | 
          1 | 
          0.14% | 
          1 | 
          4.00% | 
        
        
          | Atsushi Nemoto | 
          1 | 
          0.14% | 
          1 | 
          4.00% | 
        
	  
	  
        
          | Total | 
          736 | 
           | 
          25 | 
           | 
	    
	  
    
 
/* 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 <jmorris@intercode.com.au>
 * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org>
 * Copyright (c) 2007 Nokia Siemens Networks
 */
#ifndef _CRYPTO_TCRYPT_H
#define _CRYPTO_TCRYPT_H
struct cipher_speed_template {
	const char *key;
	unsigned int klen;
};
struct aead_speed_template {
	const char *key;
	unsigned int klen;
};
struct hash_speed {
	unsigned int blen;	/* buffer length */
	unsigned int plen;	/* per-update length */
};
/*
 * DES test vectors.
 */
#define DES3_SPEED_VECTORS	1
static struct cipher_speed_template des3_speed_template[] = {
	{
		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
			  "\x55\x55\x55\x55\x55\x55\x55\x55"
			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
		.klen	= 24,
	}
};
/*
 * Cipher speed tests
 */
static u8 speed_template_8[] = {8, 0};
static u8 speed_template_16[] = {16, 0};
static u8 speed_template_24[] = {24, 0};
static u8 speed_template_8_16[] = {8, 16, 0};
static u8 speed_template_8_32[] = {8, 32, 0};
static u8 speed_template_16_32[] = {16, 32, 0};
static u8 speed_template_16_24_32[] = {16, 24, 32, 0};
static u8 speed_template_20_28_36[] = {20, 28, 36, 0};
static u8 speed_template_32_40_48[] = {32, 40, 48, 0};
static u8 speed_template_32_48[] = {32, 48, 0};
static u8 speed_template_32_48_64[] = {32, 48, 64, 0};
static u8 speed_template_32_64[] = {32, 64, 0};
static u8 speed_template_32[] = {32, 0};
/*
 * AEAD speed tests
 */
static u8 aead_speed_template_19[] = {19, 0};
static u8 aead_speed_template_20[] = {20, 0};
static u8 aead_speed_template_36[] = {36, 0};
/*
 * Digest speed tests
 */
static struct hash_speed generic_hash_speed_template[] = {
	{ .blen = 16,	.plen = 16, },
	{ .blen = 64,	.plen = 16, },
	{ .blen = 64,	.plen = 64, },
	{ .blen = 256,	.plen = 16, },
	{ .blen = 256,	.plen = 64, },
	{ .blen = 256,	.plen = 256, },
	{ .blen = 1024,	.plen = 16, },
	{ .blen = 1024,	.plen = 256, },
	{ .blen = 1024,	.plen = 1024, },
	{ .blen = 2048,	.plen = 16, },
	{ .blen = 2048,	.plen = 256, },
	{ .blen = 2048,	.plen = 1024, },
	{ .blen = 2048,	.plen = 2048, },
	{ .blen = 4096,	.plen = 16, },
	{ .blen = 4096,	.plen = 256, },
	{ .blen = 4096,	.plen = 1024, },
	{ .blen = 4096,	.plen = 4096, },
	{ .blen = 8192,	.plen = 16, },
	{ .blen = 8192,	.plen = 256, },
	{ .blen = 8192,	.plen = 1024, },
	{ .blen = 8192,	.plen = 4096, },
	{ .blen = 8192,	.plen = 8192, },
	/* End marker */
	{  .blen = 0,	.plen = 0, }
};
static struct hash_speed poly1305_speed_template[] = {
	{ .blen = 96,	.plen = 16, },
	{ .blen = 96,	.plen = 32, },
	{ .blen = 96,	.plen = 96, },
	{ .blen = 288,	.plen = 16, },
	{ .blen = 288,	.plen = 32, },
	{ .blen = 288,	.plen = 288, },
	{ .blen = 1056,	.plen = 32, },
	{ .blen = 1056,	.plen = 1056, },
	{ .blen = 2080,	.plen = 32, },
	{ .blen = 2080,	.plen = 2080, },
	{ .blen = 4128,	.plen = 4128, },
	{ .blen = 8224,	.plen = 8224, },
	/* End marker */
	{  .blen = 0,	.plen = 0, }
};
#endif	/* _CRYPTO_TCRYPT_H */