Lines Matching defs:ec
43 gpg_err_code_t ec;
56 ec = gpg_err_code (gcry_md_open (&md, hashalgo,
58 if (ec)
59 return ec;
125 gpg_err_code_t ec;
166 ec = gpg_err_code (gcry_md_open (&md, hashalgo,
169 if (ec)
172 return ec;
181 ec = gpg_err_code (gcry_md_setkey (md, passphrase, passphraselen));
182 if (ec)
186 return ec;
239 gpg_err_code_t ec;
243 ec = GPG_ERR_INV_DATA;
248 ec = GPG_ERR_INV_VALUE;
258 ec = openpgp_s2k (passphrase, passphraselen, algo, subalgo,
263 ec = GPG_ERR_UNSUPPORTED_ALGORITHM;
267 ec = pkdf2 (passphrase, passphraselen, subalgo,
272 ec = GPG_ERR_UNKNOWN_ALGORITHM;
277 return gpg_error (ec);