Lines Matching refs:ctx
24 int mscode_parse(struct pefile_context *ctx) in mscode_parse() argument
30 ret = pkcs7_get_content_data(ctx->pkcs7, &content_data, &data_len, 1); in mscode_parse()
40 return asn1_ber_decoder(&mscode_decoder, ctx, content_data, data_len); in mscode_parse()
82 struct pefile_context *ctx = context; in mscode_note_digest_algo() local
89 ctx->digest_algo = HASH_ALGO_MD4; in mscode_note_digest_algo()
92 ctx->digest_algo = HASH_ALGO_MD5; in mscode_note_digest_algo()
95 ctx->digest_algo = HASH_ALGO_SHA1; in mscode_note_digest_algo()
98 ctx->digest_algo = HASH_ALGO_SHA256; in mscode_note_digest_algo()
121 struct pefile_context *ctx = context; in mscode_note_digest() local
123 ctx->digest = value; in mscode_note_digest()
124 ctx->digest_len = vlen; in mscode_note_digest()