Home
last modified time | relevance | path

Searched refs:ext_len (Results 1 – 11 of 11) sorted by relevance

/openssl/crypto/ct/
H A Dct_sct.c139 void SCT_set0_extensions(SCT *sct, unsigned char *ext, size_t ext_len) in SCT_set0_extensions() argument
143 sct->ext_len = ext_len; in SCT_set0_extensions()
147 int SCT_set1_extensions(SCT *sct, const unsigned char *ext, size_t ext_len) in SCT_set1_extensions() argument
151 sct->ext_len = 0; in SCT_set1_extensions()
154 if (ext != NULL && ext_len > 0) { in SCT_set1_extensions()
155 sct->ext = OPENSSL_memdup(ext, ext_len); in SCT_set1_extensions()
158 sct->ext_len = ext_len; in SCT_set1_extensions()
228 return sct->ext_len; in SCT_get0_extensions()
H A Dct_oct.c122 sct->ext_len = len2; in o2i_SCT()
214 len = 43 + sct->ext_len + 4 + sct->sig_len; in i2o_SCT()
236 s2n(sct->ext_len, p); in i2o_SCT()
237 if (sct->ext_len > 0) { in i2o_SCT()
238 memcpy(p, sct->ext, sct->ext_len); in i2o_SCT()
239 p += sct->ext_len; in i2o_SCT()
H A Dct_vfy.c86 s2n(sct->ext_len, p); in sct_ctx_update()
90 if (sct->ext_len && !EVP_DigestUpdate(ctx, sct->ext, sct->ext_len)) in sct_ctx_update()
H A Dct_prn.c103 if (sct->ext_len == 0) in SCT_print()
106 BIO_hex_string(out, indent + 16, 16, sct->ext, sct->ext_len); in SCT_print()
H A Dct_local.h72 size_t ext_len; member
/openssl/crypto/x509/
H A Dv3_conf.c32 long *ext_len);
142 int ext_len; in do_ext_i2d() local
149 ext_len = in do_ext_i2d()
151 if (ext_len < 0) { in do_ext_i2d()
158 ext_len = method->i2d(ext_struc, NULL); in do_ext_i2d()
159 if (ext_len <= 0) { in do_ext_i2d()
174 ext_oct->length = ext_len; in do_ext_i2d()
243 long ext_len = 0; in v3_generic_extension() local
271 oct->length = ext_len; in v3_generic_extension()
285 long *ext_len) in generic_asn1() argument
[all …]
/openssl/doc/man3/
H A DSCT_new.pod70 void SCT_set0_extensions(SCT *sct, unsigned char *ext, size_t ext_len);
71 int SCT_set1_extensions(SCT *sct, const unsigned char *ext, size_t ext_len);
/openssl/ssl/
H A Dssl_sess.c1166 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len) in SSL_set_session_ticket_ext() argument
1177 OPENSSL_malloc(sizeof(TLS_SESSION_TICKET_EXT) + ext_len); in SSL_set_session_ticket_ext()
1182 sc->ext.session_ticket->length = ext_len; in SSL_set_session_ticket_ext()
1184 memcpy(sc->ext.session_ticket->data, ext_data, ext_len); in SSL_set_session_ticket_ext()
/openssl/include/openssl/
H A Dct.h.in252 void SCT_set0_extensions(SCT *sct, unsigned char *ext, size_t ext_len);
260 size_t ext_len);
H A Dssl.h.in2240 __owur int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len);
/openssl/ssl/statem/
H A Dstatem_srvr.c1446 size_t ext_len; in ssl_check_for_safari() local
1459 ext_len = TLS1_get_client_version( in ssl_check_for_safari()
1464 ext_len); in ssl_check_for_safari()

Completed in 53 milliseconds