Home
last modified time | relevance | path

Searched full:sha1 (Results 1 – 25 of 170) sorted by relevance

1234567

/linux/include/crypto/
H A Dsha1.h60 * If you don't need incremental computation, consider sha1() instead.
90 * sha1() - Compute SHA-1 message digest in one shot
97 void sha1(const u8 *data, size_t len, u8 out[at_least SHA1_DIGEST_SIZE]);
100 * struct hmac_sha1_key - Prepared key for HMAC-SHA1
110 * struct hmac_sha1_ctx - Context for computing HMAC-SHA1 of a message
120 * hmac_sha1_preparekey() - Prepare a key for HMAC-SHA1
122 * @raw_key: the raw HMAC-SHA1 key
134 * hmac_sha1_init() - Initialize an HMAC-SHA1 context for a new message
145 * hmac_sha1_init_usingrawkey() - Initialize an HMAC-SHA1 context for a new
148 * @raw_key: the raw HMAC-SHA1 key
[all …]
/linux/crypto/
H A Dsha1.c3 * Crypto API support for SHA-1 and HMAC-SHA1
11 #include <crypto/sha1.h>
95 sha1(data, len, out); in crypto_sha1_digest()
183 .base.cra_name = "sha1",
184 .base.cra_driver_name = "sha1-lib",
201 .base.cra_name = "hmac(sha1)",
202 .base.cra_driver_name = "hmac-sha1-lib",
235 MODULE_DESCRIPTION("Crypto API support for SHA-1 and HMAC-SHA1");
237 MODULE_ALIAS_CRYPTO("sha1");
238 MODULE_ALIAS_CRYPTO("sha1-lib");
[all …]
/linux/tools/perf/tests/
H A Dutil.c4 #include "util/sha1.h"
22 /* Test sha1() for all lengths from 0 to MAX_LEN inclusively. */
31 * sha1() replaced by OpenSSL's SHA1(). in test_sha1()
48 sha1(data, i, &digests[i * SHA1_DIGEST_SIZE]); in test_sha1()
51 sha1(digests, digests_size, digest_of_digests); in test_sha1()
56 TEST_ASSERT_VAL("wrong output from sha1()", in test_sha1()
/linux/lib/crypto/tests/
H A Dsha1_kunit.c5 #include <crypto/sha1.h>
6 #include "sha1-testvecs.h"
8 #define HASH sha1
31 .name = "sha1",
38 MODULE_DESCRIPTION("KUnit tests and benchmark for SHA-1 and HMAC-SHA1");
/linux/drivers/crypto/
H A DKconfig42 tristate "PadLock driver for SHA1 and SHA256 algorithms"
48 Use VIA PadLock for SHA1/SHA256 algorithms.
326 tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator"
335 OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you
336 want to use the OMAP module for MD5/SHA1/SHA2 algorithms.
411 Select this to offload Exynos from HASH MD5/SHA1/SHA256.
412 This will select software SHA1, MD5 and SHA256 as they are
474 Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512
477 SHA1/SHA224/SHA256/SHA384/SHA512 algorithms.
536 The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
[all …]
H A Dsa2ul.h16 #include <crypto/sha1.h>
73 #define SA_ENG_ID_AM1 4 /* Auth. engine with SHA1/MD5/SHA2 core */
363 SA_AALG_ID_SHA1, /* SHA1 mode */
368 SA_AALG_ID_HMAC_SHA1, /* HMAC with SHA1 mode */
/linux/lib/crypto/
H A Dsha1.c3 * SHA-1 and HMAC-SHA1 library functions
7 #include <crypto/sha1.h>
74 * sha1_transform - single block SHA1 transform (deprecated)
131 * sha1_init_raw - initialize the vectors for a SHA1 digest
158 #include "sha1.h" /* $(SRCARCH)/sha1.h */
229 void sha1(const u8 *data, size_t len, u8 out[SHA1_DIGEST_SIZE]) in sha1() function
237 EXPORT_SYMBOL_GPL(sha1);
249 sha1(raw_key, raw_key_len, derived_key.b); in __hmac_sha1_preparekey()
343 * Implementation Guidance, testing HMAC-SHA1 satisfies the test in sha1_mod_init()
352 panic("sha1: FIPS self-test failed\n"); in sha1_mod_init()
[all …]
H A DMakefile212 libsha1-y := sha1.o
216 libsha1-y += arm/sha1-armv4-large.o
217 libsha1-$(CONFIG_KERNEL_MODE_NEON) += arm/sha1-armv7-neon.o \
218 arm/sha1-ce-core.o
220 libsha1-$(CONFIG_ARM64) += arm64/sha1-ce-core.o
222 libsha1-y += powerpc/sha1-powerpc-asm.o
223 libsha1-$(CONFIG_SPE) += powerpc/sha1-spe-asm.o
226 libsha1-$(CONFIG_X86) += x86/sha1-ssse3-and-avx.o \
227 x86/sha1-avx2-asm.o \
228 x86/sha1-ni-asm.o
H A DKconfig159 The SHA-1 and HMAC-SHA1 library functions. Select this if your module
160 uses any of the functions from <crypto/sha1.h>.
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-series.sh76 sha1=${sha_n}.${sha} # Enable "sort -k1nr" to list commits in order.
77 echo Starting ${config}/${sha1} at `date` | tee -a $T/log
79 …sts/rcutorture/bin/kvm.sh --configs "$config" --datestamp "$ds/${config}/${sha1}" --duration 1 "$@"
84 faillist="$faillist ${config}/${sha1}(${curret})"
87 successlist="$successlist ${config}/${sha1}"
89 rm -f ${RCUTORTURE}/$ds/${config}/${sha1}/{vmlinux,bzImage,System.map,Module.symvers}
/linux/drivers/crypto/caam/
H A Dkey_gen.h11 * @hash: Hashing algorithm selection, one of OP_ALG_ALGSEL_* - MD5, SHA1,
18 /* Sizes for MDHA pads (*not* keys): MD5, SHA1, 224, 256, 384, 512 */ in split_key_len()
29 * @hash: Hashing algorithm selection, one of OP_ALG_ALGSEL_* - MD5, SHA1,
/linux/tools/testing/selftests/net/
H A Dvrf-xfrm-tests.sh262 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
269 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
277 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
284 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
292 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
299 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
307 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
314 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
/linux/arch/mips/include/asm/octeon/
H A Dcrypto.h8 * MD5/SHA1/SHA256/SHA512 instruction definitions added by
25 * Macros needed to implement MD5/SHA1/SHA256:
29 * The index can be 0-1 (MD5) or 0-2 (SHA1), 0-3 (SHA256).
40 * The index can be 0-1 (MD5) or 0-2 (SHA1), 0-3 (SHA256).
/linux/arch/mips/generic/
H A Dboard-ocelot.its.S11 algo = "sha1";
22 algo = "sha1";
H A Dboard-jaguar2.its.S11 algo = "sha1";
21 algo = "sha1";
/linux/lib/crypto/arm64/
H A Dsha1-ce-core.S39 sha1\op dg0q, \dg1, t0.4s
41 sha1\op dg0q, dg1s, t0.4s
48 sha1\op dg0q, dg2s, t1.4s
/linux/drivers/crypto/ccree/
H A Dcc_hash.h87 * @mode: The Hash mode. Supported modes: MD5/SHA1/SHA224/SHA256/SHA384/SHA512
99 * @mode: The Hash mode. Supported modes: MD5/SHA1/SHA224/SHA256/SHA384/SHA512
/linux/lib/crypto/sparc/
H A Dsha1_asm.S27 SHA1
64 SHA1
/linux/Documentation/translations/sp_SP/process/
H A Dmaintainer-kvm-x86.rst49 de una rama temática no tiene impacto en los hashes SHA1 de otros commit
436 árbol y la rama temática, junto con los SHA1 de los commits de los parches
449 Estabilidad SHA1
451 Los SHA1 no son 100% estables hasta que llegan al árbol de Linus. Un SHA1
454 actualización del correo electrónico de notificación si se aplica un SHA1
/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss.h8 * Support MD5 and SHA1 hash algorithms.
28 #include <crypto/sha1.h>
136 * @sha1_in_be: The SHA1 digest is given by SS in BE, and so need to be inverted.
/linux/Documentation/driver-api/mtd/
H A Dspi-intel.rst61 The SHA1 sums must match. Otherwise do not continue any further!
80 The SHA1 sums should match.
/linux/net/sunrpc/
H A DKconfig47 SHA-1 digests. These include aes128-cts-hmac-sha1-96 and
48 aes256-cts-hmac-sha1-96.
/linux/Documentation/ABI/testing/
H A Devm8 HMAC-sha1 value across the extended attributes, storing the
12 an HMAC-sha1 generated locally with a
/linux/tools/perf/util/
H A Dsha1.c12 #include "sha1.h"
79 void sha1(const void *data, size_t len, u8 out[SHA1_DIGEST_SIZE]) in sha1() function
/linux/lib/crypto/arm/
H A Dsha1-ce-core.S42 sha1\op\().32 dg0, dg1a\ev, ta\ev
44 sha1\op\().32 dg0, \dg1, ta\ev

1234567