/linux-4.4.14/arch/powerpc/crypto/ |
H A D | Makefile | 11 obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o 17 sha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o
|
H A D | sha256-spe-glue.c | 230 .cra_name = "sha256", 231 .cra_driver_name= "sha256-ppc-spe", 274 MODULE_ALIAS_CRYPTO("sha256"); 275 MODULE_ALIAS_CRYPTO("sha256-ppc-spe");
|
/linux-4.4.14/arch/arm/crypto/ |
H A D | Makefile | 9 obj-$(CONFIG_CRYPTO_SHA256_ARM) += sha256-arm.o 31 sha256-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := sha256_neon_glue.o 32 sha256-arm-y := sha256-core.o sha256_glue.o $(sha256-arm-neon-y) 46 $(src)/sha256-core.S_shipped: $(src)/sha256-armv4.pl 52 .PRECIOUS: $(obj)/aesbs-core.S $(obj)/sha256-core.S $(obj)/sha512-core.S
|
H A D | sha256_glue.c | 71 .cra_name = "sha256", 72 .cra_driver_name = "sha256-asm", 128 MODULE_ALIAS_CRYPTO("sha256");
|
H A D | sha2-ce-glue.c | 92 .cra_name = "sha256", 93 .cra_driver_name = "sha256-ce",
|
H A D | sha256_neon_glue.c | 79 .cra_name = "sha256", 80 .cra_driver_name = "sha256-neon",
|
H A D | sha256-armv4.pl | 708 s/\b(sha256\w+)\s+(q.*)/unsha256($1,$2)/geo;
|
/linux-4.4.14/arch/sparc/crypto/ |
H A D | Makefile | 6 obj-$(CONFIG_CRYPTO_SHA256_SPARC64) += sha256-sparc64.o 17 sha256-sparc64-y := sha256_asm.o sha256_glue.o
|
H A D | sha256_glue.c | 159 static struct shash_alg sha256 = { variable in typeref:struct:shash_alg 169 .cra_name = "sha256", 170 .cra_driver_name= "sha256-sparc64", 215 ret = crypto_register_shash(&sha256); sha256_sparc64_mod_init() 221 pr_info("Using sparc64 sha256 opcode optimized SHA-256/SHA-224 implementation\n"); sha256_sparc64_mod_init() 224 pr_info("sparc64 sha256 opcode not available.\n"); sha256_sparc64_mod_init() 231 crypto_unregister_shash(&sha256); sha256_sparc64_mod_fini() 238 MODULE_DESCRIPTION("SHA-224 and SHA-256 Secure Hash Algorithm, sparc64 sha256 opcode accelerated"); 241 MODULE_ALIAS_CRYPTO("sha256");
|
/linux-4.4.14/drivers/crypto/nx/ |
H A D | Makefile | 10 nx-sha256.o \
|
H A D | nx-sha256.c | 95 memcpy(csbcpb->cpb.sha256.message_digest, sctx->state, SHA256_DIGEST_SIZE); nx_sha256_update() 156 memcpy(csbcpb->cpb.sha256.input_partial_digest, nx_sha256_update() 157 csbcpb->cpb.sha256.message_digest, nx_sha256_update() 183 memcpy(sctx->state, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); nx_sha256_update() 212 memcpy(csbcpb->cpb.sha256.input_partial_digest, sctx->state, SHA256_DIGEST_SIZE); nx_sha256_final() 220 csbcpb->cpb.sha256.message_bit_length = (u64) (sctx->count * 8); nx_sha256_final() 254 memcpy(out, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); nx_sha256_final() 288 .cra_name = "sha256", 289 .cra_driver_name = "sha256-nx",
|
H A D | nx_csbcpb.h | 129 struct cop_symcpb_sha256 sha256; member in union:cop_parameter_block::__anon3854
|
/linux-4.4.14/arch/x86/crypto/ |
H A D | Makefile | 33 obj-$(CONFIG_CRYPTO_SHA256_SSSE3) += sha256-ssse3.o 102 sha256-ssse3-y := sha256-ssse3-asm.o sha256-avx-asm.o sha256-avx2-asm.o sha256_ssse3_glue.o 104 sha256-ssse3-y += sha256_ni_asm.o
|
H A D | sha256_ssse3_glue.c | 109 .cra_name = "sha256", 110 .cra_driver_name = "sha256-ssse3", 177 .cra_name = "sha256", 178 .cra_driver_name = "sha256-avx", 261 .cra_name = "sha256", 262 .cra_driver_name = "sha256-avx2", 343 .cra_name = "sha256", 344 .cra_driver_name = "sha256-ni", 429 MODULE_ALIAS_CRYPTO("sha256");
|
/linux-4.4.14/arch/s390/crypto/ |
H A D | sha256_s390.c | 76 .cra_name = "sha256", 77 .cra_driver_name= "sha256-s390", 147 MODULE_ALIAS_CRYPTO("sha256");
|
H A D | prng.c | 138 /* generate sha256 from this page */ generate_entropy()
|
/linux-4.4.14/arch/x86/purgatory/ |
H A D | Makefile | 1 purgatory-y := purgatory.o stack.o setup-x86_$(BITS).o sha256.o entry64.o string.o
|
H A D | purgatory.c | 13 #include "sha256.h"
|
H A D | sha256.c | 3 * http://csrc.nist.gov/groups/STM/cavp/documents/shs/sha256-384-512.pdf 20 #include "sha256.h"
|
/linux-4.4.14/crypto/ |
H A D | hash_info.c | 21 [HASH_ALGO_SHA256] = "sha256",
|
H A D | sha256_generic.c | 5 * http://csrc.nist.gov/groups/STM/cavp/documents/shs/sha256-384-512.pdf 256 .cra_name = "sha256", 257 .cra_driver_name= "sha256-generic", 296 MODULE_ALIAS_CRYPTO("sha256"); 297 MODULE_ALIAS_CRYPTO("sha256-generic");
|
H A D | tcrypt.c | 70 "des", "md5", "des3_ede", "rot13", "sha1", "sha224", "sha256", 1303 ret += tcrypt_test("sha256"); do_test() 1505 ret += tcrypt_test("hmac(sha256)"); do_test() 1584 ret += tcrypt_test("authenc(hmac(sha256),cbc(des))"); do_test() 1587 ret += tcrypt_test("authenc(hmac(sha256),cbc(des3_ede))"); do_test() 1832 test_hash_speed("sha256", sec, generic_hash_speed_template); do_test() 1927 test_ahash_speed("sha256", sec, generic_hash_speed_template); do_test()
|
H A D | testmgr.c | 2208 .alg = "authenc(hmac(sha256),cbc(aes))", 2221 .alg = "authenc(hmac(sha256),cbc(des))", 2234 .alg = "authenc(hmac(sha256),cbc(des3_ede))", 3273 .alg = "hmac(sha256)", 3683 .alg = "sha256",
|
H A D | drbg.c | 161 .cra_name = "sha256", 162 .backend_cra_name = "sha256", 189 .backend_cra_name = "hmac(sha256)",
|
/linux-4.4.14/drivers/crypto/ |
H A D | padlock-sha.c | 279 .cra_name = "sha256", 280 .cra_driver_name = "sha256-padlock", 521 .cra_name = "sha256", 522 .cra_driver_name = "sha256-padlock-nano", 541 struct shash_alg *sha256; padlock_init() local 550 sha256 = &sha256_alg; padlock_init() 553 sha256 = &sha256_alg_nano; padlock_init() 560 rc = crypto_register_shash(sha256); padlock_init() 597 MODULE_ALIAS_CRYPTO("sha256-all"); 599 MODULE_ALIAS_CRYPTO("sha256-padlock");
|
H A D | talitos.c | 1821 * manually with sha224 constants, and tell it to run sha256. 1828 req_ctx->swinit = 1;/* prevent h/w initting context with sha256 values*/ ahash_init_sha224_swinit() 2197 .cra_name = "authenc(hmac(sha256),cbc(aes))", 2198 .cra_driver_name = "authenc-hmac-sha256-" 2217 .cra_name = "authenc(hmac(sha256)," 2219 .cra_driver_name = "authenc-hmac-sha256-" 2451 .cra_name = "sha256", 2452 .cra_driver_name = "sha256-talitos", 2547 .cra_name = "hmac(sha256)", 2548 .cra_driver_name = "hmac-sha256-talitos",
|
H A D | omap-sham.c | 1291 return omap_sham_cra_init_alg(tfm, "sha256"); omap_sham_cra_sha256_init() 1453 .cra_name = "sha256", 1454 .cra_driver_name = "omap-sha256", 1500 .cra_name = "hmac(sha256)", 1501 .cra_driver_name = "omap-hmac-sha256",
|
H A D | img-hash.c | 787 .cra_name = "sha256", 788 .cra_driver_name = "img-sha256",
|
H A D | mxs-dcp.c | 864 .cra_name = "sha256", 865 .cra_driver_name = "sha256-dcp",
|
H A D | picoxcell_crypto.c | 1413 .cra_name = "authenc(hmac(sha256),cbc(aes))", 1414 .cra_driver_name = "authenc-hmac-sha256-" 1503 .cra_name = "authenc(hmac(sha256)," 1505 .cra_driver_name = "authenc-hmac-sha256-"
|
H A D | atmel-sha.c | 1023 .cra_name = "sha256", 1024 .cra_driver_name = "atmel-sha256",
|
H A D | sahara.c | 1291 .cra_name = "sha256", 1292 .cra_driver_name = "sahara-sha256",
|
H A D | n2_core.c | 297 struct sha256_state sha256; member in union:n2_hash_req_ctx::__anon3850 1335 { .name = "sha256",
|
/linux-4.4.14/arch/arm64/crypto/ |
H A D | sha2-ce-glue.c | 110 .cra_name = "sha256", 111 .cra_driver_name = "sha256-ce",
|
/linux-4.4.14/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-sha256.c | 143 * Small updates never reach the crypto engine, so the generic sha256 is octeon_sha256_update() 239 .cra_name = "sha256", 240 .cra_driver_name= "octeon-sha256",
|
/linux-4.4.14/drivers/crypto/qce/ |
H A D | sha.c | 388 alg_name = "sha256-qce"; qce_ahash_hmac_setkey() 468 .name = "sha256", 469 .drv_name = "sha256-qce", 486 .name = "hmac(sha256)", 487 .drv_name = "hmac-sha256-qce",
|
/linux-4.4.14/fs/cifs/ |
H A D | smb2transport.c | 51 server->secmech.hmacsha256 = crypto_alloc_shash("hmac(sha256)", 0, 0); smb2_crypto_shash_allocate() 170 cifs_dbg(VFS, "%s: Could not init sha256", __func__); smb2_calc_signature() 218 cifs_dbg(VFS, "%s: Could not generate sha256 hash\n", __func__); smb2_calc_signature() 295 cifs_dbg(VFS, "%s: Could not generate sha256 hash\n", __func__); generate_smb3signingkey()
|
H A D | cifsglob.h | 119 struct crypto_shash *hmacsha256; /* hmac-sha256 hash function */
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
H A D | qat_algs.c | 151 struct sha256_state sha256; qat_alg_do_precomputes() local 202 if (crypto_shash_export(shash, &sha256)) qat_alg_do_precomputes() 205 *hash_state_out = cpu_to_be32(*(sha256.state + i)); qat_alg_do_precomputes() 235 if (crypto_shash_export(shash, &sha256)) qat_alg_do_precomputes() 238 *hash_state_out = cpu_to_be32(*(sha256.state + i)); qat_alg_do_precomputes() 1079 return qat_alg_aead_init(tfm, ICP_QAT_HW_AUTH_ALGO_SHA256, "sha256"); qat_alg_aead_sha256_init() 1170 .cra_name = "authenc(hmac(sha256),cbc(aes))",
|
/linux-4.4.14/drivers/crypto/ccp/ |
H A D | ccp-crypto-sha.c | 370 .name = "sha256", 371 .drv_name = "sha256-ccp",
|
/linux-4.4.14/net/xfrm/ |
H A D | xfrm_algo.c | 237 .name = "hmac(sha256)", 238 .compat = "sha256",
|
/linux-4.4.14/drivers/crypto/marvell/ |
H A D | hash.c | 1033 .cra_name = "sha256", 1034 .cra_driver_name = "mv-sha256", 1359 ret = mv_cesa_ahmac_setkey("mv-sha256", key, keylen, &istate, &ostate); mv_cesa_ahmac_sha256_setkey() 1409 .cra_name = "hmac(sha256)", 1410 .cra_driver_name = "mv-hmac-sha256",
|
/linux-4.4.14/drivers/crypto/ux500/hash/ |
H A D | hash_core.c | 1551 .cra_name = "sha256", 1552 .cra_driver_name = "sha256-ux500", 1599 .cra_name = "hmac(sha256)", 1600 .cra_driver_name = "hmac-sha256-ux500", 1966 MODULE_ALIAS_CRYPTO("sha256-all"); 1968 MODULE_ALIAS_CRYPTO("hmac-sha256-all");
|
/linux-4.4.14/drivers/crypto/caam/ |
H A D | caamalg.c | 3113 .cra_name = "authenc(hmac(sha256)," 3115 .cra_driver_name = "authenc-hmac-sha256-" 3317 .cra_name = "authenc(hmac(sha256),cbc(aes))", 3318 .cra_driver_name = "authenc-hmac-sha256-" 3339 .cra_name = "echainiv(authenc(hmac(sha256)," 3342 "hmac-sha256-cbc-aes-caam", 3597 .cra_name = "authenc(hmac(sha256)," 3599 .cra_driver_name = "authenc-hmac-sha256-" 3620 .cra_name = "echainiv(authenc(hmac(sha256)," 3623 "hmac-sha256-" 3879 .cra_name = "authenc(hmac(sha256),cbc(des))", 3880 .cra_driver_name = "authenc-hmac-sha256-" 3901 .cra_name = "echainiv(authenc(hmac(sha256)," 3904 "hmac-sha256-cbc-des-caam", 4170 .cra_name = "authenc(hmac(sha256)," 4172 .cra_driver_name = "authenc-hmac-sha256-" 4195 .cra_name = "seqiv(authenc(hmac(sha256)," 4197 .cra_driver_name = "seqiv-authenc-hmac-sha256-"
|
H A D | caamhash.c | 1662 .name = "sha256", 1663 .driver_name = "sha256-caam", 1664 .hmac_name = "hmac(sha256)", 1665 .hmac_driver_name = "hmac-sha256-caam",
|
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_crypto.h | 59 [CFS_HASH_ALG_SHA256] = { "sha256", 0, 32 },
|
/linux-4.4.14/net/bluetooth/ |
H A D | amp.c | 144 tfm = crypto_alloc_shash("hmac(sha256)", 0, 0); hmac_sha256()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | setup_64.c | 388 "aes", "des", "kasumi", "camellia", "md5", "sha1", "sha256",
|
/linux-4.4.14/security/keys/encrypted-keys/ |
H A D | encrypted.c | 42 static const char hash_alg[] = "sha256"; 43 static const char hmac_alg[] = "hmac(sha256)";
|
/linux-4.4.14/include/crypto/ |
H A D | aead.h | 32 * For example: authenc(hmac(sha256), cbc(aes))
|
/linux-4.4.14/include/linux/ceph/ |
H A D | ceph_fs.h | 46 __le32 fl_cas_hash; /* UNUSED. 0 = none; 1 = sha256 */
|
/linux-4.4.14/net/sctp/ |
H A D | auth.c | 54 .hmac_name = "hmac(sha256)",
|
/linux-4.4.14/kernel/ |
H A D | kexec_file.c | 563 tfm = crypto_alloc_shash("sha256", 0, 0); kexec_calculate_store_digests()
|