Lines Matching refs:bound
103 static int mime_bound_check(char *line, int linelen, char *bound, int blen);
104 static int multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret);
283 char bound[33], c; in SMIME_write_ASN1() local
299 RAND_pseudo_bytes((unsigned char *)bound, 32); in SMIME_write_ASN1()
301 c = bound[i] & 0xf; in SMIME_write_ASN1()
304 bound[i] = c; in SMIME_write_ASN1()
306 bound[32] = 0; in SMIME_write_ASN1()
313 bound, mime_eol, mime_eol); in SMIME_write_ASN1()
317 BIO_printf(bio, "------%s%s", bound, mime_eol); in SMIME_write_ASN1()
320 BIO_printf(bio, "%s------%s%s", mime_eol, bound, mime_eol); in SMIME_write_ASN1()
332 BIO_printf(bio,"%s------%s--%s%s", mime_eol, bound, in SMIME_write_ASN1()
608 static int multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret) in multi_split() argument
617 blen = strlen(bound); in multi_split()
624 state = mime_bound_check(linebuf, len, bound, blen); in multi_split()
921 static int mime_bound_check(char *line, int linelen, char *bound, int blen) in mime_bound_check() argument
924 if(blen == -1) blen = strlen(bound); in mime_bound_check()
928 if(!strncmp(line, "--", 2) && !strncmp(line + 2, bound, blen)) { in mime_bound_check()