Home
last modified time | relevance | path

Searched full:sha1 (Results 1 – 25 of 172) 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[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/net/sctp/
H A DKconfig
/linux/lib/crypto/
H A Dsha1.c3 * SHA-1 and HMAC-SHA1 library functions
7 #include <crypto/sha1.h>
73 * sha1_transform - single block SHA1 transform (deprecated)
130 * sha1_init_raw - initialize the vectors for a SHA1 digest
157 #include "sha1.h" /* $(SRCARCH)/sha1.h */
228 void sha1(const u8 *data, size_t len, u8 out[SHA1_DIGEST_SIZE]) in sha1() function
236 EXPORT_SYMBOL_GPL(sha1);
248 sha1(raw_key, raw_key_len, derived_key.b); in __hmac_sha1_preparekey()
347 MODULE_DESCRIPTION("SHA-1 and HMAC-SHA1 library functions");
H A DMakefile192 libsha1-y := sha1.o
196 libsha1-y += arm/sha1-armv4-large.o
197 libsha1-$(CONFIG_KERNEL_MODE_NEON) += arm/sha1-armv7-neon.o \
198 arm/sha1-ce-core.o
200 libsha1-$(CONFIG_ARM64) += arm64/sha1-ce-core.o
202 libsha1-y += powerpc/sha1-powerpc-asm.o
203 libsha1-$(CONFIG_SPE) += powerpc/sha1-spe-asm.o
206 libsha1-$(CONFIG_X86) += x86/sha1-ssse3-and-avx.o \
207 x86/sha1-avx2-asm.o \
208 x86/sha1-ni-asm.o
H A DKconfig136 The SHA-1 and HMAC-SHA1 library functions. Select this if your module
137 uses any of the functions from <crypto/sha1.h>.
/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/lib/crypto/arm64/
H A Dsha1-ce-core.S3 * sha1-ce-core.S - SHA-1 secure hash using ARMv8 Crypto Extensions
39 sha1\op dg0q, \dg1, t0.4s
41 sha1\op dg0q, dg1s, t0.4s
48 sha1\op dg0q, dg2s, t1.4s
/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/arm/
H A Dsha1-ce-core.S3 * sha1-ce-core.S - SHA-1 secure hash using ARMv8 Crypto Extensions
42 sha1\op\().32 dg0, dg1a\ev, ta\ev
44 sha1\op\().32 dg0, \dg1, ta\ev
/linux/drivers/crypto/
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/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 DKconfig48 SHA-1 digests. These include aes128-cts-hmac-sha1-96 and
49 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
H A Dsha1.h6 void sha1(const void *data, size_t len, u8 out[SHA1_DIGEST_SIZE]);

1234567