Home
last modified time | relevance | path

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

1234567891011

/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-256/192
[all …]
H A DEVP_PKEY-SLH-DSA.pod5 EVP_PKEY-SLH-DSA, EVP_KEYMGMT-SLH-DSA,
6 EVP_PKEY-SLH-DSA-SHA2-128s, EVP_PKEY-SLH-DSA-SHA2-128f,
7 EVP_PKEY-SLH-DSA-SHA2-192s, EVP_PKEY-SLH-DSA-SHA2-192f,
8 EVP_PKEY-SLH-DSA-SHA2-256s, EVP_PKEY-SLH-DSA-SHA2-256f,
9 EVP_PKEY-SLH-DSA-SHAKE-128s, EVP_PKEY-SLH-DSA-SHAKE-128f,
10 EVP_PKEY-SLH-DSA-SHAKE-192s, EVP_PKEY-SLH-DSA-SHAKE-192f,
11 EVP_PKEY-SLH-DSA-SHAKE-256s, EVP_PKEY-SLH-DSA-SHAKE-256f
12 - EVP_PKEY SLH-DSA keytype and algorithm support
16 The B<SLH-DSA-SHA2-128s>, B<EVP_PKEY-SLH-DSA-SHA2-128f>,
17 B<SLH-DSA-SHA2-192s>, B<EVP_PKEY-SLH-DSA-SHA2-192f>,
[all …]
/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.
H A DOPENSSL_s390xcap.pod5 OPENSSL_s390xcap - the IBM z processor capabilities vector
23 The environment variable is a semicolon-separated list of tokens which is
42 The name of an instruction followed by two 64-bit masks. The part of the
44 set to the specified 128-bit mask. Possible values are B<kimd>, B<klmd>,
50 Store-facility-list-extended (stfle) followed by three 64-bit masks. The
52 instruction is set to the specified 192-bit mask.
61 The 64-bit masks are specified in hexadecimal notation. The 0x prefix is
65 rows separate the individual 64-bit masks. The bit numbers in the first
67 the numbering is continuous across 64-bit mask boundaries.
72 # 17 1<<46 message-security assist
[all …]
/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/secure/lib/libcrypto/man/man7/
H A DEVP_MD-SHA2.71 .\" -*- mode: troff; coding: utf-8 -*-
57 .IX Title "EVP_MD-SHA2 7ossl"
58 .TH EVP_MD-SHA2 7ossl 2025-09-30 3.5.4 OpenSSL
64 EVP_MD\-SHA2 \- The SHA2 EVP_MD implementation
74 .IP SHA2\-224 4
75 .IX Item "SHA2-224"
76 Known names are "SHA2\-224", "SHA\-224" and "SHA224".
77 .IP SHA2\-256 4
78 .IX Item "SHA2-256"
79 Known names are "SHA2\-256", "SHA\-256" and "SHA256".
[all …]
H A DEVP_PKEY-SLH-DSA.71 .\" -*- mode: troff; coding: utf-8 -*-
57 .IX Title "EVP_PKEY-SLH-DSA 7ossl"
58 .TH EVP_PKEY-SLH-DSA 7ossl 2025-09-30 3.5.4 OpenSSL
64 EVP_PKEY\-SLH\-DSA, EVP_KEYMGMT\-SLH\-DSA,
65 EVP_PKEY\-SLH\-DSA\-SHA2\-128s, EVP_PKEY\-SLH\-DSA\-SHA2\-128f,
66 EVP_PKEY\-SLH\-DSA\-SHA2\-192s, EVP_PKEY\-SLH\-DSA\-SHA2\-192f,
67 EVP_PKEY\-SLH\-DSA\-SHA2\-256s, EVP_PKEY\-SLH\-DSA\-SHA2\-256f,
68 EVP_PKEY\-SLH\-DSA\-SHAKE\-128s, EVP_PKEY\-SLH\-DSA\-SHAKE\-128f,
69 EVP_PKEY\-SLH\-DSA\-SHAKE\-192s, EVP_PKEY\-SLH\-DSA\-SHAKE\-192f,
70 EVP_PKEY\-SLH\-DSA\-SHAKE\-256s, EVP_PKEY\-SLH\-DSA\-SHAKE\-256f
[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/secure/lib/libcrypto/man/man3/
H A DEVP_sha224.31 .\" -*- mode: troff; coding: utf-8 -*-
58 .TH EVP_SHA224 3ossl 2025-09-30 3.5.4 OpenSSL
70 \&\- SHA\-2 For EVP
85 SHA\-2 (Secure Hash Algorithm 2) is a family of cryptographic hash functions
86 standardized in NIST FIPS 180\-4, first published in 2001.
89 The SHA\-2 SHA\-224, SHA\-256, SHA\-512/224, SHA512/256, SHA\-384 and SHA\-512
90 algorithms, which generate 224, 256, 224, 256, 384 and 512 bits
93 The two algorithms: SHA\-512/224 and SHA512/256 are truncated forms of the
94 SHA\-512 algorithm. They are distinct from SHA\-224 and SHA\-256 even though
100 \&\fBEVP_MD_fetch\fR\|(3) with \fBEVP_MD\-SHA2\fR\|(7)instead.
[all …]
H A DEVP_sha3_224.31 .\" -*- mode: troff; coding: utf-8 -*-
58 .TH EVP_SHA3_224 3ossl 2025-09-30 3.5.4 OpenSSL
70 \&\- SHA\-3 For EVP
86 SHA\-3 (Secure Hash Algorithm 3) is a family of cryptographic hash functions
91 The SHA\-3 SHA\-3\-224, SHA\-3\-256, SHA\-3\-384, and SHA\-3\-512 algorithms
92 respectively. They produce 224, 256, 384 and 512 bits of output from a given
96 The SHAKE\-128 and SHAKE\-256 Extendable Output Functions (XOF) that can generate
105 \&\fBEVP_MD_fetch\fR\|(3) with \fBEVP_MD\-SHA3\fR\|(7) or \fBEVP_MD\-SHAKE\fR\|(7) instead.
121 Copyright 2017\-2023 The OpenSSL Project Authors. All Rights Reserved.
H A DOPENSSL_s390xcap.31 .\" -*- mode: troff; coding: utf-8 -*-
58 .TH OPENSSL_S390XCAP 3ossl 2025-09-30 3.5.4 OpenSSL
64 OPENSSL_s390xcap \- the IBM z processor capabilities vector
82 The environment variable is a semicolon-separated list of tokens which is
99 The name of an instruction followed by two 64\-bit masks. The part of the
101 set to the specified 128\-bit mask. Possible values are \fBkimd\fR, \fBklmd\fR,
106 Store-facility-list-extended (stfle) followed by three 64\-bit masks. The
108 instruction is set to the specified 192\-bit mask.
114 The 64\-bit masks are specified in hexadecimal notation. The 0x prefix is
118 rows separate the individual 64\-bit masks. The bit numbers in the first
[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/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/providers/implementations/include/prov/
H A Dnames.h2 * Copyright 2021-2025 The OpenSSL Project Authors. All Rights Reserved.
22 * 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 * -----------------
45 #define PROV_NAMES_GENERIC "GENERIC-SECRET"
48 #define PROV_NAMES_AES_256_ECB "AES-256-ECB:2.16.840.1.101.3.4.1.41"
49 #define PROV_NAMES_AES_192_ECB "AES-192-ECB:2.16.840.1.101.3.4.1.21"
50 #define PROV_NAMES_AES_128_ECB "AES-128-ECB:2.16.840.1.101.3.4.1.1"
[all …]
/freebsd/crypto/krb5/src/plugins/preauth/pkinit/
H A Dpkinit_kdf_test.c1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
30 #include "k5-platform.h"
38 {0, sizeof(s)-1, (char *) s}
41 /* values from test vectors in the pkinit-alg-agility draft */
91 /* set up a 256-byte, ALL-ZEROS secret */ in main()
100 /* set-up the partyUInfo and partyVInfo principals */ in main()
110 /* The test vectors in RFC 8636 implicitly use NT-PRINCIPAL names. */ in main()
111 u_principal->type = KRB5_NT_PRINCIPAL; in main()
112 v_principal->type = KRB5_NT_PRINCIPAL; in main()
114 /* set-up the as_req and and pk_as_rep data */ in main()
[all …]
/freebsd/crypto/openssl/test/ssl-tests/
H A D13-fragmentation.cnf.in1 # -*- mode: perl; -*-
2 # Copyright 2016-2025 The OpenSSL Project Authors. All Rights Reserved.
20 # Default fragment size is 512.
22 name => "one-fragment-minus-app-data",
30 name => "one-fragment-app-data",
34 ApplicationData => 512,
38 name => "one-fragment-plus-app-data",
46 name => "small-app-data",
54 name => "small-app-data-large-fragment-size",
63 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/demos/certs/apps/
H A Dmkxcerts.sh3 # Create certificates using various algorithms to test multi-certificate
12 CN="OpenSSL Test RSA SHA-1 cert" opensslcmd req \
13 -config apps.cnf -extensions usr_cert -x509 -nodes \
14 -keyout tsha1.pem -out tsha1.pem -new -days 3650 -sha1
15 CN="OpenSSL Test RSA SHA-256 cert" opensslcmd req \
16 -config apps.cnf -extensions usr_cert -x509 -nodes \
17 -keyout tsha256.pem -out tsha256.pem -new -days 3650 -sha256
18 CN="OpenSSL Test RSA SHA-512 cert" opensslcmd req \
19 -config apps.cnf -extensions usr_cert -x509 -nodes \
20 -keyout tsha512.pem -out tsha512.pem -new -days 3650 -sha512
[all …]
/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devprand.txt2 # Copyright 2020-2024 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/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 …]

1234567891011