Lines Matching refs:comp_cert

235     OSSL_COMP_CERT *comp_cert = NULL;  in ssl_compress_one_cert()  local
245 comp_cert = OSSL_COMP_CERT_from_uncompressed_data(cert_data, length, alg); in ssl_compress_one_cert()
247 if (comp_cert == NULL) in ssl_compress_one_cert()
250 OSSL_COMP_CERT_free(cpk->comp_cert[alg]); in ssl_compress_one_cert()
251 cpk->comp_cert[alg] = comp_cert; in ssl_compress_one_cert()
288 if (cpks[j].comp_cert[alg]->len >= cpks[j].comp_cert[alg]->orig_len) { in ssl_compress_certs()
289 OSSL_COMP_CERT_free(cpks[j].comp_cert[alg]); in ssl_compress_certs()
290 cpks[j].comp_cert[alg] = NULL; in ssl_compress_certs()
307 OSSL_COMP_CERT *comp_cert = NULL; in ssl_get_compressed_cert() local
321 comp_cert = OSSL_COMP_CERT_from_uncompressed_data(cert_data, cert_len, alg); in ssl_get_compressed_cert()
323 if (comp_cert == NULL) in ssl_get_compressed_cert()
326 comp_len = comp_cert->len; in ssl_get_compressed_cert()
327 *orig_len = comp_cert->orig_len; in ssl_get_compressed_cert()
328 *data = comp_cert->data; in ssl_get_compressed_cert()
329 comp_cert->data = NULL; in ssl_get_compressed_cert()
331 OSSL_COMP_CERT_free(comp_cert); in ssl_get_compressed_cert()
339 OSSL_COMP_CERT *comp_cert; in ossl_set1_compressed_cert() local
345 comp_cert = OSSL_COMP_CERT_from_compressed_data(comp_data, comp_length, in ossl_set1_compressed_cert()
347 if (comp_cert == NULL) in ossl_set1_compressed_cert()
350 OSSL_COMP_CERT_free(cert->key->comp_cert[algorithm]); in ossl_set1_compressed_cert()
351 cert->key->comp_cert[algorithm] = comp_cert; in ossl_set1_compressed_cert()