Home
last modified time | relevance | path

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

123456789

/freebsd/crypto/openssl/doc/man3/
H A DEVP_sha224.pod11 - SHA-2 For EVP
26 SHA-2 (Secure Hash Algorithm 2) is a family of cryptographic hash functions
27 standardized in NIST FIPS 180-4, first published in 2001.
38 The SHA-2 SHA-224, SHA-256, SHA-512/224, SHA512/256, SHA-384 and SHA-512
39 algorithms, which generate 224, 256, 224, 256, 384 and 512 bits
42 The two algorithms: SHA-512/224 and SHA512/256 are truncated forms of the
43 SHA-512 algorithm. They are distinct from SHA-224 and SHA-256 even though
52 L<EVP_MD_fetch(3)> with L<EVP_MD-SHA2(7)>instead.
63 NIST FIPS 180-4.
72 Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
H A DEVP_sha3_224.pod11 - SHA-3 For EVP
27 SHA-3 (Secure Hash Algorithm 3) is a family of cryptographic hash functions
38 The SHA-3 SHA-3-224, SHA-3-256, SHA-3-384, and SHA-3-512 algorithms
39 respectively. They produce 224, 256, 384 and 512 bits of output from a given
45 The SHAKE-128 and SHAKE-256 Extendable Output Functions (XOF) that can generate
57 L<EVP_MD_fetch(3)> with L<EVP_MD-SHA3(7)> or L<EVP_MD-SHAKE(7)> instead.
77 Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
/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/doc/man7/
H A DEVP_MD-SHA2.pod5 EVP_MD-SHA2 - The SHA2 EVP_MD implementation
23 =item SHA2-224
25 Known names are "SHA2-224", "SHA-224" and "SHA224".
27 =item SHA2-256
29 Known names are "SHA2-256", "SHA-256" and "SHA256".
31 =item SHA2-384
33 Known names are "SHA2-384", "SHA-384" and "SHA384".
35 =item SHA2-512
37 Known names are "SHA2-512", "SHA-512" and "SHA512".
47 =item SHA2-512/224
[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 …]
/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
66 /*** SHA-256/384/512 Machine Architecture Definitions *****************/
71 * architecture is little-endian, make sure it also defines
81 * And for little-endian machines, add:
[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\|
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"
98 . 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\|
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"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
[all …]
/freebsd/secure/lib/libcrypto/man/man7/
H A DEVP_MD-SHA2.718 .\" 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\|
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"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
[all …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dsha2.c7 * Copyright (c) 2000-2001, Aaron D. Gifford
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 ***********************/
104 #define SHA224_SHORT_BLOCK_LENGTH (SHA224_BLOCK_LENGTH - 8)
[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
60 * cc -DSHA2_UNROLL_TRANSFORM -o sha2 sha2.c sha2prog.c
69 /*** SHA-256/384/512 Machine Architecture Definitions *****************/
74 * architecture is little-endian, make sure it also defines
[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 */
63 /* SHA-256 round constants */
83 /* SHA-512 round constants */
138 W[t] = SIGMA1_256(W[t - 2]) + W[t - 7] + in SHA256Transform()
139 SIGMA0_256(W[t - 15]) + W[t - 16]; in SHA256Transform()
[all …]
/freebsd/crypto/openssl/test/ssl-tests/
H A D13-fragmentation.cnf.in1 # -*- mode: perl; -*-
2 # Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
19 # Default fragment size is 512.
21 name => "one-fragment-minus-app-data",
29 name => "one-fragment-app-data",
33 ApplicationData => 512,
37 name => "one-fragment-plus-app-data",
45 name => "small-app-data",
53 name => "small-app-data-large-fragment-size",
62 name => "medium-app-data",
[all …]
/freebsd/contrib/ldns/ldns/
H A Dsha2.h3 * 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 uintXX vs. u_intXX smartness, since ldns needs uintXX
14 * - BYTE ORDER check replaced by simple ifdef as defined or not by
16 * - Removed _End and _Data functions
17 * - Added ldns_shaX(data, len, digest) functions
61 /*** SHA-256/384/512 Various Length Definitions ***********************/
73 /*** SHA-256/384/512 Context Structures *******************************/
[all …]
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dnames.h22 * ALGNAME[VERSION?][-SUBNAME[VERSION?]?][-SIZE?][-MODE?]
31 * algorithms together, e.g. MD5-SHA1.
34 * with different sizes (e.g. AES-128-CBC, AES-256-CBC)
39 /*-
41 * -----------------
43 #define PROV_NAMES_AES_256_ECB "AES-256-ECB:2.16.840.1.101.3.4.1.41"
44 #define PROV_NAMES_AES_192_ECB "AES-192-ECB:2.16.840.1.101.3.4.1.21"
45 #define PROV_NAMES_AES_128_ECB "AES-128-ECB:2.16.840.1.101.3.4.1.1"
46 #define PROV_NAMES_AES_256_CBC "AES-256-CBC:AES256:2.16.840.1.101.3.4.1.42"
47 #define PROV_NAMES_AES_192_CBC "AES-192-CBC:AES192:2.16.840.1.101.3.4.1.22"
[all …]
/freebsd/crypto/openssl/demos/certs/apps/
H A Dmkxcerts.sh2 # Create certificates using various algorithms to test multi-certificate
6 CN="OpenSSL Test RSA SHA-1 cert" $OPENSSL req \
7 -config apps.cnf -extensions usr_cert -x509 -nodes \
8 -keyout tsha1.pem -out tsha1.pem -new -days 3650 -sha1
9 CN="OpenSSL Test RSA SHA-256 cert" $OPENSSL req \
10 -config apps.cnf -extensions usr_cert -x509 -nodes \
11 -keyout tsha256.pem -out tsha256.pem -new -days 3650 -sha256
12 CN="OpenSSL Test RSA SHA-512 cert" $OPENSSL req \
13 -config apps.cnf -extensions usr_cert -x509 -nodes \
14 -keyout tsha512.pem -out tsha512.pem -new -days 3650 -sha512
[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 …]
H A Dskein.31 .\"-
121 large-block cipher.
125 is defined for three different internal state sizes\(em256 bits, 512 bits, and
127 This allows Skein to be a drop-in replacement for the entire SHA family
150 which converts the return value to a 33-character
162 but it only calculates the digest over a byte-range of the file specified,
209 argument is non-null it must point to at least 33 characters of buffer space.
217 functions except they produce a 512-bit, 65 character,
218 or 1024-bit, 129 character, output.
223 .Bl -tag -width Er
[all …]
/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devprand.txt2 # Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
19 RAND = CTR-DRBG
20 Cipher = AES-192-CTR
32 # https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dr…
36 RAND = CTR-DRBG
37 Cipher = AES-128-CTR
40 GenerateBits = 512
87 RAND = CTR-DRBG
88 Cipher = AES-128-CTR
91 GenerateBits = 512
[all …]
/freebsd/sys/crypto/sha2/
H A Dsha512c.c1 /*-
50 /* Copy a vector of big-endian uint64_t into a vector of bytes */
54 /* Copy a vector of bytes into a vector of big-endian uint64_t */
62 * vector of (unsigned char) in big-endian form. Assumes len is a
77 * Decode a big-endian length len vector of (unsigned char) into a length
139 #define ROTR(x, n) ((x >> n) | (x << (64 - n)))
153 RND(S[(80 - i) % 8], S[(81 - i) % 8], \
154 S[(82 - i) % 8], S[(83 - i) % 8], \
155 S[(84 - i) % 8], S[(85 - i) % 8], \
156 S[(86 - i) % 8], S[(87 - i) % 8], \
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Dsha.h2 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
29 /*-
37 # define SHA_CBLOCK (SHA_LBLOCK*4)/* SHA treats input data as a
39 * big-endian values. */
40 # define SHA_LAST_BLOCK (SHA_CBLOCK-8)
58 # define SHA256_CBLOCK (SHA_LBLOCK*4)/* SHA-256 treats input data as a
60 * big-endian values. */
91 * Unlike 32-bit digest algorithms, SHA-512 *relies* on SHA_LONG64
92 * being exactly 64-bit wide. See Implementation Notes in sha512.c
96 * SHA-512 treats input data as a
[all …]
/freebsd/crypto/openssl/test/recipes/
H A D70-test_sslsigalgs.t2 # Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
21 if disabled("engine") || disabled("dynamic-engine");
30 my $proxy = TLSProxy::Proxy->new(
57 $proxy->clientflags("-no_tls1_3") if disabled("ec") && disabled("dh");
58 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
60 ok(TLSProxy::Message->success, "Default sigalgs");
67 $proxy->filter(\&sigalgs_filter);
70 $proxy->clear();
72 $proxy->start();
73 ok(TLSProxy::Message->fail, "No TLSv1.3 sigalgs");
[all …]
/freebsd/sys/crypto/openssl/
H A Dossl_sha.h2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
20 /* From include/openssl/sha.h */
24 # define SHA_CBLOCK (SHA_LBLOCK*4)/* SHA treats input data as a
26 * big-endian values. */
35 # define SHA256_CBLOCK (SHA_LBLOCK*4)/* SHA-256 treats input data as a
37 * big-endian values. */
47 * SHA-512 treats input data as a
49 * wide big-endian values.

123456789