aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
AgeCommit message (Expand)AuthorFilesLines
2019-07-08Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-84/+394
2019-06-27crypto: testmgr - dynamically allocate crypto_shashArnd Bergmann1-6/+13
2019-06-27crypto: testmgr - dynamically allocate testvec_configArnd Bergmann1-11/+32
2019-06-20crypto: arc4 - remove cipher implementationArd Biesheuvel1-0/+1
2019-06-13crypto: testmgr - add some more preemption pointsEric Biggers1-0/+6
2019-06-06crypto: xxhash - Implement xxhash supportNikolay Borisov1-0/+7
2019-06-06crypto: testmgr - test the shash APIEric Biggers1-67/+335
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-6/+1
2019-04-25crypto: testmgr - add missing self test entries for protected keysGilad Ben-Yossef1-0/+20
2019-04-25crypto: shash - remove shash_desc::flagsEric Biggers1-2/+0
2019-04-18crypto: testmgr - fuzz AEADs against their generic implementationEric Biggers1-0/+229
2019-04-18crypto: testmgr - fuzz skciphers against their generic implementationEric Biggers1-0/+197
2019-04-18crypto: testmgr - fuzz hashes against their generic implementationEric Biggers1-4/+170
2019-04-18crypto: testmgr - add helpers for fuzzing against generic implementationEric Biggers1-0/+128
2019-04-18crypto: testmgr - identify test vectors by name rather than numberEric Biggers1-87/+96
2019-04-18crypto: testmgr - expand ability to test for errorsEric Biggers1-45/+89
2019-04-18crypto: ecrdsa - add EC-RDSA test vectors to testmgrVitaly Chikunov1-0/+6
2019-04-18X.509: parse public key parameters from x509 for akcipherVitaly Chikunov1-4/+20
2019-04-18crypto: akcipher - new verify API for public key algorithmsVitaly Chikunov1-20/+30
2019-04-08crypto: testmgr - add panic_on_fail module parameterEric Biggers1-2/+6
2019-03-22crypto: testmgr - test the !may_use_simd() fallback codeEric Biggers1-24/+92
2019-03-22crypto: simd,testmgr - introduce crypto_simd_usable()Eric Biggers1-1/+25
2019-03-22crypto: testmgr - remove workaround for AEADs that modify aead_requestEric Biggers1-3/+0
2019-02-22crypto: testmgr - support checking skcipher output IVEric Biggers1-2/+4
2019-02-08crypto: testmgr - check for aead_request corruptionEric Biggers1-0/+44
2019-02-08crypto: testmgr - check for skcipher_request corruptionEric Biggers1-0/+41
2019-02-08crypto: testmgr - convert hash testing to use testvec_configsEric Biggers1-452/+343
2019-02-08crypto: testmgr - convert aead testing to use testvec_configsEric Biggers1-428/+185
2019-02-08crypto: testmgr - convert skcipher testing to use testvec_configsEric Biggers1-270/+245
2019-02-08crypto: testmgr - implement random testvec_config generationEric Biggers1-0/+117
2019-02-08crypto: testmgr - introduce CONFIG_CRYPTO_MANAGER_EXTRA_TESTSEric Biggers1-0/+14
2019-02-08crypto: testmgr - add testvec_config struct and helper functionsEric Biggers1-15/+437
2019-02-08crypto: testmgr - use kmemdupChristopher Diaz Riveros1-6/+3
2019-02-01crypto: testmgr - mark crc32 checksum as FIPS allowedMilan Broz1-0/+1
2019-02-01crypto: testmgr - skip crc32c context test for ahash algorithmsEric Biggers1-4/+10
2019-01-25crypto: clarify name of WEAK_KEY request flagEric Biggers1-7/+7
2019-01-18crypto: testmgr - unify the AEAD encryption and decryption test vectorsEric Biggers1-159/+101
2019-01-18crypto: testmgr - skip AEAD encryption test vectors with novrfy setEric Biggers1-0/+5
2019-01-18crypto: testmgr - handle endianness correctly in alg_test_crc32c()Eric Biggers1-5/+5
2019-01-18crypto: testmgr - split akcipher tests by a key typeVitaly Chikunov1-29/+57
2018-11-20crypto: adiantum - add Adiantum supportEric Biggers1-0/+12
2018-11-20crypto: nhpoly1305 - add NHPoly1305 supportEric Biggers1-0/+6
2018-11-20crypto: chacha - add XChaCha12 supportEric Biggers1-0/+6
2018-11-20crypto: chacha20-generic - add XChaCha20 supportEric Biggers1-0/+6
2018-11-16crypto: streebog - add Streebog test vectorsVitaly Chikunov1-0/+24
2018-11-09crypto: testmgr - mark cts(cbc(aes)) as FIPS allowedGilad Ben-Yossef1-0/+1
2018-11-09crypto: testmgr - add AES-CFB testsDmitry Eremin-Solenikov1-0/+7
2018-10-12crypto: testmgr - fix sizeof() on COMP_BUF_SIZEMichael Schupikov1-3/+3
2018-09-28crypto: testmgr - update sm4 test vectorsGilad Ben-Yossef1-0/+12
2018-09-04crypto: speck - remove SpeckJason A. Donenfeld1-24/+0
2018-07-09crypto: testmgr - add hash finup testsGilad Ben-Yossef1-9/+46
2018-07-01crypto: vmac - remove insecure version with hardcoded nonceEric Biggers1-6/+0
2018-07-01crypto: vmac - add nonced version with big endian digestEric Biggers1-0/+6
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+2
2018-05-31crypto: testmgr - eliminate redundant decryption test vectorsEric Biggers1-299/+110
2018-05-27crypto: testmgr - fix testing OPTIONAL_KEY hash algorithmsEric Biggers1-7/+43
2018-05-27crypto: testmgr - remove bfin_crc "hmac(crc32)" test vectorsEric Biggers1-6/+0
2018-05-19crypto: testmgr - Add test vectors for MORUSOndrej Mosnacek1-0/+18
2018-05-19crypto: testmgr - Add test vectors for AEGISOndrej Mosnacek1-0/+27
2018-05-19crypto: testmgr - reorder paes test lexicographicallyGilad Ben-Yossef1-22/+22
2018-05-05crypto: ccree - enable support for hardware keysGilad Ben-Yossef1-0/+43
2018-04-21crypto: testmgr - Allow different compression resultsMahipal Challa1-13/+37
2018-04-21crypto: zstd - Add zstd supportNick Terrell1-0/+10
2018-03-16crypto: testmgr - introduce SM4 testsGilad Ben-Yossef1-0/+9
2018-02-22crypto: speck - add test vectors for Speck64-XTSEric Biggers1-0/+9
2018-02-22crypto: speck - add test vectors for Speck128-XTSEric Biggers1-0/+9
2018-02-22crypto: speck - add support for the Speck block cipherEric Biggers1-0/+18
2018-01-26crypto: testmgr - test misuse of result in ahashKamil Konieczny1-0/+39
2018-01-12crypto: testmgr - change `guard` to unsigned charJoey Pabalinas1-1/+1
2017-11-03crypto: testmgr - move to generic async completionGilad Ben-Yossef1-138/+66
2017-09-22crypto: sm3 - add SM3 test vectorsGilad Ben-Yossef1-0/+6
2017-06-28crypto: testmgr - Reenable sha1/aes in FIPS modeHerbert Xu1-0/+1
2017-06-20crypto: testmgr - add testvector for pkcs1pad(rsa)Stephan Mueller1-4/+29
2017-06-19crypto: testmgr - use consistent format for errorsGilad Ben-Yossef1-9/+9
2017-06-10crypto: testmgr - add genkey kpp testTudor-Dan Ambarus1-11/+65
2017-04-24crypto: scomp - add support for deflate rfc1950 (zlib)Giovanni Cabiddu1-0/+10
2017-04-24crypto: testmgr - Allow ecb(cipher_null) in FIPS modeMilan Broz1-0/+1
2017-04-21crypto: testmgr - replace compression known answer testGiovanni Cabiddu1-3/+26
2017-03-24crypto: testmgr - mark ctr(des3_ede) as fips_allowedMarcelo Cerri1-0/+1
2017-03-09crypto: testmgr - constify all test vectorsEric Biggers1-30/+41
2017-02-11crypto: testmgr - add test cases for cbcmac(aes)Ard Biesheuvel1-0/+7
2017-01-13crypto: testmgr - use calculated count for number of test vectorsArd Biesheuvel1-831/+202
2017-01-13crypto: testmgr - Allocate only the required output size for hash testsAndrew Lutomirski1-4/+5
2017-01-13crypto: testmgr - use kmemdup instead of kmalloc+memcpyEric Biggers1-4/+2
2016-12-27crypto: testmgr - Use heap buffer for acomp test inputLaura Abbott1-2/+28
2016-12-08crypto: testmgr - fix overlap in chunked tests againArd Biesheuvel1-1/+1
2016-12-07crypto: testmgr - avoid overlap in chunked testsArd Biesheuvel1-1/+1
2016-11-28crypto: testmgr - don't use stack buffer in test_acomp()Eric Biggers1-3/+8
2016-11-28crypto: testmgr - Do not test internal algorithmsHerbert Xu1-144/+9
2016-10-25crypto: acomp - update testmgr with support for acompGiovanni Cabiddu1-13/+145
2016-10-02crypto: testmgr - add guard to dst buffer for ahash_exportJan Stancek1-1/+4
2016-08-31crypto: FIPS - allow tests to be disabled in FIPS modeStephan Mueller1-0/+9
2016-08-09crypto: testmgr - fix !x==y confusionYanjiang Jin1-5/+5
2016-07-19crypto: testmgr - Print akcipher algorithm nameHerbert Xu1-2/+4
2016-07-05crypto: testmgr - Set err before proceedingSalvatore Benedetto1-0/+1
2016-07-01crypto: sha3 - Add HMAC-SHA3 test modes and test vectorsraveendra padasalagi1-0/+40
2016-07-01crypto: testmgr - Allow leading zeros in RSAHerbert Xu1-27/+24
2016-06-23crypto: ecdh - Add ECDH software supportSalvatore Benedetto1-0/+10
2016-06-23crypto: dh - Add DH software implementationSalvatore Benedetto1-0/+144
2016-06-20crypto: sha3 - Add SHA-3 Test's in tcryptraveendra padasalagi1-0/+40
2016-05-17Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+9
2016-05-09crypto: testmgr - Use kmalloc memory for RSA inputHerbert Xu1-5/+22
2016-05-05crypto: testmgr - Add a flag allowing the self-tests to be disabled at runtime.Richard W.M. Jones1-0/+9
2016-02-28crypto: testmgr - allow rfc3686 aes-ctr variants in fips mode.Marcus Meissner1-0/+16
2016-02-17crypto: testmgr - mark authenticated ctr(aes) also as FIPS ableMarcus Meissner1-0/+16
2016-02-06crypto: testmgr - mark more algorithms as FIPS compliantMarcus Meissner1-0/+7
2016-02-06crypto: testmgr - fix out of bound read in __test_aead()Jerome Marchand1-2/+3
2016-02-06crypto: testmgr - Add a test case for import()/export()Wang, Rui Y1-0/+133
2016-01-27crypto: compress - remove unused pcomp interfaceJoonsoo Kim1-223/+0
2016-01-25crypto: ansi_cprng - ANSI X9.31 DRNG is not allowed in FIPS 140-2Stephan Mueller1-1/+0
2015-10-15crypto: keywrap - add testmgr supportStephan Mueller1-0/+16
2015-10-15crypto: testmgr - test IV value after a cipher operationBoris BREZILLON1-1/+11
2015-10-14crypto: akcipher - Changes to asymmetric key APITadeusz Struk1-19/+20
2015-10-01crypto: testmgr - Disable fips-allowed for authenc() and des() ciphersJohn Haxby1-16/+0
2015-09-11crypto: testmgr - don't copy from source IV too muchAndrey Ryabinin1-2/+3
2015-08-21crypto: testmgr - Use new skcipher interfaceHerbert Xu1-29/+32
2015-08-19crypto: cmac - allow usage in FIPS modeStephan Mueller1-0/+2
2015-08-04crypto: testmgr - Reenable authenc testsHerbert Xu1-13/+13
2015-08-04crypto: testmgr - Disable authenc test and convert test vectorsHerbert Xu1-13/+13
2015-07-17crypto: testmgr - Reenable rfc4309 testHerbert Xu1-1/+1
2015-07-17crypto: testmgr - Disable rfc4309 test and convert test vectorsHerbert Xu1-1/+1
2015-07-14crypto: testmgr - Reenable rfc4106 testHerbert Xu1-1/+1
2015-07-14crypto: testmgr - Disable rfc4106 test and convert test vectorsHerbert Xu1-1/+1
2015-06-25crypto: testmgr - don't print info about missing test for gcm-aes-aesniTadeusz Struk1-0/+4
2015-06-17crypto: testmgr - add tests vectors for RSATadeusz Struk1-0/+158
2015-06-17Revert "crypto: testmgr - Disable rfc4543 test"Herbert Xu1-1/+1
2015-06-17crypto: testmgr - Disable rfc4543 testHerbert Xu1-1/+1
2015-06-04crypto: testmgr - Add draft-ietf-ipsecme-chacha20-poly1305 test vectorMartin Willi1-0/+15
2015-06-04crypto: testmgr - Add ChaCha20-Poly1305 test vectors from RFC7539Martin Willi1-0/+15
2015-06-04crypto: testmgr - Add Poly1305 test vectors from RFC7539Martin Willi1-0/+9
2015-06-04crypto: testmgr - Add ChaCha20 test vectors from RFC7539Martin Willi1-0/+15
2015-05-28crypto: testmgr - Switch to new AEAD interfaceHerbert Xu1-39/+48
2015-05-27crypto: jitterentropy - add jitterentropy RNGStephan Mueller1-0/+4
2015-05-11crypto: testmgr - add test cases for CRC32Ard Biesheuvel1-0/+9
2015-04-23crypto: testmgr - Include crypto/aead.hHerbert Xu1-0/+1
2015-04-23crypto: testmgr - Include linux/fips.h for fips_enabledHerbert Xu1-0/+1
2015-03-31crypto: testmgr - use CRYPTO_ALG_INTERNALStephan Mueller1-7/+7
2015-03-13crypto: testmgr - fix RNG return code enforcementStephan Mueller1-5/+5
2015-02-04crypto: testmgr - limit IV copy length in aead testsCristian Stoica1-3/+4
2015-01-26crypto: testmgr - mark rfc4106(gcm(aes)) as fips_allowedJarod Wilson1-0/+1
2015-01-13crypto: testmgr - don't use interruptible wait in testsRabin Vincent1-28/+22
2014-10-24crypto: testmgr - Remove unnecessary KERN_INFO from testmgr.cMasanari Iida1-2/+1
2014-10-14crypto: LLVMLinux: Remove VLAIS usage from crypto/testmgr.cJan-Simon Möller1-8/+6
2014-08-29crypto: testmgr - add test for lz4 and lz4hcKOVACS Krisztian1-0/+32
2014-08-25crypto: testmgr - remove unused function argumentCristian Stoica1-11/+5
2014-08-25crypto: testmgr - delay execution of set-up codeCristian Stoica1-8/+6
2014-08-25crypto: testmgr - white space removal on __test_skcipherCristian Stoica1-149/+138
2014-08-25crypto: testmgr - white space removal on __test_hashCristian Stoica1-63/+60
2014-08-25crypto: testmgr - white space fix-ups on test_aeadCristian Stoica1-256/+242
2014-08-01crypto: testmgr - add missing spaces to drbg error stringsJarod Wilson1-3/+3
2014-07-23crypto: testmgr - avoid DMA mapping from text, rodata, stackHoria Geanta1-8/+49
2014-06-20crypto: drbg - Add DRBG test code to testmgrStephan Mueller1-0/+247
2014-05-22crypto: testmgr - add aead cbc des, des3_ede testsNitesh Lal1-12/+162
2014-05-22crypto: testmgr - Fix DMA-API warningTadeusz Struk1-2/+5
2014-03-21crypto: testmgr - add aead null encryption test vectorsHoria Geanta1-0/+32
2013-11-28crypto: testmgr - fix sglen in test_aead for case 'dst != src'Horia Geanta1-14/+12
2013-11-15tree-wide: use reinit_completion instead of INIT_COMPLETIONWolfram Sang1-6/+6
2013-09-07Reinstate "crypto: crct10dif - Wrap crc_t10dif function all to use crypto tra...Herbert Xu1-0/+10
2013-09-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linuxHerbert Xu1-10/+0
2013-08-01crypto: testmgr - remove double execution of the same test suiteCristian Stoica1-1/+1
2013-07-24Revert "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transf...Herbert Xu1-10/+0
2013-06-21crypto: testmgr - test hash implementations with unaligned buffersJussi Kivilinna1-2/+39
2013-06-21crypto: testmgr - test AEADs with unaligned buffersJussi Kivilinna1-6/+31
2013-06-21crypto: testmgr - test skciphers with unaligned buffersJussi Kivilinna1-4/+29
2013-06-21crypto: testmgr - check that entries in alg_test_descs are in correct orderJussi Kivilinna1-0/+31
2013-06-21Revert "crypto: twofish - add AVX2/x86_64 assembler implementation of twofish...Jussi Kivilinna1-12/+0
2013-06-21Revert "crypto: blowfish - add AVX2/x86_64 implementation of blowfish cipher"Jussi Kivilinna1-12/+0
2013-05-24crypto: crct10dif - Simple correctness and speed test for CRCT10DIF hashTim Chen1-0/+10
2013-04-25crypto: camellia - add AVX2/AES-NI/x86_64 assembler implementation of camelli...Jussi Kivilinna1-0/+12
2013-04-25crypto: serpent - add AVX2/x86_64 assembler implementation of serpent cipherJussi Kivilinna1-0/+15
2013-04-25crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipherJussi Kivilinna1-0/+12
2013-04-25crypto: blowfish - add AVX2/x86_64 implementation of blowfish cipherJussi Kivilinna1-0/+12
2013-04-25crypto: add CMAC support to CryptoAPIJussi Kivilinna1-0/+18
2013-04-25crypto: testmgr - add empty test vectors for null ciphersJussi Kivilinna1-0/+9
2013-04-25crypto: testmgr - add AES GMAC test vectorsJussi Kivilinna1-2/+15
2013-01-20crypto: testmgr - add test vector for fcryptJussi Kivilinna1-0/+15
2012-12-06crypto: testmgr - allow compression algs in fips modeMilan Broz1-0/+3
2012-12-06crypto: testmgr - clean alg_test_null entries in alg_test_descs[]Jussi Kivilinna1-372/+0
2012-12-06crypto: testmgr - remove fips_allowed flag from camellia-aesni null-testsJussi Kivilinna1-2/+0
2012-11-09crypto: camellia - add AES-NI/AVX/x86_64 assembler implementation of camellia...Jussi Kivilinna1-0/+62
2012-10-24crypto: testmgr - add new larger DES3_EDE testvectorsJussi Kivilinna1-0/+15
2012-10-24crypto: testmgr - add new larger DES testvectorsJussi Kivilinna1-0/+15
2012-09-27crypto: testmgr - make test_aead also test 'dst != src' code pathsJussi Kivilinna1-48/+105
2012-09-27crypto: testmgr - make test_skcipher also test 'dst != src' code pathsJussi Kivilinna1-31/+76
2012-09-27crypto: testmgr - allow non-multi page and multi page skcipher tests from sam...Jussi Kivilinna1-1/+1
2012-08-01crypto: cast6 - add x86_64/avx assembler implementationJohannes Goetzfried1-0/+60
2012-08-01crypto: testmgr - add larger cast6 testvectorsJohannes Goetzfried1-0/+60
2012-08-01crypto: cast5 - add x86_64/avx assembler implementationJohannes Goetzfried1-0/+60
2012-08-01crypto: testmgr - add larger cast5 testvectorsJohannes Goetzfried1-0/+30
2012-07-11crypto: testmgr - add aead cbc aes hmac sha1,256,512 test vectorsHoria Geanta1-0/+36
2012-07-11crypto: testmgr - allow aesni-intel and ghash_clmulni-intel in fips modeMilan Broz1-0/+38
2012-06-12crypto: serpent - add x86_64/avx assembler implementationJohannes Goetzfried1-0/+60
2012-06-12crypto: twofish - add x86_64/avx assembler implementationJohannes Goetzfried1-0/+60
2012-06-12crypto: testmgr - Add new test cases for Blackfin CRC crypto driverSonic Zhang1-0/+9
2012-03-14crypto: testmgr - add more camellia test vectorsJussi Kivilinna1-0/+45
2011-11-21crypto: serpent - add 8-way parallel x86_64/SSE2 assembler implementationJussi Kivilinna1-0/+60
2011-11-09crypto: testmgr - add xts(twofish) test vectorsJussi Kivilinna1-0/+15
2011-11-09crypto: testmgr - add xts(serpent) test vectorsJussi Kivilinna1-0/+15
2011-11-09crypto: testmgr - add lrw(twofish) test vectorsJussi Kivilinna1-0/+15
2011-11-09crypto: testmgr - add lrw(serpent) test vectorsJussi Kivilinna1-0/+15