| /freebsd-src/crypto/openssl/test/ssl-tests/ |
| H A D | 19-mac-then-encrypt.cnf | 5 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 D | 30-extended-master-secret.cnf | 5 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-src/secure/usr.bin/openssl/man/ |
| H A D | openssl-ciphers.1 | 18 .\" 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-src/contrib/bearssl/inc/ |
| H A D | bearssl_hash.h | 48 * - `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 D | bearssl_prf.h | 44 * 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-src/lib/libmd/ |
| H A D | shadriver.c | |
| H A D | Makefile | 17 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 [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Headers/ |
| H A D | shaintrin.h | 1 /*===---- 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-src/contrib/wpa/src/crypto/ |
| H A D | fips_prf_wolfssl.c | 2 * 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-src/crypto/openssl/include/openssl/ |
| H A D | tls1.h | 2 * 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 [all...] |
| H A D | ssl3.h | 2 * 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-src/crypto/openssl/doc/man1/ |
| H A D | openssl-ciphers.pod.in | 2 {- 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-src/crypto/openssl/providers/ |
| H A D | fips-sources.checksums | 6 6979c133f76f4623e62e6e970deae70fa025e713a72b71aead5a048d49e47f6f crypto/aes/asm/aes-586.pl 7 2eef5f20f1410b48bdaaafa24ded24f56f34c4ca79db1d38fa6bf1b3b19535bf crypto/aes/asm/aes-armv4.pl 8 38c2cf8ed3910efd89d8721e1b0763a8fde073b91f6529d251165a0496ef9555 crypto/aes/asm/aes-c64xplus.pl 9 00196f01f5218ad731e6a058d406078f7228a9756d9d73f51c0d0c2a68f885af crypto/aes/asm/aes-ia64.S 10 b4ef595194fe1692e1ab2b561f385da01b277cf004902e8fc99e8ac5389bbd35 crypto/aes/asm/aes-mips.pl 11 123c4498c94040b70708fdd911cb08c6411b020b4cf3eb761d6fa22c583c3e6f crypto/aes/asm/aes-parisc.pl 12 7a7f2f90791415ef4ffc1ba2a6f6b6fe994bfe0e03d3bf9dab6e428e6874695c crypto/aes/asm/aes-ppc.pl 13 d139e5ad69560fd0ffd8aa2e72304e463650cea4c657be7a90e0d1eb782d580a crypto/aes/asm/aes-s390x.pl 14 133ba35d77002abcd430414749c4e98c4a319630da898e45ff8dbc5800176df1 crypto/aes/asm/aes-sparcv9.pl 15 c98690249d490d23e6fee84f672f1463ffc029427110a4329244a59e4e4aaed8 crypto/aes/asm/aes-x86_6 [all...] |
| /freebsd-src/secure/lib/libcrypto/man/man3/ |
| H A D | EVP_sha224.3 | 18 .\" 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 D | EVP_sha3_224.3 | 18 .\" 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-src/contrib/bearssl/tools/ |
| H A D | names.c | 39 { "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-src/sbin/md5/ |
| H A D | md5.1 | 12 .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-src/contrib/unbound/compat/ |
| H A D | sha512.c | 3 * 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-src/crypto/openssh/openbsd-compat/ |
| H A D | sha2.c | 7 * 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-src/contrib/bearssl/src/hash/ |
| H A D | multihash.c | 51 * 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-src/sys/contrib/device-tree/Bindings/crypto/ |
| H A D | atmel,at91sam9g46-sha.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-sh [all...] |
| H A D | samsung-slimsss.yaml | 1 # 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-src/contrib/ldns/ |
| H A D | sha2.c | 3 * 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-src/sys/cddl/boot/zfs/ |
| H A D | sha256.c | 32 * 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-src/crypto/openssl/demos/certs/apps/ |
| H A D | mkxcerts.sh | 2 # 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 …]
|