96 static int ndef_prefix(
BIO *
b,
unsigned char **pbuf,
int *plen,
void *parg);
97 static int ndef_prefix_free(
BIO *
b,
unsigned char **pbuf,
int *plen,
void *parg);
98 static int ndef_suffix(
BIO *
b,
unsigned char **pbuf,
int *plen,
void *parg);
99 static int ndef_suffix_free(
BIO *
b,
unsigned char **pbuf,
int *plen,
void *parg);
120 if (!ndef_aux || !asn_bio || !out)
155 static int ndef_prefix(
BIO *
b,
unsigned char **pbuf,
int *plen,
void *parg)
175 *plen = *ndef_aux->
boundary - *pbuf;
180 static int ndef_prefix_free(
BIO *b,
unsigned char **pbuf,
int *plen,
void *parg)
198 static int ndef_suffix_free(
BIO *b,
unsigned char **pbuf,
int *plen,
void *parg)
201 if (!ndef_prefix_free(b, pbuf, plen, parg))
208 static int ndef_suffix(
BIO *b,
unsigned char **pbuf,
int *plen,
void *parg)
228 &ndef_aux->
val, ndef_aux->
it, &sarg) <= 0)