sha1
heim_oid sha1 = { 6, sha1_oid_tree };
ret += test_heim_oid_format_same("1 3 14 3 2 26", &sha1);
ATTRIBUTE_WARN_UNUSED_RET int sha1(const u8 *input, u32 ilen, u8 output[SHA1_DIGEST_SIZE]);
IMPLEMENT_LEGACY_EVP_MD_METH(sha1, SHA1)
return SHA1_Init(&mctx->sha1);
return SHA1_Update(&mctx->sha1, data, count);
return SHA1_Final(md + MD5_DIGEST_LENGTH, &mctx->sha1);
if (!SHA1_Update(&mctx->sha1, padtmp, 40))
if (!SHA1_Final(sha1tmp, &mctx->sha1))
if (!SHA1_Update(&mctx->sha1, padtmp, 40))
if (!SHA1_Update(&mctx->sha1, sha1tmp, sizeof(sha1tmp)))
EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq);
if (sha1 == NULL)
if (!X509_pubkey_digest(cert, sha1, md, NULL))
EVP_MD_free(sha1);
EVP_MD *sha1 = NULL;
sha1 = EVP_MD_fetch(libctx, "SHA1", propq);
if (sha1 == NULL)
if (!X509_pubkey_digest(cert, sha1, md, NULL))
EVP_MD_free(sha1);
MD_CASE(sha1)
MD_NID_CASE(sha1, SHA_DIGEST_LENGTH)
int ossl_sha1_ctrl(SHA_CTX *sha1, int cmd, int mslen, void *ms)
if (sha1 == NULL)
if (SHA1_Update(sha1, ms, mslen) <= 0)
if (!SHA1_Update(sha1, padtmp, sizeof(padtmp)))
if (!SHA1_Final(sha1tmp, sha1))
if (!SHA1_Init(sha1))
if (SHA1_Update(sha1, ms, mslen) <= 0)
if (!SHA1_Update(sha1, padtmp, sizeof(padtmp)))
if (!SHA1_Update(sha1, sha1tmp, sizeof(sha1tmp)))
EVP_MD *sha1 = NULL;
sha1 = EVP_MD_fetch(libctx, "SHA1", propq);
if (sha1 == NULL)
if (!EVP_DigestInit_ex(ctxt, sha1, NULL)
|| !EVP_DigestInit_ex(ctxt, sha1, NULL))
EVP_MD_free(sha1);
EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq);
if (sha1 == NULL)
|| !EVP_Digest(tmp, numN * 2, digest, NULL, sha1, NULL))
EVP_MD_free(sha1);
EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq);
if (i2d_ret >= 0 && sha1 != NULL
&& EVP_Digest(x->canon_enc, x->canon_enclen, md, NULL, sha1, NULL)) {
EVP_MD_free(sha1);
MD_CASE(sha1);
MD_CASE(sha1);
OAEP_PSS_MD_CASE(sha1, hashalg);
MD_with_RSA_CASE(sha1, precompiled);
sha1, SHA_CTX, SHA_CBLOCK, SHA_DIGEST_LENGTH, SHA2_FLAGS,
SHA_CTX sha1;
IMPL_DSA_SIGALG(sha1, SHA1);
IMPL_ECDSA_SIGALG(sha1, SHA1);
IMPL_RSA_SIGALG(sha1, SHA1);
SHA_CTX *sha1 = ctx;
l2n(sha1->h0, md_out);
l2n(sha1->h1, md_out);
l2n(sha1->h2, md_out);
l2n(sha1->h3, md_out);
l2n(sha1->h4, md_out);
const EVP_MD *md5 = NULL, *sha1 = NULL;
sha1 = ssl_evp_md_fetch(sctx->libctx, NID_sha1, sctx->propq);
if (md5 == NULL || sha1 == NULL || m5 == NULL || s1 == NULL) {
if (EVP_DigestInit_ex(ctx, SSL_CONNECTION_GET_CTX(s)->sha1, NULL) <= 0
if (!EVP_DigestInit_ex(s1, sha1, NULL)
ssl_evp_md_free(sha1);
ret->sha1 = ssl_evp_md_fetch(libctx, NID_sha1, propq);
ssl_evp_md_free(a->sha1);
const EVP_MD *sha1; /* For SSLv3/TLSv1 'ssl3-sha1' */
ve_test_hash(sha1, SHA1);
SHA1_CTX sha1;
struct sha1_ctxt sha1 __aligned(16);
uint32_t sha1 = 0;
sha1 = le32_to_cpup((const uint32_t *)data);
sc->sc_pnvm_ver = sha1;
SCTP_SHA1_INIT(&ctx->sha1);
SCTP_SHA1_UPDATE(&ctx->sha1, text, textlen);
SCTP_SHA1_FINAL(digest, &ctx->sha1);
SCTP_SHA1_CTX sha1;