aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/caamalg.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-20crypto: caam - Add support of paes algorithmMeenakshi Aggarwal1-11/+117
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro1-1/+1
2023-10-01crypto: caam/jr - fix Chacha20 + Poly1305 self test failureGaurav Jain1-1/+2
2023-08-18crypto: caam - Use new crypto_engine_op interfaceHerbert Xu1-89/+293
2023-08-18crypto: caam - Include internal/engine.hHerbert Xu1-2/+2
2023-04-14crypto: caam - reduce page 0 regs access to minimumHoria GeantA1-10/+11
2023-02-28crypto: caam - Fix edesc/iv ordering mixupHerbert Xu1-7/+19
2023-01-06crypto: caam - Remove GFP_DMA and add DMA alignment paddingHerbert Xu1-6/+10
2022-12-02crypto: caam - Set DMA alignment explicitlyHerbert Xu1-36/+36
2021-12-03crypto: caam - save caam memory to support crypto engine retry mechanism.Gaurav Jain1-0/+6
2020-11-06crypto: caam - fix printing on xts fallback allocation error pathHoria Geantă1-2/+2
2020-10-02crypto: caam/jr - add support for XTS with 16B IVAndrei Botila1-4/+8
2020-10-02crypto: caam - add xts check for block length equal to zeroAndrei Botila1-1/+6
2020-10-02crypto: caam/jr - add support for more XTS key lengthsAndrei Botila1-3/+10
2020-10-02crypto: caam/jr - add fallback for XTS with more than 8B IVAndrei Botila1-7/+65
2020-07-31crypto: caam - silence .setkey in case of bad key lengthHoria Geantă1-1/+1
2020-07-16crypto: drivers - set the flag CRYPTO_ALG_ALLOCATES_MEMORYMikulas Patocka1-2/+4
2020-07-16crypto: caam - Remove broken arc4 supportHerbert Xu1-29/+0
2020-04-16crypto: caam - fix the address of the last entry of S/GIuliana Prodan1-1/+1
2020-04-16crypto: caam - fix use-after-free KASAN issue for AEAD algorithmsIuliana Prodan1-1/+3
2020-04-16crypto: caam - fix use-after-free KASAN issue for SKCIPHER algorithmsIuliana Prodan1-1/+3
2020-03-06crypto: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-02-22crypto: caam - add crypto_engine support for AEAD algorithmsIuliana Prodan1-30/+77
2020-02-22crypto: caam - support crypto_engine framework for SKCIPHER algorithmsIuliana Prodan1-8/+70
2020-02-22crypto: caam - change return code in caam_jr_enqueue functionIuliana Prodan1-12/+4
2020-02-22crypto: caam - refactor skcipher/aead/gcm/chachapoly {en,de}crypt functionsIuliana Prodan1-215/+53
2020-01-09crypto: remove CRYPTO_TFM_RES_BAD_KEY_LENEric Biggers1-26/+7
2019-08-30crypto: caam - make CAAM_PTR_SZ dynamicAndrey Smirnov1-1/+1
2019-08-22crypto: caam/des - switch to new verification routinesArd Biesheuvel1-36/+13
2019-08-09crypto: caam - fix MDHA key derivation for certain user key lengthsHoria Geantă1-30/+12
2019-08-09crypto: caam - check zero-length inputIuliana Prodan1-0/+6
2019-08-09crypto: caam - check assoclenIuliana Prodan1-8/+2
2019-08-09crypto: caam - check authsizeIuliana Prodan1-0/+13
2019-08-09crypto: caam - check key lengthIuliana Prodan1-31/+94
2019-08-09crypto: caam - update IV only when crypto operation succeedsHoria Geantă1-3/+2
2019-08-09crypto: caam - fix return code in completion callbacksHoria Geantă1-14/+12
2019-06-20crypto: caam - update IV using HW supportHoria Geantă1-37/+51
2019-06-20crypto: caam - use len instead of nents for bulding HW S/G tableHoria Geantă1-18/+17
2019-06-06crypto: caam - limit output IV to CBC to work around CTR mode DMA issueArd Biesheuvel1-4/+5
2019-05-30crypto: caam - print messages in caam_dump_sg at debug levelSascha Hauer1-4/+4
2019-05-30crypto: caam - print debug messages at debug levelSascha Hauer1-87/+58
2019-05-30crypto: caam - remove unused definesSascha Hauer1-7/+0
2019-05-30crypto: caam - print IV only when non NULLSascha Hauer1-3/+4
2019-05-23crypto: caam - print debugging hex dumps after unmappingSascha Hauer1-10/+11
2019-05-23crypto: caam - convert top level drivers to librariesHoria Geantă1-40/+3
2019-05-23crypto: caam - fix S/G table passing page boundaryHoria Geantă1-2/+28
2019-05-23crypto: caam - avoid S/G table fetching for AEAD zero-length outputHoria Geantă1-0/+1
2019-05-09crypto: caam - fix DKP detection logicHerbert Xu1-2/+7
2019-04-25crypto: caam/jr - update gcm detection logicHoria Geantă1-7/+11
2019-04-18crypto: caam - Forbid 2-key 3DES in FIPS modeHerbert Xu1-12/+45
2019-03-07crypto: caam - add missing put_device() callWen Yang1-5/+7
2019-02-15crypto: caam - weak key checking for cbc des, 3desIuliana Prodan1-2/+2
2019-02-15crypto: caam - add ecb(*) supportIuliana Prodan1-42/+148
2019-02-15crypto: caam - use mapped_{src,dst}_nents for job descriptorIuliana Prodan1-7/+20
2019-02-08crypto: caam - fixed handling of sg listPankaj Gupta1-0/+1
2019-02-01crypto: caam - handle zero-length AEAD outputHoria Geantă1-8/+18
2019-01-10crypto: caam - fix SHA support detectionHoria Geantă1-1/+1
2018-11-20crypto: chacha20-generic - refactor to allow varying number of roundsEric Biggers1-1/+1
2018-11-16crypto: caam/qi2 - add support for Chacha20 + Poly1305Horia Geantă1-2/+2
2018-11-16crypto: caam/jr - add support for Chacha20 + Poly1305Horia Geantă1-4/+217
2018-11-16crypto: caam - add register map changes cf. Era 10Horia Geantă1-14/+33
2018-10-17crypto: caam - add SPDX license identifier to all filesHoria Geantă1-0/+1
2018-09-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu1-2/+2
2018-09-21crypto: caam/jr - fix ablkcipher_edesc pointer arithmeticHoria Geantă1-4/+4
2018-09-04crypto: caam/qi - ablkcipher -> skcipher conversionHoria Geantă1-6/+6
2018-09-04crypto: caam/jr - ablkcipher -> skcipher conversionHoria Geantă1-241/+207
2018-09-04crypto: caam/jr - remove ablkcipher IV generationHoria Geantă1-264/+11
2018-04-21crypto: caam - fix IV DMA mapping and updatingHoria Geantă1-121/+91
2018-04-21crypto: caam - fix DMA mapping dir for generated IVHoria Geantă1-12/+17
2018-03-31crypto: caam - don't leak pointers to authenc keysTudor-Dan Ambarus1-0/+2
2018-02-15crypto: caam - prepare for gcm(aes) support over QI interfaceHoria Geantă1-6/+13
2017-12-28crypto: caam - add Derived Key Protocol (DKP) supportHoria Geantă1-33/+79
2017-12-28crypto: caam - remove needless ablkcipher key copyHoria Geantă1-6/+2
2017-09-22crypto: caam - Use GCM IV size constantCorentin LABBE1-5/+5
2017-07-18crypto: caam/qi - fix compilation with DEBUG enabledHoria Geantă1-51/+15
2017-07-12crypto: caam - properly set IV after {en,de}cryptDavid Gstir1-2/+18
2017-06-22crypto: caam - fix gfp allocation flags (part II)Horia Geantă1-4/+3
2017-06-22crypto: caam - fix gfp allocation flags (part I)Horia Geantă1-2/+1
2017-03-24crypto: caam/qi - add ablkcipher and authenc algorithmsHoria Geantă1-4/+5
2017-02-15crypto: caam - fix DMA API leaks for multiple setkey() callsHoria Geantă1-206/+69
2017-02-15crypto: caam - use dma_map_sg() return codeHoria Geantă1-62/+71
2017-02-15crypto: caam - replace sg_count() with sg_nents_for_len()Horia Geantă1-101/+88
2017-02-15crypto: caam - check sg_count() return valueHoria Geantă1-2/+42
2017-02-15crypto: caam - fix HW S/G in ablkcipher_giv_edesc_alloc()Horia Geantă1-4/+4
2016-12-01crypto: caam - pass key buffers with typesafe pointersArnd Bergmann1-30/+30
2016-11-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu1-0/+9
2016-11-28crypto: caam - consolidate split key length computationHoria Geantă1-21/+3
2016-11-28crypto: caam - refactor encryption descriptors generationHoria Geantă1-1072/+37
2016-11-28crypto: caam - rewrite some generic inline append cmdsHoria Geantă1-10/+10
2016-11-28crypto: caam - improve key inliningHoria Geantă1-53/+77
2016-11-28crypto: caam - remove superfluous alg_op algorithm paramHoria Geantă1-61/+3
2016-11-28crypto: caam - group algorithm related paramsHoria Geantă1-171/+223
2016-11-28crypto: caam - move append_key_aead() into init_sh_desc_key_aead()Horia Geantă1-18/+12
2016-11-17crypto: caam - fix type mismatch warningArnd Bergmann1-1/+1
2016-11-13crypto: caam - fix DMA API mapping leak in ablkcipher codeHoria Geantă1-0/+44
2016-11-13crypto: caam - trivial code clean-upHoria Geantă1-12/+4
2016-11-13crypto: caam - remove unused command from aead givencryptHoria Geantă1-4/+1
2016-11-13crypto: caam - remove unused may_sleep in dbg_dump_sg()Horia Geantă1-13/+6
2016-11-13crypto: caam - fix smatch warningsHoria Geantă1-3/+1
2016-11-13crypto: caam - fix AEAD givenc descriptorsAlex Porosanu1-1/+3
2016-11-13crypto: caam - do not register AES-XTS mode on LP unitsSven Ebenfeld1-0/+9
2016-11-01crypto: caam - fix type mismatch warningArnd Bergmann1-1/+1
2016-10-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu1-40/+37
2016-09-22crypto: caam - fix sg dumpCatalin Vasile1-18/+61
2016-09-07crypto: caam - fix rfc3686(ctr(aes)) IV loadCatalin Vasile1-42/+40
2016-08-31crypto: caam - fix IV loading for authenc (giv)decryptionHoria Geantă1-40/+37
2016-08-08crypto: caam - defer aead_set_sh_desc in case of zero authsizeHoria Geantă1-0/+3
2016-08-08crypto: caam - fix echainiv(authenc) encrypt shared descriptorHoria Geantă1-5/+5
2015-10-08crypto: caam - add support for acipher xts(aes)Catalin Vasile1-1/+137
2015-10-01crypto: caam - dma_map_sg can handle chained SGLABBE Corentin1-60/+34
2015-08-24crypto: caam - Use the preferred style for memory allocationsFabio Estevam1-1/+1
2015-08-17crypto: aead - Remove CRYPTO_ALG_AEAD_NEW flagHerbert Xu1-2/+1
2015-08-10crypto: caam - Detect hardware features during algorithm registrationVictoria Milhoan1-6/+62
2015-08-10crypto: caam - Change kmalloc to kzalloc to avoid residual dataVictoria Milhoan1-6/+6
2015-08-04crypto: caam - Convert authenc to new AEAD interfaceHerbert Xu1-1245/+1316
2015-07-31crypto: caam - fix rfc4106 encap shared descriptorHoria Geant?1-9/+15
2015-07-14crypto: caam - Use new IV conventionHerbert Xu1-26/+49
2015-06-19crypto: caam - Set last bit on src SG listHerbert Xu1-1/+1
2015-06-19crypto: caam - Reintroduce DESC_MAX_USED_BYTESHerbert Xu1-1/+2
2015-06-17crypto: caam - Convert GCM to new AEAD interfaceHerbert Xu1-634/+686
2015-06-09crypto: caam - Clamp AEAD SG list by input lengthHerbert Xu1-12/+8
2015-05-22crypto: caam - Use old_aead_algHerbert Xu1-1/+1
2015-05-13crypto: caam - Remove unnecessary reference to crt_aeadHerbert Xu1-48/+48
2015-04-23crypto: caam - Remove bogus references to crypto API internalsHerbert Xu1-4/+0
2015-01-26crypto: caam - remove dead codeCristian Stoica1-7/+7
2014-11-12crypto: caam - add support for givencrypt cbc(des) and cbc(des3_ede)Catalin Vasile1-4/+6
2014-11-06crypto: caam - add support for givencrypt cbc(aes) and rfc3686(ctr(aes))Catalin Vasile1-4/+281
2014-11-06crypto: caam - add support for rfc3686 with authenc md5, sha1 and sha2Catalin Vasile1-26/+236
2014-11-06crypto: caam - add support for rfc3686(ctr(aes))Catalin Vasile1-5/+78
2014-11-06crypto: caam - add support for ctr(aes)Catalin Vasile1-5/+35
2014-11-06crypto: caam - add support for rfc4543(gcm(aes))Tudor Ambarus1-1/+457
2014-11-06crypto: caam - fix output sequence contiguity checkTudor Ambarus1-1/+2
2014-10-24crypto: caam - add support for rfc4106(gcm(aes))Tudor Ambarus1-15/+414
2014-10-24crypto: caam - add support for gcm(aes)Tudor Ambarus1-11/+331
2014-07-23crypto: caam - set DK (Decrypt Key) bit only for AES acceleratorHoria Geanta1-0/+7
2014-07-23crypto: caam - fix "failed to check map error" DMA warningsHoria Geanta1-3/+31
2014-07-23crypto: caam - fix typo in dma_mapping_errorHoria Geanta1-1/+1
2014-07-10crypto: caam - Check for CAAM block presence before registering with crypto l...Ruchika Gupta1-0/+29
2014-06-25crypto: caam - Correct the dma mapping for sg tableRuchika Gupta1-4/+4
2014-05-13crypto: caam - reinitialize keys_fit_inline for decrypt and givencryptVakul Garg1-0/+3
2014-05-08crypto: caam - Contain caam_jr_strstatus() uglinessMarek Vasut1-20/+8
2014-03-21crypto: caam - add missing key_dma unmapHoria Geanta1-0/+5
2014-03-21crypto: caam - add support for aead null encryptionHoria Geanta1-3/+324
2014-03-21crypto: caam - remove error propagation handlingHoria Geanta1-47/+7
2013-12-20crypto: caam - simplify and harden key parsingHoria Geanta1-23/+13
2013-11-28crypto: caam - fix aead sglen for case 'dst != src'Horia Geanta1-22/+29
2013-10-30crypto: caam - Modify the interface layers to use JR API'sRuchika Gupta1-72/+20
2013-10-30crypto: caam - Add Platform driver for Job RingRuchika Gupta1-1/+3
2013-09-13crypto: caam - fix hash, alg and rng registration if CAAM driver not initializedAlex Porosanu1-0/+7
2013-08-21crypto: caam - replace xstr macro with __stringifyAlex Porosanu1-39/+39
2013-07-10crypto: caam - Moved macro DESC_JOB_IO_LEN to desc_constr.hVakul Garg1-2/+0
2013-05-14crypto: caam - fix inconsistent assoc dma mapping directionHoria Geanta1-2/+2
2013-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Linus Torvalds1-0/+6
2013-03-22crypto: caam - Fix missing init of '.type' in AEAD algos.Vakul Garg1-0/+6
2013-03-21Revert "crypto: caam - add IPsec ESN support"Horia Geanta1-25/+2
2012-09-07crypto: caam - add IPsec ESN supportHoria Geanta1-2/+25
2012-09-07crypto: caam - coccicheck fixesKim Phillips1-8/+8
2012-08-01crypto: caam - set descriptor sharing type to SERIALKim Phillips1-4/+4
2012-06-27crypto: caam - chaining supportYuan Kang1-44/+70
2012-06-27crypto: caam - link_tbl renameYuan Kang1-113/+113
2012-06-27crypto: caam - refactor key_gen, sgYuan Kang1-189/+8
2012-06-27crypto: caam - remove jr register/deregisterYuan Kang1-28/+2
2012-06-27crypto: caam - support external seq in/out lengthsYuan Kang1-2/+3
2012-06-27crypto: caam - remove line continuations from ablkcipher_append_src_dstKim Phillips1-5/+5
2012-03-29crypto: caam - add backward compatible string sec4.0Shengzhou Liu1-4/+10
2012-01-13crypto: caam - be less noisy on startupKim Phillips1-4/+4
2012-01-13crypto: caam - add sha224 and sha384 variants to existing AEAD algorithmsHemant Agrawal1-0/+115
2012-01-13crypto: Add CRYPTO_ALG_KERN_DRIVER_ONLY flagNikos Mavrogiannopoulos1-1/+2
2011-12-20crypto: caam - fix polarity of "propagate error" logicKim Phillips1-5/+5
2011-11-21crypto: caam - add support for MD5 algorithm variantsKim Phillips1-0/+57
2011-07-15crypto: caam - ablkcipher supportYuan Kang1-0/+510
2011-07-15crypto: caam - faster aead implementationYuan Kang1-329/+775
2011-07-15crypto: caam - structure renamingYuan Kang1-21/+43
2011-07-15crypto: caam - shorter namesYuan Kang1-137/+137
2011-06-30crypto: caam - fix operator precedence in shared descriptor allocationKim Phillips1-3/+3
2011-05-19crypto: caam - add support for sha512 variants of existing AEAD algorithmsKim Phillips1-13/+106
2011-05-19crypto: caam - remove unused authkeylen from caam_ctxKim Phillips1-2/+0
2011-05-19crypto: caam - fix decryption shared vs. non-shared key settingKim Phillips1-4/+22
2011-05-04crypto: caam - fix printk recursion for long error textsKim Phillips1-3/+3
2011-05-04crypto: caam - remove unused keylen from session contextKim Phillips1-2/+0
2011-05-03crypto: caam - remove duplicate dev_errKim Phillips1-1/+0
2011-05-03crypto: caam - remove WAIT-FOR-COMPLETIONs from givencrypt descriptorKim Phillips1-4/+2
2011-04-08crypto: caam - introduce missing kfreeJulia Lawall1-0/+1
2011-03-27crypto: caam - dereferencing ERR_PTR on allocation failureDan Carpenter1-1/+1
2011-03-27crypto: caam - standardize device tree naming convention to utilize '-vX.Y'Kim Phillips1-2/+2
2011-03-27crypto: caam - Add support for the Freescale SEC4/CAAMKim Phillips1-0/+1163