Searched refs:maxlen (Results 1 – 10 of 10) sorted by relevance
/openssl/crypto/bio/ |
H A D | bio_print.c | 41 size_t *maxlen, size_t *retlen, int *truncated, 89 size_t *maxlen, in _dopr() argument 322 max = *maxlen; in _dopr() 369 *truncated = (currlen > *maxlen - 1); in _dopr() 371 currlen = *maxlen - 1; in _dopr() 839 if (!ossl_assert(*currlen <= *maxlen)) in doapr_outch() 842 if (buffer && *currlen == *maxlen) { in doapr_outch() 843 if (*maxlen > INT_MAX - BUFFER_INC) in doapr_outch() 846 *maxlen += BUFFER_INC; in doapr_outch() 859 tmpbuf = OPENSSL_realloc(*buffer, *maxlen); in doapr_outch() [all …]
|
/openssl/apps/lib/ |
H A D | columns.c | 17 int len, maxlen = 0; in calculate_columns() local 21 if ((len = strlen(f->name)) > maxlen) in calculate_columns() 22 maxlen = len; in calculate_columns() 24 dc->width = maxlen + 2; in calculate_columns()
|
H A D | apps.c | 2055 int bio_to_mem(unsigned char **out, int maxlen, BIO *in) in bio_to_mem() argument 2065 if ((maxlen != -1) && maxlen < 1024) in bio_to_mem() 2066 len = maxlen; in bio_to_mem() 2080 if (maxlen != -1) in bio_to_mem() 2081 maxlen -= len; in bio_to_mem() 2083 if (maxlen == 0) in bio_to_mem()
|
/openssl/crypto/ |
H A D | o_str.c | 36 size_t maxlen; in CRYPTO_strndup() local 42 maxlen = OPENSSL_strnlen(str, s); in CRYPTO_strndup() 44 ret = CRYPTO_malloc(maxlen + 1, file, line); in CRYPTO_strndup() 46 memcpy(ret, str, maxlen); in CRYPTO_strndup() 47 ret[maxlen] = CH_ZERO; in CRYPTO_strndup() 65 size_t OPENSSL_strnlen(const char *str, size_t maxlen) in OPENSSL_strnlen() argument 69 for (p = str; maxlen-- != 0 && *p != CH_ZERO; ++p) ; in OPENSSL_strnlen()
|
/openssl/include/openssl/ |
H A D | buffer.h | 39 # define BUF_strnlen(str, maxlen) OPENSSL_strnlen(str, maxlen) argument
|
H A D | crypto.h.in | 136 size_t OPENSSL_strnlen(const char *str, size_t maxlen);
|
H A D | evp.h | 748 int EVP_read_pw_string_min(char *buf, int minlen, int maxlen,
|
/openssl/ssl/ |
H A D | ssl_asn1.c | 244 ASN1_OCTET_STRING *src, size_t maxlen) in ssl_session_memcpy() argument 250 if (src->length < 0 || src->length > (int)maxlen) in ssl_session_memcpy()
|
/openssl/apps/include/ |
H A D | apps.h | 256 int bio_to_mem(unsigned char **out, int maxlen, BIO *in);
|
/openssl/ssl/statem/ |
H A D | statem_clnt.c | 4067 size_t totlen = 0, len, maxlen, maxverok = 0; in ssl_cipher_list_to_bytes() local 4095 maxlen = OPENSSL_MAX_TLS1_2_CIPHER_LENGTH & ~1; in ssl_cipher_list_to_bytes() 4099 maxlen = 0xfffe; in ssl_cipher_list_to_bytes() 4102 maxlen -= 2; in ssl_cipher_list_to_bytes() 4104 maxlen -= 2; in ssl_cipher_list_to_bytes() 4106 for (i = 0; i < sk_SSL_CIPHER_num(sk) && totlen < maxlen; i++) { in ssl_cipher_list_to_bytes()
|
Completed in 72 milliseconds