• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/crypto/heimdal/lib/hx509/

Lines Matching refs:context

54 _hx509_collector_alloc(hx509_context context, hx509_lock lock, struct hx509_collector **collector)
63 hx509_set_error_string(context, 0, ENOMEM, "out of memory");
68 ret = hx509_certs_init(context, "MEMORY:collector-unenvelop-cert",
76 ret = hx509_certs_init(context, "MEMORY:collector-tmp-store",
96 _hx509_collector_certs_add(hx509_context context,
100 return hx509_certs_add(context, c->certs, cert);
114 _hx509_collector_private_key_add(hx509_context context,
132 hx509_set_error_string(context, 0, ENOMEM, "Out of memory");
139 hx509_set_error_string(context, 0, ret, "Failed to copy "
146 ret = hx509_parse_private_key(context, alg,
156 hx509_set_error_string(context, 0, ret,
174 match_localkeyid(hx509_context context,
183 hx509_set_error_string(context, 0, HX509_LOCAL_ATTRIBUTE_MISSING,
193 ret = hx509_certs_find(context, certs, &q, &cert);
204 match_keys(hx509_context context, struct private_key *value, hx509_certs certs)
211 hx509_set_error_string(context, 0, HX509_PRIVATE_KEY_MISSING,
216 ret = hx509_certs_start_seq(context, certs, &cursor);
222 ret = hx509_certs_next_cert(context, certs, cursor, &c);
242 hx509_certs_end_seq(context, certs, cursor);
245 hx509_clear_error_string(context);
251 _hx509_collector_collect_certs(hx509_context context,
261 ret = hx509_certs_init(context, "MEMORY:collector-store", 0, NULL, &certs);
265 ret = hx509_certs_merge(context, certs, c->certs);
272 ret = match_localkeyid(context, c->val.data[i], certs);
275 ret = match_keys(context, c->val.data[i], certs);
286 _hx509_collector_collect_private_keys(hx509_context context,
300 hx509_set_error_string(context, 0, ENOMEM, "malloc - out of memory");