Lines Matching refs:bound
56 static int mime_bound_check(char *line, int linelen, const char *bound, int blen);
57 static int multi_split(BIO *bio, int flags, const char *bound, STACK_OF(BIO) **ret);
243 char bound[33], c; in SMIME_write_ASN1_ex() local
260 if (RAND_bytes_ex(libctx, (unsigned char *)bound, 32, 0) <= 0) in SMIME_write_ASN1_ex()
263 c = bound[i] & 0xf; in SMIME_write_ASN1_ex()
268 bound[i] = c; in SMIME_write_ASN1_ex()
270 bound[32] = 0; in SMIME_write_ASN1_ex()
277 bound, mime_eol, mime_eol); in SMIME_write_ASN1_ex()
281 BIO_printf(bio, "------%s%s", bound, mime_eol); in SMIME_write_ASN1_ex()
284 BIO_printf(bio, "%s------%s%s", mime_eol, bound, mime_eol); in SMIME_write_ASN1_ex()
294 BIO_printf(bio, "%s------%s--%s%s", mime_eol, bound, in SMIME_write_ASN1_ex()
610 static int multi_split(BIO *bio, int flags, const char *bound, STACK_OF(BIO) **ret) in multi_split() argument
619 blen = strlen(bound); in multi_split()
628 state = mime_bound_check(linebuf, len, bound, blen); in multi_split()
990 static int mime_bound_check(char *line, int linelen, const char *bound, int blen) in mime_bound_check() argument
995 blen = strlen(bound); in mime_bound_check()
1000 if ((CHECK_AND_SKIP_PREFIX(line, "--")) && strncmp(line, bound, blen) == 0) in mime_bound_check()