Searched refs:mdCtx (Results 1 – 2 of 2) sorted by relevance
/external/arm-trusted-firmware/tools/cert_create/src/ |
D | cert.c | 105 EVP_MD_CTX *mdCtx; in cert_new() local 126 mdCtx = EVP_MD_CTX_create(); in cert_new() 127 if (mdCtx == NULL) { in cert_new() 133 if (!EVP_DigestSignInit(mdCtx, &pKeyCtx, get_digest(md_alg), NULL, ikey)) { in cert_new() 203 if (!X509_sign_ctx(x, mdCtx)) { in cert_new() 213 EVP_MD_CTX_destroy(mdCtx); in cert_new()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 2691 EVP_MD_CTX* mdCtx = fromContextObject<EVP_MD_CTX>(env, evpMdCtxRef); in evpDigestSignVerifyInit() local 2692 if (mdCtx == nullptr) { in evpDigestSignVerifyInit() 2699 JNI_TRACE("ctx=%p %s => pkey == null", mdCtx, jniName); in evpDigestSignVerifyInit() 2702 JNI_TRACE("%s(%p, %p, %p) <- ptr", jniName, mdCtx, md, pkey); in evpDigestSignVerifyInit() 2705 JNI_TRACE("ctx=%p %s => md == null", mdCtx, jniName); in evpDigestSignVerifyInit() 2711 if (init_func(mdCtx, &pctx, md, nullptr, pkey) <= 0) { in evpDigestSignVerifyInit() 2712 JNI_TRACE("ctx=%p %s => threw exception", mdCtx, jniName); in evpDigestSignVerifyInit() 2717 JNI_TRACE("%s(%p, %p, %p) => success", jniName, mdCtx, md, pkey); in evpDigestSignVerifyInit() 2737 EVP_MD_CTX* mdCtx = fromContextObject<EVP_MD_CTX>(env, evpMdCtxRef); in evpUpdate() local 2739 JNI_TRACE_MD("%s(%p, %p, %d)", jniName, mdCtx, p, inLength); in evpUpdate() [all …]
|