Home
last modified time | relevance | path

Searched +full:sha +full:- +full:1 (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/freebsd/lib/libmd/tests/
H A DMakefile7 MDTESTS= md rmd sha skein
35 .if ${mdt} == "sha"
36 CFLAGS_${mdtc}driver= -DSHA=${mdtc:C/sha//:C/t//}
38 CFLAGS_${mdtc}driver= -D${mdt:tu}=${mdtc:C/${mdt}//}
52 @echo " atf_check -o file:\$$(atf_get_srcdir)/${_digest}.ref \\" >> \
86 echo 'SHA-0 test suite:' > ${.TARGET}
87 @echo 'SHA-0 ("") = f96cea198ad1dd5617ac084a3d92c6107708c0ef' >> ${.TARGET}
88 @echo 'SHA-0 ("abc") = 0164b8a914cd2a5e74c4f7ff082c4d97f1edf880' >> ${.TARGET}
89 @echo 'SHA-0 ("message digest") =' \
91 @echo 'SHA-0 ("abcdefghijklmnopqrstuvwxyz") =' \
[all …]
H A Dshadriver.c1 /* SHADRIVER.C - test driver for SHA-1 (and SHA-2) */
3 /*-
4 * SPDX-License-Identifier: RSA-MD
6 * Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All rights
23 #include "sha.h"
30 /* The following makes SHA default to SHA-1 if it has not already been
32 #ifndef SHA
33 #define SHA 1 macro
36 #if SHA == 1
39 #elif SHA == 224
[all …]
/freebsd/crypto/openssl/test/ssl-tests/
H A D19-mac-then-encrypt.cnf5 test-0 = 0-disable-encrypt-then-mac-server-sha
6 test-1 = 1-disable-encrypt-then-mac-client-sha
7 test-2 = 2-disable-encrypt-then-mac-both-sha
8 test-3 = 3-disable-encrypt-then-mac-server-sha2
9 test-4 = 4-disable-encrypt-then-mac-client-sha2
10 test-5 = 5-disable-encrypt-then-mac-both-sha2
11 test-6 = 6-disable-encrypt-then-mac-server-sha-tls1
12 test-7 = 7-disable-encrypt-then-mac-client-sha-tls1
13 test-8 = 8-disable-encrypt-then-mac-both-sha-tls1
16 [0-disable-encrypt-then-mac-server-sha]
[all …]
H A D30-extended-master-secret.cnf5 test-0 = 0-disable-extended-master-secret-server-sha
6 test-1 = 1-disable-extended-master-secret-client-sha
7 test-2 = 2-disable-extended-master-secret-both-sha
8 test-3 = 3-disable-extended-master-secret-both-resume
9 test-4 = 4-disable-extended-master-secret-server-sha2
10 test-5 = 5-disable-extended-master-secret-client-sha2
11 test-6 = 6-disable-extended-master-secret-both-sha2
14 [0-disable-extended-master-secret-server-sha]
15 ssl_conf = 0-disable-extended-master-secret-server-sha-ssl
17 [0-disable-extended-master-secret-server-sha-ssl]
[all …]
/freebsd/secure/usr.bin/openssl/man/
H A Dopenssl-ciphers.118 .\" Set up some character translations and predefined strings. \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
62 . tm Index:\\$1\t\\n%\t"\\$2"
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
[all …]
/freebsd/contrib/bearssl/inc/
H A Dbearssl_hash.h48 * - `br_xxx_vtable`
52 * - `br_xxx_SIZE`
57 * - `br_xxx_ID`
64 * standard](https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1),
66 * 1 to 6 for MD5, SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512,
69 * - `br_xxx_context`
80 * - `br_xxx_init(br_xxx_context *ctx)`
88 * - `br_xxx_update(br_xxx_context *ctx, const void *data, size_t len)`
93 * - `br_xxx_out(const br_xxx_context *ctx, void *out)`
101 * - `br_xxx_state(const br_xxx_context *ctx, void *out)`
[all …]
H A Dbearssl_prf.h44 * TLS 1.0 and 1.1 define a PRF that is based on both MD5 and SHA-1. This
49 * PRF with, respectively, SHA-256 and SHA-384. Most standard cipher suites
50 * rely on the SHA-256 based PRF, but some use SHA-384.
81 * MD5 and SHA-1.
87 * \param label PRF label (zero-terminated ASCII string).
89 * \param seed seed chnks for this computation (usually non-secret).
96 * \brief PRF implementation for TLS 1.2, with SHA-256.
99 * function is SHA-256.
105 * \param label PRF label (zero-terminated ASCII string).
107 * \param seed seed chnks for this computation (usually non-secret).
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dshaintrin.h1 /*===---- shaintrin.h - SHA intrinsics -------------------------------------===
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *===-----------------------------------------------------------------------===
18 #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("sha"), __min_…
20 /// Performs four iterations of the inner loop of the SHA-1 message digest
21 /// algorithm using the starting SHA-1 state (A, B, C, D) from the 128-bit
22 /// vector of [4 x i32] in \a V1 and the next four 32-bit elements of the
23 /// message from the 128-bit vector of [4 x i32] in \a V2. Note that the
24 /// SHA-1 state variable E must have already been added to \a V2
26 /// SHA-1 state (A, B, C, D) as a 128-bit vector of [4 x i32].
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Dtls1.h2 * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
31 # define OPENSSL_TLS_SECURITY_LEVEL 1
73 /* codes 110-114 are from RFC3546 */
84 # define TLSEXT_TYPE_max_fragment_length 1
121 * https://tools.ietf.org/html/rfc6962#section-3.3.1
127 * http://tools.ietf.org/html/draft-agl-tls-padding
162 # define TLSEXT_STATUSTYPE_ocsp 1
167 # define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime 1
173 # define TLSEXT_signature_rsa 1
184 # define TLSEXT_hash_md5 1
[all …]
H A Dssl3.h2 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
36 * Signalling cipher suite value from draft-ietf-tls-downgrade-scsv-00
90 # define SSL3_TXT_RSA_NULL_MD5 "NULL-MD5"
91 # define SSL3_TXT_RSA_NULL_SHA "NULL-SHA"
92 # define SSL3_TXT_RSA_RC4_40_MD5 "EXP-RC4-MD5"
93 # define SSL3_TXT_RSA_RC4_128_MD5 "RC4-MD5"
94 # define SSL3_TXT_RSA_RC4_128_SHA "RC4-SHA"
95 # define SSL3_TXT_RSA_RC2_40_MD5 "EXP-RC2-CBC-MD5"
96 # define SSL3_TXT_RSA_IDEA_128_SHA "IDEA-CBC-SHA"
97 # define SSL3_TXT_RSA_DES_40_CBC_SHA "EXP-DES-CBC-SHA"
[all …]
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-ciphers.pod.in2 {- OpenSSL::safe::output_do_not_edit_headers(); -}
6 openssl-ciphers - SSL cipher display and cipher list command
11 [B<-help>]
12 [B<-s>]
13 [B<-v>]
14 [B<-V>]
15 [B<-ssl3>]
16 [B<-tls1>]
17 [B<-tls1_1>]
18 [B<-tls1_2>]
[all …]
/freebsd/contrib/wpa/src/crypto/
H A Dfips_prf_wolfssl.c2 * FIPS 186-2 PRF for libcrypto
3 * Copyright (c) 2004-2017, Jouni Malinen <j@w1.fi>
11 #include <wolfssl/wolfcrypt/sha.h>
19 wc_Sha sha; in sha1_transform() local
21 os_memset(&sha, 0, sizeof(sha)); in sha1_transform()
22 sha.digest[0] = state[0]; in sha1_transform()
23 sha.digest[1] = state[1]; in sha1_transform()
24 sha.digest[2] = state[2]; in sha1_transform()
25 sha.digest[3] = state[3]; in sha1_transform()
26 sha.digest[4] = state[4]; in sha1_transform()
[all …]
/freebsd/crypto/openssl/providers/
H A Dfips-sources.checksums6 6979c133f76f4623e62e6e970deae70fa025e713a72b71aead5a048d49e47f6f crypto/aes/asm/aes-586.pl
7 92be9ff608331a432e95247a8f4fb9e46897d0cb76f2b6db809b61d44287964a crypto/aes/asm/aes-armv4.pl
8 953897f86e2de9fa27ef411155ab3aed133af94885f1507e76449c142da78656 crypto/aes/asm/aes-c64xplus.pl
9 00196f01f5218ad731e6a058d406078f7228a9756d9d73f51c0d0c2a68f885af crypto/aes/asm/aes-ia64.S
10 88b6f8396cd9d86004743d5c3b0f72b7b8c3d5a2b00b0bbb761ba91ae5a7cdc8 crypto/aes/asm/aes-mips.pl
11 7ff9c96ef3d591d45d776fa4b244601ea0d9328e289aeab1e1b92436ce7d02ad crypto/aes/asm/aes-parisc.pl
12 f1244cdeadcb4e48f35bc5df19d4cfaf07e0086ad951b84f07ff6966501faa5b crypto/aes/asm/aes-ppc.pl
13 ecbfe826f4c514810c3ee20e265f4f621149694c298554b2682e5de4f029f14f crypto/aes/asm/aes-s390x.pl
14 ee4e8cacef972942d2a89c1a83c984df9cad87c61a54383403c5c4864c403ba1 crypto/aes/asm/aes-sparcv9.pl
15 2b3b9ac56bf54334d053857a24bdb08592151e8a7a60b89b8195846b7f8ee7b5 crypto/aes/asm/aes-x86_64.pl
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DEVP_sha224.318 .\" Set up some character translations and predefined strings. \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
62 . tm Index:\\$1\t\\n%\t"\\$2"
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
[all …]
H A DEVP_sha3_224.318 .\" Set up some character translations and predefined strings. \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
62 . tm Index:\\$1\t\\n%\t"\\$2"
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
[all …]
/freebsd/contrib/bearssl/tools/
H A Dnames.c39 { "sha1", &br_sha1_vtable, "SHA-1" },
40 { "sha224", &br_sha224_vtable, "SHA-224" },
41 { "sha256", &br_sha256_vtable, "SHA-256" },
42 { "sha384", &br_sha384_vtable, "SHA-384" },
43 { "sha512", &br_sha512_vtable, "SHA-512" },
65 "ECDHE with ECDSA, AES-128/GCM encryption (TLS 1.2+)"
71 "ECDHE with RSA, AES-128/GCM encryption (TLS 1.2+)"
77 "ECDHE with ECDSA, AES-256/GCM encryption (TLS 1.2+)"
83 "ECDHE with RSA, AES-256/GCM encryption (TLS 1.2+)"
89 "ECDHE with ECDSA, AES-128/CCM encryption (TLS 1.2+)"
[all …]
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Datmel,at91sam9g46-sha.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-sha.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Atmel Secure Hash Algorithm (SHA) HW cryptographic accelerator
11 - Tudor Ambarus <tudor.ambarus@linaro.org>
16 - const: atmel,at91sam9g46-sha
17 - items:
18 - const: microchip,sam9x7-sha
19 - const: atmel,at91sam9g46-sha
[all …]
H A Dsamsung-slimsss.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/crypto/samsung-slimsss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 -- Feeder (FeedCtrl)
15 -- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS
16 -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC
21 - const: samsung,exynos5433-slim-sss
24 maxItems: 1
[all …]
/freebsd/sbin/md5/
H A Dmd5.112 .Nd calculate a message-digest fingerprint (checksum) for a file
22 .Op Fl -binary
23 .Op Fl -check
24 .Op Fl -help
25 .Op Fl -ignore-missing
26 .Op Fl -quiet
27 .Op Fl -status
28 .Op Fl -strict
29 .Op Fl -tag
30 .Op Fl -text
[all …]
/freebsd/contrib/unbound/compat/
H A Dsha512.c3 * AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/
5 * Copyright (c) 2000-2001, Aaron D. Gifford
9 * system-defined SHA code.
11 * - Renamed (external) functions and constants to fit ldns style
12 * - Removed _End and _Data functions
13 * - Added ldns_shaX(data, len, digest) convenience functions
14 * - Removed prototypes of _Transform functions and made those static
20 * 1. Redistributions of source code must retain the above copyright
52 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
66 /*** SHA-256/384/512 Machine Architecture Definitions *****************/
[all …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dsha2.c7 * Copyright (c) 2000-2001, Aaron D. Gifford
13 * 1. Redistributions of source code must retain the above copyright
44 /* no-op out, similar to DEF_WEAK but only needed here */
48 #include "openbsd-compat/sha2.h"
56 * cc -DSHA2_UNROLL_TRANSFORM -o sha2 sha2.c sha2prog.c
69 /*** SHA-224/256/384/512 Machine Architecture Definitions *****************/
74 * architecture is little-endian, make sure it also defines
84 * And for little-endian machines, add:
88 * Or for big-endian machines:
102 /*** SHA-224/256/384/512 Various Length Definitions ***********************/
[all …]
/freebsd/contrib/bearssl/src/hash/
H A Dmultihash.c51 * SHA-384 has id 5, and SHA-512 has id 6. Both use in get_state_offset()
52 * eight 64-bit words for their state. in get_state_offset()
55 + ((size_t)(id - 5) * (8 * sizeof(uint64_t))); in get_state_offset()
58 * MD5 has id 1, SHA-1 has id 2, SHA-224 has id 3 and in get_state_offset()
59 * SHA-256 has id 4. They use 32-bit words for their in get_state_offset()
60 * states (4 words for MD5, 5 for SHA-1, 8 for SHA-224 in get_state_offset()
61 * and 8 for SHA-256). in get_state_offset()
65 x = id - 1; in get_state_offset()
66 x = ((x + (x & (x >> 1))) << 2) + (x >> 1); in get_state_offset()
89 ctx->count = 0; in br_multihash_init()
[all …]
/freebsd/contrib/ldns/
H A Dsha2.c3 * AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/
5 * Copyright (c) 2000-2001, Aaron D. Gifford
9 * system-defined SHA code.
11 * - Renamed (external) functions and constants to fit ldns style
12 * - Removed _End and _Data functions
13 * - Added ldns_shaX(data, len, digest) convenience functions
14 * - Removed prototypes of _Transform functions and made those static
19 * 1. Redistributions of source code must retain the above copyright
60 * cc -DSHA2_UNROLL_TRANSFORM -o sha2 sha2.c sha2prog.c
69 /*** SHA-256/384/512 Machine Architecture Definitions *****************/
[all …]
/freebsd/sys/cddl/boot/zfs/
H A Dsha256.c32 * SHA-256 and SHA-512/256 hashes, as specified in FIPS 180-4, available at:
35 * This is a very compact implementation of SHA-256 and SHA-512/256.
40 * The literal definitions according to FIPS180-4 would be:
49 #define ROTR(x, n) (((x) >> (n)) | ((x) << ((sizeof (x) * NBBY)-(n))))
51 /* SHA-224/256 operations */
57 /* SHA-384/512 operations */
60 #define SIGMA0_512(x) (ROTR((x), 1) ^ ROTR((x), 8) ^ ((x) >> 7))
63 /* SHA-256 round constants */
83 /* SHA-512 round constants */
134 W[t] = (cp[0] << 24) | (cp[1] << 16) | (cp[2] << 8) | cp[3]; in SHA256Transform()
[all …]
/freebsd/lib/libmd/
H A DMakefile17 INCS= md4.h md5.h ripemd.h sha.h sha224.h sha256.h sha384.h sha512.h \
25 MAN+= md4.3 md5.3 ripemd.3 sha.3 sha256.3 sha512.3 skein.3
36 MLINKS+=sha.3 SHA_Init.3 sha.3 SHA_Update.3 sha.3 SHA_Final.3
37 MLINKS+=sha.3 SHA_End.3 sha.3 SHA_File.3 sha.3 SHA_FileChunk.3
38 MLINKS+=sha.3 SHA_Data.3
39 MLINKS+=sha.3 SHA1_Init.3 sha.3 SHA1_Update.3 sha.3 SHA1_Final.3
40 MLINKS+=sha.3 SHA1_End.3 sha.3 SHA1_File.3 sha.3 SHA1_FileChunk.3
41 MLINKS+=sha.3 SHA1_Data.3
94 CFLAGS+= -I.
96 ln -sf ${.ALLSRC} ${.TARGET}
[all …]

12345678910>>...25