Lines Matching refs:orig_len
60 static OSSL_COMP_CERT *OSSL_COMP_CERT_new(unsigned char *data, size_t len, size_t orig_len, int alg) in OSSL_COMP_CERT_new() argument
72 ret->orig_len = orig_len; in OSSL_COMP_CERT_new()
83 size_t orig_len, int alg) in OSSL_COMP_CERT_from_compressed_data() argument
85 return OSSL_COMP_CERT_new(OPENSSL_memdup(data, len), len, orig_len, alg); in OSSL_COMP_CERT_from_compressed_data()
288 if (cpks[j].comp_cert[alg]->len >= cpks[j].comp_cert[alg]->orig_len) { in ssl_compress_certs()
301 size_t *orig_len) in ssl_get_compressed_cert() argument
312 || orig_len == NULL in ssl_get_compressed_cert()
327 *orig_len = comp_cert->orig_len; in ssl_get_compressed_cert()
410 size_t SSL_get1_compressed_cert(SSL *ssl, int alg, unsigned char **data, size_t *orig_len) in SSL_get1_compressed_cert() argument
421 return ssl_get_compressed_cert(ssl, cpk, alg, data, orig_len); in SSL_get1_compressed_cert()
427 size_t SSL_CTX_get1_compressed_cert(SSL_CTX *ctx, int alg, unsigned char **data, size_t *orig_len) in SSL_CTX_get1_compressed_cert() argument
433 ret = ssl_get_compressed_cert(new, ctx->cert->key, alg, data, orig_len); in SSL_CTX_get1_compressed_cert()