Home
last modified time | relevance | path

Searched refs:tmp_ctx (Results 1 – 9 of 9) sorted by relevance

/third_party/boringssl/src/crypto/evp/
Dsign.c82 EVP_MD_CTX tmp_ctx; in EVP_SignFinal() local
87 EVP_MD_CTX_init(&tmp_ctx); in EVP_SignFinal()
88 if (!EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) || in EVP_SignFinal()
89 !EVP_DigestFinal_ex(&tmp_ctx, m, &m_len)) { in EVP_SignFinal()
92 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_SignFinal()
128 EVP_MD_CTX tmp_ctx; in EVP_VerifyFinal() local
131 EVP_MD_CTX_init(&tmp_ctx); in EVP_VerifyFinal()
132 if (!EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) || in EVP_VerifyFinal()
133 !EVP_DigestFinal_ex(&tmp_ctx, m, &m_len)) { in EVP_VerifyFinal()
134 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_VerifyFinal()
[all …]
Ddigestsign.c157 EVP_MD_CTX tmp_ctx; in EVP_DigestSignFinal() local
162 EVP_MD_CTX_init(&tmp_ctx); in EVP_DigestSignFinal()
163 ret = EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) && in EVP_DigestSignFinal()
164 EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen) && in EVP_DigestSignFinal()
166 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_DigestSignFinal()
182 EVP_MD_CTX tmp_ctx; in EVP_DigestVerifyFinal() local
187 EVP_MD_CTX_init(&tmp_ctx); in EVP_DigestVerifyFinal()
188 ret = EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) && in EVP_DigestVerifyFinal()
189 EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen) && in EVP_DigestVerifyFinal()
191 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_DigestVerifyFinal()
/third_party/openssl/crypto/evp/
Dm_sigver.c132 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_DigestSignFinal() local
133 if (tmp_ctx == NULL) in EVP_DigestSignFinal()
135 if (!EVP_MD_CTX_copy_ex(tmp_ctx, ctx)) { in EVP_DigestSignFinal()
136 EVP_MD_CTX_free(tmp_ctx); in EVP_DigestSignFinal()
140 r = tmp_ctx->pctx->pmeth->signctx(tmp_ctx->pctx, in EVP_DigestSignFinal()
141 sigret, siglen, tmp_ctx); in EVP_DigestSignFinal()
143 r = EVP_DigestFinal_ex(tmp_ctx, md, &mdlen); in EVP_DigestSignFinal()
144 EVP_MD_CTX_free(tmp_ctx); in EVP_DigestSignFinal()
191 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_DigestVerifyFinal() local
192 if (tmp_ctx == NULL) in EVP_DigestVerifyFinal()
[all …]
Dp_verify.c30 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_VerifyFinal() local
31 if (tmp_ctx == NULL) { in EVP_VerifyFinal()
35 rv = EVP_MD_CTX_copy_ex(tmp_ctx, ctx); in EVP_VerifyFinal()
37 rv = EVP_DigestFinal_ex(tmp_ctx, m, &m_len); in EVP_VerifyFinal()
38 EVP_MD_CTX_free(tmp_ctx); in EVP_VerifyFinal()
Dp_sign.c32 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_SignFinal() local
33 if (tmp_ctx == NULL) { in EVP_SignFinal()
37 rv = EVP_MD_CTX_copy_ex(tmp_ctx, ctx); in EVP_SignFinal()
39 rv = EVP_DigestFinal_ex(tmp_ctx, m, &m_len); in EVP_SignFinal()
40 EVP_MD_CTX_free(tmp_ctx); in EVP_SignFinal()
/third_party/protobuf/src/google/protobuf/
Dextension_set_inl.h238 ParseContext tmp_ctx(ctx->depth(), false, &p, payload); in ParseMessageSetItemTmpl()
239 tmp_ctx.data().pool = ctx->data().pool; in ParseMessageSetItemTmpl()
240 tmp_ctx.data().factory = ctx->data().factory; in ParseMessageSetItemTmpl()
241 GOOGLE_PROTOBUF_PARSER_ASSERT(value->_InternalParse(p, &tmp_ctx) && in ParseMessageSetItemTmpl()
242 tmp_ctx.EndedAtLimit()); in ParseMessageSetItemTmpl()
Dwire_format.cc695 ParseContext tmp_ctx(ctx->depth(), false, &p, payload); in _InternalParse() local
696 tmp_ctx.data().pool = ctx->data().pool; in _InternalParse()
697 tmp_ctx.data().factory = ctx->data().factory; in _InternalParse()
698 GOOGLE_PROTOBUF_PARSER_ASSERT(value->_InternalParse(p, &tmp_ctx) && in _InternalParse()
699 tmp_ctx.EndedAtLimit()); in _InternalParse()
/third_party/ffmpeg/libavutil/
Dhwcontext.c652 AVHWDeviceContext *dst_ctx, *tmp_ctx; in av_hwdevice_ctx_create_derived_opts() local
657 tmp_ctx = (AVHWDeviceContext*)tmp_ref->data; in av_hwdevice_ctx_create_derived_opts()
658 if (tmp_ctx->type == type) { in av_hwdevice_ctx_create_derived_opts()
666 tmp_ref = tmp_ctx->internal->source_device; in av_hwdevice_ctx_create_derived_opts()
678 tmp_ctx = (AVHWDeviceContext*)tmp_ref->data; in av_hwdevice_ctx_create_derived_opts()
681 tmp_ctx, in av_hwdevice_ctx_create_derived_opts()
698 tmp_ref = tmp_ctx->internal->source_device; in av_hwdevice_ctx_create_derived_opts()
/third_party/ffmpeg/libavcodec/
Dh264_slice.c2106 H264SliceContext tmp_ctx; in ff_h264_queue_decode_slice() local
2112 memcpy(&tmp_ctx, h->slice_ctx, sizeof(tmp_ctx)); in ff_h264_queue_decode_slice()
2113 memcpy(h->slice_ctx, sl, sizeof(tmp_ctx)); in ff_h264_queue_decode_slice()
2114 memcpy(sl, &tmp_ctx, sizeof(tmp_ctx)); in ff_h264_queue_decode_slice()