Home
last modified time | relevance | path

Searched refs:sha256 (Results 1 – 25 of 70) sorted by relevance

123

/openssl/crypto/sha/
H A Dbuild.info9 sha256-mb-x86_64.s
99 GENERATE[sha256-586.S]=asm/sha256-586.pl
113 GENERATE[sha256-mb-x86_64.s]=asm/sha256-mb-x86_64.pl
121 INCLUDE[sha256-sparcv9.o]=..
139 INCLUDE[sha256-mips.o]=..
145 GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl
146 INCLUDE[sha256-armv4.o]=..
155 INCLUDE[sha256-armv8.o]=..
164 INCLUDE[sha256-s390x.o]=..
170 GENERATE[sha256-c64xplus.S]=asm/sha256-c64xplus.pl
[all …]
/openssl/test/
H A Ddefltfips_test.c21 EVP_MD *sha256 = NULL; in test_is_fips_enabled() local
45 sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL); in test_is_fips_enabled()
47 if (!TEST_ptr_null(sha256)) { in test_is_fips_enabled()
48 EVP_MD_free(sha256); in test_is_fips_enabled()
52 if (!TEST_ptr(sha256)) in test_is_fips_enabled()
55 && !TEST_str_eq(OSSL_PROVIDER_get0_name(EVP_MD_get0_provider(sha256)), in test_is_fips_enabled()
57 EVP_MD_free(sha256); in test_is_fips_enabled()
60 EVP_MD_free(sha256); in test_is_fips_enabled()
H A Dprov_config_test.c27 EVP_MD *sha256 = NULL; in test_double_config() local
38 sha256 = EVP_MD_fetch(ctx, "SHA2-256", NULL); in test_double_config()
39 if (!TEST_ptr(sha256)) in test_double_config()
44 EVP_MD_free(sha256); in test_double_config()
H A DCAtsa.cnf38 default_md = sha256 # which md to use.
134 signer_digest = sha256 # Signing digest to use. (Optional)
138 digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory)
146 ess_cert_id_alg = sha256 # algorithm to compute certificate
147 # identifier (optional, default: sha256)
160 signer_digest = sha256 # Signing digest to use. (Optional)
164 digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory)
H A Dnamemap_internal_test.c81 const EVP_MD *sha256, *foo; in test_digestbyname() local
91 sha256 = EVP_get_digestbyname("SHA256"); in test_digestbyname()
92 if (!TEST_ptr(sha256)) in test_digestbyname()
95 if (!TEST_ptr_eq(sha256, foo)) in test_digestbyname()
H A Devp_extra_test2.c682 EVP_MD *sha256; in test_alternative_default() local
697 || !TEST_ptr(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
699 EVP_MD_free(sha256); in test_alternative_default()
700 sha256 = NULL; in test_alternative_default()
712 EVP_MD_free(sha256); in test_alternative_default()
718 EVP_MD *sha256 = NULL; in test_provider_unload_effective() local
729 EVP_MD_free(sha256); in test_provider_unload_effective()
730 sha256 = NULL; in test_provider_unload_effective()
732 EVP_MD_free(sha256); in test_provider_unload_effective()
733 sha256 = NULL; in test_provider_unload_effective()
[all …]
H A Dproxy.cnf10 default_md = sha256
35 default_md = sha256
H A Dp_test.c307 EVP_MD *sha256 = EVP_MD_fetch(ctx->libctx, "SHA2-256", NULL); in OSSL_provider_init() local
308 if (sha256 != NULL) { in OSSL_provider_init()
309 EVP_MD_free(sha256); in OSSL_provider_init()
/openssl/ssl/quic/
H A Dquic_record_util.c92 EVP_MD *sha256; in ossl_quic_provide_initial_secret() local
98 if ((sha256 = EVP_MD_fetch(libctx, "SHA256", propq)) == NULL) in ossl_quic_provide_initial_secret()
111 sha256, in ossl_quic_provide_initial_secret()
124 sha256, in ossl_quic_provide_initial_secret()
137 sha256, in ossl_quic_provide_initial_secret()
150 sha256, in ossl_quic_provide_initial_secret()
160 if (qrx != NULL && qtx != NULL && !EVP_MD_up_ref(sha256)) { in ossl_quic_provide_initial_secret()
161 sha256 = NULL; in ossl_quic_provide_initial_secret()
169 sha256, in ossl_quic_provide_initial_secret()
177 EVP_MD_free(sha256); in ossl_quic_provide_initial_secret()
/openssl/providers/implementations/kdfs/
H A Dscrypt.c40 unsigned char *key, size_t keylen, EVP_MD *sha256,
53 EVP_MD *sha256; member
84 EVP_MD_free(ctx->sha256); in kdf_scrypt_free()
106 if (src->sha256 != NULL && !EVP_MD_up_ref(src->sha256)) in kdf_scrypt_dup()
122 dest->sha256 = src->sha256; in kdf_scrypt_dup()
162 EVP_MD_free(ctx->sha256); in set_digest()
163 ctx->sha256 = EVP_MD_fetch(ctx->libctx, "sha256", ctx->propq); in set_digest()
164 if (ctx->sha256 == NULL) { in set_digest()
202 if (ctx->sha256 == NULL && !set_digest(ctx)) in kdf_scrypt_derive()
207 ctx->maxmem_bytes, key, keylen, ctx->sha256, in kdf_scrypt_derive()
[all …]
/openssl/test/recipes/30-test_evp_data/
H A Devppbe_pbkdf2.txt27 MD = sha256
48 MD = sha256
69 MD = sha256
90 MD = sha256
111 MD = sha256
162 MD = sha256
183 MD = sha256
H A Devpkdf_pbkdf2.txt31 Ctrl.digest = digest:sha256
58 Ctrl.digest = digest:sha256
85 Ctrl.digest = digest:sha256
108 Ctrl.digest = digest:sha256
133 Ctrl.digest = digest:sha256
198 Ctrl.digest = digest:sha256
/openssl/util/
H A Dfips-checksums.sh15 | openssl sha256 -r \
21 | openssl sha256 -r \
27 | openssl sha256 -r \
/openssl/crypto/objects/
H A Dobj_xref.txt10 sha256WithRSAEncryption sha256 rsaEncryption
40 ecdsa_with_SHA256 sha256 X9_62_id_ecPublicKey
51 dsa_with_SHA256 sha256 dsa
62 dhSinglePass_stdDH_sha256kdf_scheme sha256 dh_std_kdf
68 dhSinglePass_cofactorDH_sha256kdf_scheme sha256 dh_cofactor_kdf
/openssl/crypto/ct/
H A Dct_log.c80 EVP_MD *sha256 = NULL; in ct_v1_log_id_from_pkey() local
86 sha256 = EVP_MD_fetch(log->libctx, "SHA2-256", log->propq); in ct_v1_log_id_from_pkey()
87 if (sha256 == NULL) { in ct_v1_log_id_from_pkey()
92 ret = EVP_Digest(pkey_der, pkey_der_len, log->log_id, &len, sha256, in ct_v1_log_id_from_pkey()
95 EVP_MD_free(sha256); in ct_v1_log_id_from_pkey()
H A Dct_sct_ctx.c208 EVP_MD *sha256 = EVP_MD_fetch(sctx->libctx, "SHA2-256", sctx->propq); in ct_public_key_hash() local
210 if (sha256 == NULL) in ct_public_key_hash()
227 if (!EVP_Digest(der, der_len, md, &md_len, sha256, NULL)) in ct_public_key_hash()
239 EVP_MD_free(sha256); in ct_public_key_hash()
/openssl/test/recipes/95-test_external_oqsprovider_data/
H A Doqsprovider-pkcs12gen.sh65 if [ $(cat tmp/$1_srv_1.p12 | $OPENSSL_APP sha256) -neq $(cat tmp/$1_srv_2.p12 | $OPENSSL_APP sha25…
/openssl/demos/certs/apps/
H A Dmkxcerts.sh17 -keyout tsha256.pem -out tsha256.pem -new -days 3650 -sha256
30 -days 3650 -sha256
/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_credentials.csv38 1,default sha256, -section,,BLANK,,BLANK,, -cert,signer.crt, -key,signer.p12, -keypass,pass:12345,B…
39 1,digest sha256, -section,,BLANK,,BLANK,, -cert,signer.crt, -key,signer.p12, -keypass,pass:12345,BL…
44 … -cert,signer.crt, -key,signer.p12, -keypass,pass:12345,BLANK,,BLANK,, -digest,sha256 sha512,BLANK,
/openssl/crypto/rsa/
H A Drsa_sign.c150 ENCODE_DIGESTINFO_SHA(sha256, 0x01, SHA256_DIGEST_LENGTH)
191 MD_CASE(sha256) in ossl_rsa_digestinfo_encoding()
231 MD_NID_CASE(sha256, SHA256_DIGEST_LENGTH) in digest_sz_from_nid()
/openssl/providers/common/der/
H A Dder_dsa_sig.c35 MD_CASE(sha256); in ossl_DER_w_algorithmIdentifier_DSA_with_MD()
H A Dder_ec_sig.c36 MD_CASE(sha256); in ossl_DER_w_algorithmIdentifier_ECDSA_with_MD()
H A Dder_rsa_sig.c49 MD_with_RSA_CASE(sha256, precompiled); in ossl_DER_w_algorithmIdentifier_MDWithRSAEncryption()
/openssl/test/ocsp-tests/
H A Dca.cnf32 default_md = sha256
/openssl/demos/sslecho/
H A DA-SSL-Docs.txt15 openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out cert.pem -keyout key.pem

Completed in 49 milliseconds

123