Lines Matching refs:digest
273 /* Symmetric cipher and digest support functions */
285 static int pk11_engine_digests(ENGINE *e, const EVP_MD **digest,
319 PK11_DIGEST *digest);
1105 * digest information is needed when setting default engine, this function
1232 * Disable digest if C_GetOperationState is not supported since
1233 * this function is required by OpenSSL digest copy function
2552 pk11_engine_digests(ENGINE *e, const EVP_MD **digest,
2555 if (!digest) {
2561 *digest = &pk11_md5;
2574 *digest = &pk11_sha1;
2577 *digest = &pk11_sha224;
2580 *digest = &pk11_sha256;
2583 *digest = &pk11_sha384;
2586 *digest = &pk11_sha512;
2589 *digest = NULL;
2592 return (*digest != NULL);
2678 index = md_nid_to_pk11(ctx->digest->type);
2738 len = ctx->digest->md_size;
2752 if (ctx->digest->md_size != len) {
2757 * Final is called and digest is returned, so return the session
2775 if (from->md_data == NULL || to->digest->ctx_size == 0) {
3040 DEBUG_SLOT_SEL("%s: chosen cipher/digest slot: %d\n", PK11_DBG, SLOTID);
3164 DEBUG_SLOT_SEL("%s: checking cipher/digest\n", PK11_DBG);
3241 int *current_slot_n_digest, int *local_digest_nids, PK11_DIGEST *digest)
3246 DEBUG_SLOT_SEL("%s: checking mech: %x", PK11_DBG, digest->mech_type);
3247 rv = pflist->C_GetMechanismInfo(slot_id, digest->mech_type, &mech_info);
3255 local_digest_nids[(*current_slot_n_digest)++] = digest->nid;
3274 /* Find what digest algorithms this slot supports. */