Lines Matching refs:comp_data
95 unsigned char *comp_data = NULL; in OSSL_COMP_CERT_from_uncompressed_data() local
115 || (comp_data = OPENSSL_zalloc(max_length)) == NULL) in OSSL_COMP_CERT_from_uncompressed_data()
118 comp_length = COMP_compress_block(comp_ctx, comp_data, max_length, data, len); in OSSL_COMP_CERT_from_uncompressed_data()
122 ret = OSSL_COMP_CERT_new(comp_data, comp_length, len, alg); in OSSL_COMP_CERT_from_uncompressed_data()
123 comp_data = NULL; in OSSL_COMP_CERT_from_uncompressed_data()
126 OPENSSL_free(comp_data); in OSSL_COMP_CERT_from_uncompressed_data()
336 unsigned char *comp_data, size_t comp_length, in ossl_set1_compressed_cert() argument
345 comp_cert = OSSL_COMP_CERT_from_compressed_data(comp_data, comp_length, in ossl_set1_compressed_cert()
441 int SSL_CTX_set1_compressed_cert(SSL_CTX *ctx, int algorithm, unsigned char *comp_data, in SSL_CTX_set1_compressed_cert() argument
445 return ossl_set1_compressed_cert(ctx->cert, algorithm, comp_data, comp_length, orig_length); in SSL_CTX_set1_compressed_cert()
451 int SSL_set1_compressed_cert(SSL *ssl, int algorithm, unsigned char *comp_data, in SSL_set1_compressed_cert() argument
461 return ossl_set1_compressed_cert(sc->cert, algorithm, comp_data, comp_length, orig_length); in SSL_set1_compressed_cert()