Home
last modified time | relevance | path

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

/external/openssl/crypto/x509v3/
Dv3_conf.c77 static unsigned char *generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len);
179 int ext_len; in do_ext_i2d() local
186 ext_len = ASN1_item_i2d(ext_struc, &ext_der, ASN1_ITEM_ptr(method->it)); in do_ext_i2d()
187 if (ext_len < 0) goto merr; in do_ext_i2d()
192 ext_len = method->i2d(ext_struc, NULL); in do_ext_i2d()
193 if(!(ext_der = OPENSSL_malloc(ext_len))) goto merr; in do_ext_i2d()
199 ext_oct->length = ext_len; in do_ext_i2d()
265 long ext_len; in v3_generic_extension() local
277 ext_der = string_to_hex(value, &ext_len); in v3_generic_extension()
279 ext_der = generic_asn1(value, ctx, &ext_len); in v3_generic_extension()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
Dv3_conf.c76 static unsigned char *generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len);
178 int ext_len; in do_ext_i2d() local
185 ext_len = ASN1_item_i2d(ext_struc, &ext_der, ASN1_ITEM_ptr(method->it)); in do_ext_i2d()
186 if (ext_len < 0) goto merr; in do_ext_i2d()
191 ext_len = method->i2d(ext_struc, NULL); in do_ext_i2d()
192 if(!(ext_der = OPENSSL_malloc(ext_len))) goto merr; in do_ext_i2d()
198 ext_oct->length = ext_len; in do_ext_i2d()
264 long ext_len; in v3_generic_extension() local
276 ext_der = string_to_hex(value, &ext_len); in v3_generic_extension()
278 ext_der = generic_asn1(value, ctx, &ext_len); in v3_generic_extension()
[all …]
/external/chromium_org/content/browser/renderer_host/
Dfont_utils_linux.cc198 const size_t ext_len = strlen(kSFNTExtensions[j]); in MatchFontFaceWithFallback() local
199 if (filename_len > ext_len && in MatchFontFaceWithFallback()
200 memcmp(c_filename + filename_len - ext_len, in MatchFontFaceWithFallback()
202 ext_len) == 0) { in MatchFontFaceWithFallback()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_read.c57 u16 ext_type, ext_len; in tls_process_client_hello() local
217 ext_len = WPA_GET_BE16(pos); in tls_process_client_hello()
221 ext_len); in tls_process_client_hello()
222 if (end - pos != ext_len) { in tls_process_client_hello()
224 ext_len, (unsigned int) (end - pos)); in tls_process_client_hello()
249 ext_len = WPA_GET_BE16(pos); in tls_process_client_hello()
252 if (end - pos < ext_len) { in tls_process_client_hello()
260 "Extension data", pos, ext_len); in tls_process_client_hello()
264 conn->session_ticket = os_malloc(ext_len); in tls_process_client_hello()
267 ext_len); in tls_process_client_hello()
[all …]
/external/e2fsprogs/misc/
Dfilefrag.c132 unsigned long long ext_len; in print_extent_info() local
140 ext_len = fm_extent->fe_length >> blk_shift; in print_extent_info()
179 ext_len, flags); in print_extent_info()
/external/chromium_org/third_party/boringssl/src/ssl/
Dssl_sess.c857 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len) in SSL_set_session_ticket_ext() argument
867 s->tlsext_session_ticket = OPENSSL_malloc(sizeof(TLS_SESSION_TICKET_EXT) + ext_len); in SSL_set_session_ticket_ext()
876 s->tlsext_session_ticket->length = ext_len; in SSL_set_session_ticket_ext()
878 memcpy(s->tlsext_session_ticket->data, ext_data, ext_len); in SSL_set_session_ticket_ext()
/external/openssl/ssl/
Dssl_sess.c944 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len) in SSL_set_session_ticket_ext() argument
954 s->tlsext_session_ticket = OPENSSL_malloc(sizeof(TLS_SESSION_TICKET_EXT) + ext_len); in SSL_set_session_ticket_ext()
963 s->tlsext_session_ticket->length = ext_len; in SSL_set_session_ticket_ext()
965 memcpy(s->tlsext_session_ticket->data, ext_data, ext_len); in SSL_set_session_ticket_ext()
Dssl.h2191 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len);
/external/bluetooth/bluedroid/stack/bnep/
Dbnep_utils.c794 UINT16 len, ext_len = 0; in bnep_process_control_packet() local
798 ext_len = *p++; in bnep_process_control_packet()
879 p += (ext_len - 1); in bnep_process_control_packet()
880 *rem_len -= (ext_len - 1); in bnep_process_control_packet()
/external/chromium_org/net/base/
Dmime_util.cc253 size_t ext_len = strlen(ext); in FindMimeType() local
259 if (end_pos == ext_len && in FindMimeType()
260 base::strncasecmp(extensions, ext, ext_len) == 0) in FindMimeType()
/external/openssl/include/openssl/
Dssl.h2191 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len);
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dssl.h2248 OPENSSL_EXPORT int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len);