Lines Matching defs:ret
321 int i, ret = ! stricmp (name, cipher->name);
324 for (i = 0; aliases[i] && (! ret); i++)
325 ret = ! stricmp (name, aliases[i]);
327 return ret;
337 int ret = 0, i;
340 for (i = 0; oid_specs[i].oid && (! ret); i++)
342 ret = 1;
344 return ret;
424 int ret = 0;
436 for (i = 0; cipher->oids[i].oid && !ret; i++)
443 ret = 1;
448 return ret;
459 int ret, algorithm = 0;
472 ret = search_oid (string, &algorithm, NULL);
473 if (! ret)
497 int ret = 0, mode = 0;
503 ret = search_oid (string, NULL, &oid_spec);
504 if (ret)
878 gcry_err_code_t ret;
880 ret = (*c->cipher->setkey) (&c->context.c, key, keylen);
881 if (!ret)
889 return gcry_error (ret);