/freebsd/lib/libmd/tests/ |
H A D | Makefile | 7 MDTESTS= md rmd sha skein 35 .if ${mdt} == "sha" 36 CFLAGS_${mdtc}driver= -DSHA=${mdtc:C/sha//:C/t//} 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") =' \ 93 @echo 'SHA-0 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") =' \ 95 …@echo 'SHA-0 ("12345678901234567890123456789012345678901234567890123456789012345678901234567890") … [all …]
|
H A D | shadriver.c | 1 /* SHADRIVER.C - test driver for SHA-1 (and SHA-2) */ 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 42 #elif SHA == 256 45 #elif SHA == 384 48 #elif SHA == 512 [all …]
|
/freebsd/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 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] 17 ssl_conf = 0-disable-encrypt-then-mac-server-sha-ssl 19 [0-disable-encrypt-then-mac-server-sha-ssl] 20 server = 0-disable-encrypt-then-mac-server-sha-server [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 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] 18 server = 0-disable-extended-master-secret-server-sha-server 19 client = 0-disable-extended-master-secret-server-sha-client 21 [0-disable-extended-master-secret-server-sha-server] 27 [0-disable-extended-master-secret-server-sha-client] [all …]
|
H A D | 19-mac-then-encrypt.cnf.in | 20 name => "disable-encrypt-then-mac-server-sha", 25 "CipherString" => "AES128-SHA", 33 name => "disable-encrypt-then-mac-client-sha", 37 "CipherString" => "AES128-SHA", 46 name => "disable-encrypt-then-mac-both-sha", 51 "CipherString" => "AES128-SHA", 106 name => "disable-encrypt-then-mac-server-sha-tls1", 112 "CipherString" => 'AES128-SHA@SECLEVEL=0', 121 name => "disable-encrypt-then-mac-client-sha-tls1", 126 "CipherString" => 'AES128-SHA@SECLEVEL=0', [all …]
|
H A D | 30-extended-master-secret.cnf.in | 20 name => "disable-extended-master-secret-server-sha", 25 "CipherString" => "AES128-SHA", 33 name => "disable-extended-master-secret-client-sha", 37 "CipherString" => "AES128-SHA", 46 name => "disable-extended-master-secret-both-sha", 51 "CipherString" => "AES128-SHA", 67 "CipherString" => "AES128-SHA", 72 "CipherString" => "AES128-SHA",
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-ciphers.pod.in | 120 It can consist of a single cipher suite such as B<RC4-SHA>. 348 =item B<SHA1>, B<SHA> 419 e.g. DES-CBC3-SHA. In these cases, RSA authentication is used. 424 SSL_RSA_WITH_NULL_SHA NULL-SHA 426 SSL_RSA_WITH_RC4_128_SHA RC4-SHA 427 SSL_RSA_WITH_IDEA_CBC_SHA IDEA-CBC-SHA 428 SSL_RSA_WITH_3DES_EDE_CBC_SHA DES-CBC3-SHA 430 SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA DH-DSS-DES-CBC3-SHA 431 SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA DH-RSA-DES-CBC3-SHA 432 SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA DHE-DSS-DES-CBC3-SHA [all …]
|
/freebsd/contrib/bearssl/inc/ |
H A D | bearssl_hash.h | 66 * 1 to 6 for MD5, SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512, 104 * MD functions (MD5, SHA-1, SHA-2 family), this is the running state 162 * | SHA-1 | sha1 | 20 | 20 | 163 * | SHA-224 | sha224 | 28 | 32 | 164 * | SHA-256 | sha256 | 32 | 32 | 165 * | SHA-384 | sha384 | 48 | 64 | 166 * | SHA-512 | sha512 | 64 | 64 | 167 * | MD5+SHA-1 | md5sha1 | 36 | 36 | 169 * (MD5+SHA-1 is the concatenation of MD5 and SHA-1 computed over the 172 * SHA-1. It can be useful in implementing SSL 3.0, TLS 1.0 and TLS [all …]
|
/freebsd/secure/usr.bin/openssl/man/ |
H A D | openssl-ciphers.1 | 247 It can consist of a single cipher suite such as \fB\s-1RC4\-SHA\s0\fR. 438 .IP "\fB\s-1SHA1\s0\fR, \fB\s-1SHA\s0\fR" 4 439 .IX Item "SHA1, SHA" 495 e.g. \s-1DES\-CBC3\-SHA.\s0 In these cases, \s-1RSA\s0 authentication is used. 500 \& SSL_RSA_WITH_NULL_SHA NULL\-SHA 502 \& SSL_RSA_WITH_RC4_128_SHA RC4\-SHA 503 \& SSL_RSA_WITH_IDEA_CBC_SHA IDEA\-CBC\-SHA 504 \& SSL_RSA_WITH_3DES_EDE_CBC_SHA DES\-CBC3\-SHA 506 \& SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA DH\-DSS\-DES\-CBC3\-SHA 507 \& SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA DH\-RSA\-DES\-CBC3\-SHA [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | tls1.h | 471 /* TLS 1.2 Camellia SHA-256 ciphersuites from RFC5932 */ 823 # define TLS1_TXT_DHE_DSS_WITH_RC4_128_SHA "DHE-DSS-RC4-SHA" 825 # define TLS1_TXT_PSK_WITH_NULL_SHA "PSK-NULL-SHA" 826 # define TLS1_TXT_DHE_PSK_WITH_NULL_SHA "DHE-PSK-NULL-SHA" 827 # define TLS1_TXT_RSA_PSK_WITH_NULL_SHA "RSA-PSK-NULL-SHA" 830 # define TLS1_TXT_RSA_WITH_AES_128_SHA "AES128-SHA" 831 # define TLS1_TXT_DH_DSS_WITH_AES_128_SHA "DH-DSS-AES128-SHA" 832 # define TLS1_TXT_DH_RSA_WITH_AES_128_SHA "DH-RSA-AES128-SHA" 833 # define TLS1_TXT_DHE_DSS_WITH_AES_128_SHA "DHE-DSS-AES128-SHA" 834 # define TLS1_TXT_DHE_RSA_WITH_AES_128_SHA "DHE-RSA-AES128-SHA" [all …]
|
H A D | ssl3.h | 91 # define SSL3_TXT_RSA_NULL_SHA "NULL-SHA" 94 # define SSL3_TXT_RSA_RC4_128_SHA "RC4-SHA" 96 # define SSL3_TXT_RSA_IDEA_128_SHA "IDEA-CBC-SHA" 97 # define SSL3_TXT_RSA_DES_40_CBC_SHA "EXP-DES-CBC-SHA" 98 # define SSL3_TXT_RSA_DES_64_CBC_SHA "DES-CBC-SHA" 99 # define SSL3_TXT_RSA_DES_192_CBC3_SHA "DES-CBC3-SHA" 101 # define SSL3_TXT_DH_DSS_DES_40_CBC_SHA "EXP-DH-DSS-DES-CBC-SHA" 102 # define SSL3_TXT_DH_DSS_DES_64_CBC_SHA "DH-DSS-DES-CBC-SHA" 103 # define SSL3_TXT_DH_DSS_DES_192_CBC3_SHA "DH-DSS-DES-CBC3-SHA" 104 # define SSL3_TXT_DH_RSA_DES_40_CBC_SHA "EXP-DH-RSA-DES-CBC-SHA" [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | shaintrin.h | 1 /*===---- shaintrin.h - SHA intrinsics -------------------------------------=== 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 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]. 28 /// The SHA-1 algorithm has an inner loop of 80 iterations, twenty each 42 /// A 128-bit vector of [4 x i32] containing the initial SHA-1 state. 45 /// the message, plus SHA-1 state variable E. 49 /// \returns A 128-bit vector of [4 x i32] containing the updated SHA-1 state. [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | fips_prf_wolfssl.c | 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() 27 wc_ShaUpdate(&sha, data, 64); in sha1_transform() 28 state[0] = sha.digest[0]; in sha1_transform() [all …]
|
/freebsd/crypto/openssl/providers/ |
H A D | fips.module.sources | 293 crypto/sha/asm/keccak1600-armv4.pl 294 crypto/sha/asm/keccak1600-armv8.pl 295 crypto/sha/asm/keccak1600-avx2.pl 296 crypto/sha/asm/keccak1600-avx512.pl 297 crypto/sha/asm/keccak1600-avx512vl.pl 298 crypto/sha/asm/keccak1600-c64x.pl 299 crypto/sha/asm/keccak1600-mmx.pl 300 crypto/sha/asm/keccak1600-ppc64.pl 301 crypto/sha/asm/keccak1600-s390x.pl 302 crypto/sha/asm/keccak1600-x86_64.pl [all …]
|
H A D | fips-sources.checksums | 293 05c533fde7fdba0c76103e97d881b7224c8427451b453e2f6413552996063e31 crypto/sha/asm/keccak1600-armv4.pl 294 ca3b2b654f9a8c4bc2fa2538c1f19d17acd4a6b9e0df6a4b81df04efa697e67e crypto/sha/asm/keccak1600-armv8.pl 295 12b7acce2fba0bc0e1ca07842ec84be6a022f141c86e077abb42c864af1d8d9c crypto/sha/asm/keccak1600-avx2.pl 296 faf0cccb685d5abc807e08db194f847c67b940da2fc3c235c210dc31d73a5334 crypto/sha/asm/keccak1600-avx512.… 297 be1e7dd9998e3f31cfa6e1b17bc198aeec584a8b76820e38f71d51b05f8a9f2a crypto/sha/asm/keccak1600-avx512v… 298 33bdcc6f7668460c3bdf779633e43bfad62b937042a73acb007b462fc5b0a034 crypto/sha/asm/keccak1600-c64x.pl 299 09fc831dd39bd90a701e9b16d9e9987cc215252a22e1e0355f5da6c495fca35a crypto/sha/asm/keccak1600-mmx.pl 300 ce4a58129e5ee3ac4c9dfec5ecc010440570ebf7bf869e3e9977f2121a64b27a crypto/sha/asm/keccak1600-ppc64.pl 301 a859fc8cb073b2d0012a93f3155a75fb6eb677441462b0de4f8cf8df1445e970 crypto/sha/asm/keccak1600-s390x.pl 302 618dcd4891b4064d3b8aa6dcd74bea7ef55f4962a64957b05a05448f6e3e0f17 crypto/sha/asm/keccak1600-x86_64.… [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | EVP_sha224.pod | 11 - SHA-2 For EVP 26 SHA-2 (Secure Hash Algorithm 2) is a family of cryptographic hash functions 38 The SHA-2 SHA-224, SHA-256, SHA-512/224, SHA512/256, SHA-384 and SHA-512 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
|
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z10/ |
H A D | crypto.json | 29 "BriefDescription": "SHA Functions", 30 "PublicDescription": "Total number of SHA functions issued by the CPU" 35 "BriefDescription": "SHA Cycles", 36 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 41 "BriefDescription": "SHA Blocked Functions", 42 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b… 47 "BriefDescription": "SHA Bloced Cycles", 48 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
|
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z13/ |
H A D | crypto.json | 29 "BriefDescription": "SHA Functions", 30 "PublicDescription": "Total number of SHA functions issued by the CPU" 35 "BriefDescription": "SHA Cycles", 36 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 41 "BriefDescription": "SHA Blocked Functions", 42 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b… 47 "BriefDescription": "SHA Bloced Cycles", 48 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
|
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z14/ |
H A D | crypto.json | 29 "BriefDescription": "SHA Functions", 30 "PublicDescription": "Total number of SHA functions issued by the CPU" 35 "BriefDescription": "SHA Cycles", 36 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 41 "BriefDescription": "SHA Blocked Functions", 42 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b… 47 "BriefDescription": "SHA Bloced Cycles", 48 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
|
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z196/ |
H A D | crypto.json | 29 "BriefDescription": "SHA Functions", 30 "PublicDescription": "Total number of SHA functions issued by the CPU" 35 "BriefDescription": "SHA Cycles", 36 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 41 "BriefDescription": "SHA Blocked Functions", 42 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b… 47 "BriefDescription": "SHA Bloced Cycles", 48 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
|
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_zec12/ |
H A D | crypto.json | 29 "BriefDescription": "SHA Functions", 30 "PublicDescription": "Total number of SHA functions issued by the CPU" 35 "BriefDescription": "SHA Cycles", 36 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 41 "BriefDescription": "SHA Blocked Functions", 42 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b… 47 "BriefDescription": "SHA Bloced Cycles", 48 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
|
/freebsd/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" }, 113 "ECDHE with ECDSA, AES-128/CBC + SHA-256 (TLS 1.2+)" 119 "ECDHE with RSA, AES-128/CBC + SHA-256 (TLS 1.2+)" 125 "ECDHE with ECDSA, AES-256/CBC + SHA-384 (TLS 1.2+)" 131 "ECDHE with RSA, AES-256/CBC + SHA-384 (TLS 1.2+)" 137 "ECDHE with ECDSA, AES-128/CBC + SHA-1" [all …]
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | EVP_sha224.3 | 146 \&\- SHA\-2 For EVP 161 \&\s-1SHA\-2\s0 (Secure Hash Algorithm 2) is a family of cryptographic hash functions 165 The \s-1SHA\-2 SHA\-224, SHA\-256, SHA\-512/224, SHA512/256, SHA\-384\s0 and \s-1SHA\-512\s0 169 The two algorithms: \s-1SHA\-512/224\s0 and \s-1SHA512/256\s0 are truncated forms of the 170 \&\s-1SHA\-512\s0 algorithm. They are distinct from \s-1SHA\-224\s0 and \s-1SHA\-256\s0 even though
|
/freebsd/lib/libmd/ |
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.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 166 sed -e 's/mdX/sha/g' -e 's/MDX/SHA_/g' -e 's/SHA__/SHA_/g' \ 171 sed -e 's/mdX/sha/g' -e 's/MDX/SHA1_/g' -e 's/SHA1__/SHA1_/g' \
|
/freebsd/sys/contrib/device-tree/Bindings/crypto/ |
H A D | atmel,at91sam9g46-sha.yaml | 5 $id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-sha.yaml# 8 title: Atmel Secure Hash Algorithm (SHA) HW cryptographic accelerator 16 - const: atmel,at91sam9g46-sha 18 - const: microchip,sam9x7-sha 19 - const: atmel,at91sam9g46-sha 56 sha: crypto@e1814000 { 57 compatible = "atmel,at91sam9g46-sha";
|