Lines Matching defs:chain
40 static int tlsv1_add_cert_der(struct x509_certificate **chain,
53 p = *chain;
59 * the chain - add the new certificate to the end.
63 /* Add to the beginning of the chain */
64 cert->next = *chain;
65 *chain = cert;
102 static int tlsv1_add_cert(struct x509_certificate **chain,
113 return tlsv1_add_cert_der(chain, buf, len);
135 if (tlsv1_add_cert_der(chain, der, der_len) < 0) {
152 static int tlsv1_set_cert_chain(struct x509_certificate **chain,
157 return tlsv1_add_cert(chain, cert_blob, cert_blob_len);
171 ret = tlsv1_add_cert(chain, buf, len);