Go to the documentation of this file.
27 #ifndef POLARSSL_ASN1_WRITE_H
28 #define POLARSSL_ASN1_WRITE_H
32 #define ASN1_CHK_ADD(g, f) if( ( ret = f ) < 0 ) return( ret ); else g += ret
34 int asn1_write_len(
unsigned char **p,
unsigned char *start,
size_t len );
35 int asn1_write_tag(
unsigned char **p,
unsigned char *start,
unsigned char tag );
38 int asn1_write_oid(
unsigned char **p,
unsigned char *start,
char *oid );
40 int asn1_write_int(
unsigned char **p,
unsigned char *start,
int val );