| /linux/lib/crypto/tests/ |
| H A D | Kconfig | 42 tristate "KUnit tests for SHA-1" if !KUNIT_ALL_TESTS 48 KUnit tests for the SHA-1 cryptographic hash function and its 51 # Option is named *_SHA256_KUNIT_TEST, though both SHA-224 and SHA-256 tests are 54 tristate "KUnit tests for SHA-224 and SHA-256" if !KUNIT_ALL_TESTS 60 KUnit tests for the SHA-224 and SHA-256 cryptographic hash functions 63 # Option is named *_SHA512_KUNIT_TEST, though both SHA-384 and SHA-512 tests are 66 tristate "KUnit tests for SHA-384 and SHA-512" if !KUNIT_ALL_TESTS 72 KUnit tests for the SHA-384 and SHA-512 cryptographic hash functions
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto-sha.c | 3 * AMD Cryptographic Coprocessor (CCP) SHA crypto API support 136 rctx->cmd.u.sha.type = rctx->type; in ccp_do_sha_update() 137 rctx->cmd.u.sha.ctx = &rctx->ctx_sg; in ccp_do_sha_update() 141 rctx->cmd.u.sha.ctx_len = SHA1_DIGEST_SIZE; in ccp_do_sha_update() 144 rctx->cmd.u.sha.ctx_len = SHA224_DIGEST_SIZE; in ccp_do_sha_update() 147 rctx->cmd.u.sha.ctx_len = SHA256_DIGEST_SIZE; in ccp_do_sha_update() 150 rctx->cmd.u.sha.ctx_len = SHA384_DIGEST_SIZE; in ccp_do_sha_update() 153 rctx->cmd.u.sha.ctx_len = SHA512_DIGEST_SIZE; in ccp_do_sha_update() 160 rctx->cmd.u.sha.src = sg; in ccp_do_sha_update() 161 rctx->cmd.u.sha.src_len = rctx->hash_cnt; in ccp_do_sha_update() [all …]
|
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_init.c | 139 struct sas_ha_struct *sha = (struct sas_ha_struct *)opaque; in mvs_tasklet() local 141 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_tasklet() 142 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_tasklet() 152 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_tasklet() 165 struct sas_ha_struct *sha = opaque; in mvs_interrupt() local 170 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_interrupt() 173 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_interrupt() 190 tasklet_schedule(&((struct mvs_prv_info *)sha->lldd_ha)->mv_tasklet); in mvs_interrupt() 193 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_interrupt() 331 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_pci_alloc() local [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z14/ |
| H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z13/ |
| H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z10/ |
| H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_zec12/ |
| H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z196/ |
| H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z16/ |
| H A D | crypto6.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z15/ |
| H A D | crypto6.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z17/ |
| H A D | crypto6.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
| H A D | pai_crypto.json | 510 "BriefDescription": "KIMD SHA 1", 511 "PublicDescription": "KIMD-SHA-1 function ending with CC=0" 517 "BriefDescription": "KIMD SHA 256", 518 "PublicDescription": "KIMD-SHA-256 function ending with CC=0" 524 "BriefDescription": "KIMD SHA 512", 525 "PublicDescription": "KIMD-SHA-512 function ending with CC=0" 580 "BriefDescription": "KLMD SHA 1", 581 "PublicDescription": "KLMD-SHA-1 function ending with CC=0" 587 "BriefDescription": "KLMD SHA 256", 588 "PublicDescription": "KLMD-SHA-256 function ending with CC=0" [all …]
|
| /linux/include/crypto/ |
| H A D | sha2.h | 3 * Common values for SHA-2 algorithms 117 /* State for the SHA-256 (and SHA-224) compression function */ 123 * Context structure, shared by SHA-224 and SHA-256. The sha224_ctx and 125 * doesn't allow mixing the SHA-224 and SHA-256 functions arbitrarily. 151 * struct sha224_ctx - Context for hashing a message with SHA-224 159 * sha224_init() - Initialize a SHA-224 context for a new message 169 * sha224_update() - Update a SHA-224 context with message data 185 * sha224_final() - Finish computing a SHA-224 message digest 187 * @out: (output) the resulting SHA-224 message digest 196 * sha224() - Compute SHA-224 message digest in one shot [all …]
|
| H A D | sha1.h | 3 * Common values for SHA-1 algorithms 30 * An implementation of SHA-1's compression function. Don't use in new code! 31 * You shouldn't be using SHA-1, and even if you *have* to use SHA-1, this isn't 32 * the correct way to hash something with SHA-1 (use crypto_shash instead). 39 /* State for the SHA-1 compression function */ 45 * struct sha1_ctx - Context for hashing a message with SHA-1 57 * sha1_init() - Initialize a SHA-1 context for a new message 67 * sha1_update() - Update a SHA-1 context with message data 79 * sha1_final() - Finish computing a SHA-1 message digest 81 * @out: (output) the resulting SHA-1 message digest [all …]
|
| /linux/drivers/crypto/aspeed/ |
| H A D | Kconfig | 32 SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.
|
| /linux/include/linux/ |
| H A D | ccp.h | 248 /***** SHA engine *****/ 250 * ccp_sha_type - type of SHA operation 252 * @CCP_SHA_TYPE_1: SHA-1 operation 253 * @CCP_SHA_TYPE_224: SHA-224 operation 254 * @CCP_SHA_TYPE_256: SHA-256 operation 266 * struct ccp_sha_engine - CCP SHA operation 267 * @type: Type of SHA operation 274 * @first: indicates first SHA operation 275 * @final: indicates final SHA operation 276 * @msg_bits: total length of the message in bits used in final SHA operation [all …]
|
| /linux/Documentation/devicetree/bindings/crypto/ |
| H A D | samsung-slimsss.yaml | 16 -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC
|
| H A D | samsung-sss.yaml | 18 -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG
|
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-pfo-nx-crypto | 36 The total number of bytes hashed by the hardware using SHA-256. 39 The total number of SHA-256 operations submitted to the hardware. 42 The total number of bytes hashed by the hardware using SHA-512. 45 The total number of SHA-512 operations submitted to the hardware.
|
| /linux/lib/crypto/ |
| H A D | Kconfig | 136 The SHA-1 and HMAC-SHA1 library functions. Select this if your module 153 The SHA-224, SHA-256, HMAC-SHA224, and HMAC-SHA256 library functions. 172 The SHA-384, SHA-512, HMAC-SHA384, and HMAC-SHA512 library functions.
|
| /linux/lib/crypto/x86/ |
| H A D | sha1-ni-asm.S | 2 * Intel SHA Extensions optimized implementation of a SHA-1 update function 97 * Intel SHA Extensions optimized implementation of a SHA-1 block function 99 * This function takes a pointer to the current SHA-1 state, a pointer to the
|
| /linux/crypto/ |
| H A D | Kconfig | 971 Its speed is comparable to SHA-1 and there are no known attacks 979 tristate "SHA-1" 983 SHA-1 secure hash algorithm (FIPS 180, ISO/IEC 10118-3), including 987 tristate "SHA-224 and SHA-256" 991 SHA-224 and SHA-256 secure hash algorithms (FIPS 180, ISO/IEC 998 tristate "SHA-384 and SHA-512" 1002 SHA-384 and SHA-512 secure hash algorithms (FIPS 180, ISO/IEC 1006 tristate "SHA-3" 1009 SHA-3 secure hash algorithms (FIPS 202, ISO/IEC 10118-3) 1204 This uses the SHA-1, SHA-256, SHA-384, or SHA-512 hash algorithms.
|
| /linux/lib/crypto/sparc/ |
| H A D | sha512.h | 3 * SHA-512 accelerated using the sparc64 sha512 opcodes 41 pr_info("Using sparc64 sha512 opcode optimized SHA-512/SHA-384 implementation\n"); in sha512_mod_init_arch()
|
| H A D | sha256.h | 3 * SHA-256 accelerated using the sparc64 sha256 opcodes 42 pr_info("Using sparc64 sha256 opcode optimized SHA-256/SHA-224 implementation\n"); in sha256_mod_init_arch()
|
| /linux/net/sunrpc/ |
| H A D | Kconfig | 39 bool "Enable Kerberos enctypes based on AES and SHA-1" 48 SHA-1 digests. These include aes128-cts-hmac-sha1-96 and 64 bool "Enable Kerberos enctypes based on AES and SHA-2" 73 SHA-2 digests. These include aes128-cts-hmac-sha256-128 and
|