Home
last modified time | relevance | path

Searched refs:sign_md (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/openssl/crypto/ts/
H A Dts_conf.c267 const EVP_MD *sign_md = NULL; in TS_CONF_set_signer_digest() local
274 sign_md = EVP_get_digestbyname(md); in TS_CONF_set_signer_digest()
275 if (sign_md == NULL) { in TS_CONF_set_signer_digest()
279 if (!TS_RESP_CTX_set_signer_digest(ctx, sign_md)) in TS_CONF_set_signer_digest()
/freebsd/crypto/openssl/apps/
H A Dsmime.c144 EVP_MD *sign_md = NULL; in smime_main() local
366 if (!opt_md(digestname, &sign_md)) in smime_main()
585 if (!PKCS7_sign_add_signer(p7, signer, key, sign_md, flags)) in smime_main()
667 EVP_MD_free(sign_md); in smime_main()
H A Dcms.c285 EVP_MD *sign_md = NULL; in cms_main() local
698 if (!opt_md(digestname, &sign_md)) in cms_main()
949 cms = CMS_digest_create_ex(in, sign_md, flags, libctx, app_get0_propq()); in cms_main()
1089 si = CMS_add1_signer(cms, signer, key, sign_md, tflags); in cms_main()
1267 EVP_MD_free(sign_md); in cms_main()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c4405 const EVP_MD *sign_md; in crypto_csr_sign() local
4412 sign_md = EVP_sha256(); in crypto_csr_sign()
4415 sign_md = EVP_sha384(); in crypto_csr_sign()
4418 sign_md = EVP_sha512(); in crypto_csr_sign()
4424 if (!X509_REQ_sign((X509_REQ *) csr, (EVP_PKEY *) key, sign_md)) in crypto_csr_sign()