aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/tgr192.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-07-08 23:57:08 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-08 23:57:08 -0400
commit4d2fa8b44b891f0da5ceda3e5a1402ccf0ab6f26 (patch)
treecbb763ec5e74cfbaac6ce53df277883cb78a8a1a /crypto/tgr192.c
parent8b68150883ca466a23e90902dd4113b22e692f04 (diff)
parentf3880a23564e3172437285ebcb5b8a124539fdae (diff)
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto updates from Herbert Xu: "Here is the crypto update for 5.3: API: - Test shash interface directly in testmgr - cra_driver_name is now mandatory Algorithms: - Replace arc4 crypto_cipher with library helper - Implement 5 way interleave for ECB, CBC and CTR on arm64 - Add xxhash - Add continuous self-test on noise source to drbg - Update jitter RNG Drivers: - Add support for SHA204A random number generator - Add support for 7211 in iproc-rng200 - Fix fuzz test failures in inside-secure - Fix fuzz test failures in talitos - Fix fuzz test failures in qat" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (143 commits) crypto: stm32/hash - remove interruptible condition for dma crypto: stm32/hash - Fix hmac issue more than 256 bytes crypto: stm32/crc32 - rename driver file crypto: amcc - remove memset after dma_alloc_coherent crypto: ccp - Switch to SPDX license identifiers crypto: ccp - Validate the the error value used to index error messages crypto: doc - Fix formatting of new crypto engine content crypto: doc - Add parameter documentation crypto: arm64/aes-ce - implement 5 way interleave for ECB, CBC and CTR crypto: arm64/aes-ce - add 5 way interleave routines crypto: talitos - drop icv_ool crypto: talitos - fix hash on SEC1. crypto: talitos - move struct talitos_edesc into talitos.h lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZE crypto/NX: Set receive window credits to max number of CRBs in RxFIFO crypto: asymmetric_keys - select CRYPTO_HASH where needed crypto: serpent - mark __serpent_setkey_sbox noinline crypto: testmgr - dynamically allocate crypto_shash crypto: testmgr - dynamically allocate testvec_config crypto: talitos - eliminate unneeded 'done' functions at build time ...
Diffstat (limited to 'crypto/tgr192.c')
-rw-r--r--crypto/tgr192.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/crypto/tgr192.c b/crypto/tgr192.c
index 702c2c89c7a1..052648e24909 100644
--- a/crypto/tgr192.c
+++ b/crypto/tgr192.c
@@ -630,9 +630,10 @@ static struct shash_alg tgr_algs[3] = { {
630 .final = tgr192_final, 630 .final = tgr192_final,
631 .descsize = sizeof(struct tgr192_ctx), 631 .descsize = sizeof(struct tgr192_ctx),
632 .base = { 632 .base = {
633 .cra_name = "tgr192", 633 .cra_name = "tgr192",
634 .cra_blocksize = TGR192_BLOCK_SIZE, 634 .cra_driver_name = "tgr192-generic",
635 .cra_module = THIS_MODULE, 635 .cra_blocksize = TGR192_BLOCK_SIZE,
636 .cra_module = THIS_MODULE,
636 } 637 }
637}, { 638}, {
638 .digestsize = TGR160_DIGEST_SIZE, 639 .digestsize = TGR160_DIGEST_SIZE,
@@ -641,9 +642,10 @@ static struct shash_alg tgr_algs[3] = { {
641 .final = tgr160_final, 642 .final = tgr160_final,
642 .descsize = sizeof(struct tgr192_ctx), 643 .descsize = sizeof(struct tgr192_ctx),
643 .base = { 644 .base = {
644 .cra_name = "tgr160", 645 .cra_name = "tgr160",
645 .cra_blocksize = TGR192_BLOCK_SIZE, 646 .cra_driver_name = "tgr160-generic",
646 .cra_module = THIS_MODULE, 647 .cra_blocksize = TGR192_BLOCK_SIZE,
648 .cra_module = THIS_MODULE,
647 } 649 }
648}, { 650}, {
649 .digestsize = TGR128_DIGEST_SIZE, 651 .digestsize = TGR128_DIGEST_SIZE,
@@ -652,9 +654,10 @@ static struct shash_alg tgr_algs[3] = { {
652 .final = tgr128_final, 654 .final = tgr128_final,
653 .descsize = sizeof(struct tgr192_ctx), 655 .descsize = sizeof(struct tgr192_ctx),
654 .base = { 656 .base = {
655 .cra_name = "tgr128", 657 .cra_name = "tgr128",
656 .cra_blocksize = TGR192_BLOCK_SIZE, 658 .cra_driver_name = "tgr128-generic",
657 .cra_module = THIS_MODULE, 659 .cra_blocksize = TGR192_BLOCK_SIZE,
660 .cra_module = THIS_MODULE,
658 } 661 }
659} }; 662} };
660 663