Searched refs:length (Results 1 – 11 of 11) sorted by relevance
/apps/ |
A D | asn1parse.c | 76 unsigned int length = 0; in asn1parse_main() local 121 length = strtol(opt_arg(), NULL, 0); in asn1parse_main() 189 buf->length = buf->max = num; in asn1parse_main() 265 tmplen = at->value.asn1_string->length; in asn1parse_main() 278 if (length == 0 || length > (unsigned int)num) in asn1parse_main() 279 length = (unsigned int)num; in asn1parse_main() 281 if (BIO_write(derout, str + offset, length) != (int)length) { in asn1parse_main() 291 ASN1_VALUE *value = ASN1_item_d2i(NULL, &p, length, it); in asn1parse_main() 300 if (!ASN1_parse_dump(bio_out, p, length, indent, dump)) { in asn1parse_main()
|
A D | tsget.in | 22 my $data_len = length ${$state->{data}}; 36 return length($data); 59 $curl->setopt(CURLOPT_HEADERFUNCTION, sub { return length($_[0]); }); 94 $curl->setopt(CURLOPT_INFILESIZE, length(${$body}));
|
A D | CA.pl.in | 71 last if (pos($val) == length($val)); 136 last if (pos($val) == length($val)); 163 my $l = length($1);
|
A D | ts.c | 521 int length; in create_digest() local 529 while ((length = BIO_read(input, buffer, sizeof(buffer))) > 0) { in create_digest() 530 if (!EVP_DigestUpdate(md_ctx, buffer, length)) in create_digest() 575 nonce->length = len - i; in create_nonce() 576 nonce->data = app_malloc(nonce->length + 1, "nonce buffer"); in create_nonce() 577 memcpy(nonce->data, buf + i, nonce->length); in create_nonce()
|
A D | dgst.c | 546 size_t i, e = 0, length = strlen(file), newline_count = 0, mem_len = 0; in newline_escape_filename() local 549 for (i = 0; i < length; i++) in newline_escape_filename() 553 mem_len = length + newline_count + 1; in newline_escape_filename() 557 while (e < length) { in newline_escape_filename()
|
A D | ca.c | 1522 j = ASN1_PRINTABLE_type(str->data, str->length); in do_body() 1908 row[DB_exp_date] = app_malloc(tm->length + 1, "row expdate"); in do_body() 1909 memcpy(row[DB_exp_date], tm->data, tm->length); in do_body() 1910 row[DB_exp_date][tm->length] = '\0'; in do_body() 2137 row[DB_exp_date] = app_malloc(tm->length + 1, "row exp_data"); in do_revoke() 2138 memcpy(row[DB_exp_date], tm->data, tm->length); in do_revoke() 2139 row[DB_exp_date][tm->length] = '\0'; in do_revoke() 2406 i = revtm->length + 1; in make_revocation_str() 2515 for (j = str->length; j > 0; j--) { in old_entry_print()
|
A D | pkcs12.c | 1252 av->value.bmpstring->length); in print_attribute() 1258 BIO_printf(out, "%.*s\n", av->value.utf8string->length, in print_attribute() 1264 av->value.octet_string->length); in print_attribute() 1270 av->value.bit_string->length); in print_attribute()
|
A D | speed.c | 124 static void print_message(const char *s, int length, int tm); 1533 static int check_block_size(EVP_CIPHER_CTX *ctx, int length) in check_block_size() argument 1542 if (length % blocksize != 0) { in check_block_size() 1927 unsigned int length; in speed_main() member 3247 rsa_keys[testnum].length)) != NULL; in speed_main() 4794 static void print_message(const char *s, int length, int tm) in print_message() argument 4798 : "Doing %s ops for %ds on %d size blocks: ", s, tm, length); in print_message()
|
A D | s_client.c | 2845 atyp->value.sequence->length); in s_client_main() 3800 size_t length = strlen(host); in is_dNS_name() local 3811 for (i = 0; i < length && label_length < MAX_LABEL_LENGTH; ++i) { in is_dNS_name() 3828 if (i > 0 && i < length - 1) { in is_dNS_name()
|
/apps/lib/ |
A D | s_cb.c | 858 size_t length = 0; in generate_stateless_cookie_callback() local 886 if (!BIO_ADDR_rawaddress(peer, NULL, &length)) { in generate_stateless_cookie_callback() 891 OPENSSL_assert(length != 0); in generate_stateless_cookie_callback() 893 length += sizeof(port); in generate_stateless_cookie_callback() 894 buffer = app_malloc(length, "cookie generate buffer"); in generate_stateless_cookie_callback() 900 cookie_secret, COOKIE_SECRET_LENGTH, buffer, length, in generate_stateless_cookie_callback()
|
A D | apps.c | 3264 rv = BIO_write(out, mem_buffer->data, (int)mem_buffer->length); in mem_bio_to_file() 3265 if (rv < 0 || (size_t)rv != mem_buffer->length) in mem_bio_to_file() 3340 s[signature->length - 1] ^= 0x1; in corrupt_signature()
|
Completed in 48 milliseconds