Lines Matching defs:digest
69 * Flag to termine if the 'z' digest needs to be computed and fed to the
83 /* main digest */
106 ERR_raise_data(ERR_LIB_PROV, PROV_R_INVALID_DIGEST, "digest=%s",
288 unsigned char digest[EVP_MAX_MD_SIZE];
300 && EVP_DigestFinal_ex(psm2ctx->mdctx, digest, &dlen)))
304 return sm2sig_sign(vpsm2ctx, sig, siglen, sigsize, digest, (size_t)dlen);
312 unsigned char digest[EVP_MAX_MD_SIZE];
317 || EVP_MD_get_size(psm2ctx->md) > (int)sizeof(digest))
321 && EVP_DigestFinal_ex(psm2ctx->mdctx, digest, &dlen)))
324 return sm2sig_verify(vpsm2ctx, sig, siglen, digest, (size_t)dlen);
436 * If the 'z' digest has already been computed, the ID is set too late
450 * The following code checks that the size is the same as the SM3 digest
452 * If there is ever any different digest algorithm allowed with SM2