Lines Matching refs:a
317 type *d2i_##name(type **a, const unsigned char **in, long len); \
318 int i2d_##name(type *a, unsigned char **out); \
322 type *d2i_##name(type **a, const unsigned char **in, long len); \
323 int i2d_##name(const type *a, unsigned char **out); \
327 int i2d_##name##_NDEF(name *a, unsigned char **out);
335 void name##_free(type *a);
583 # define M_ASN1_BIT_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
584 # define M_ASN1_BIT_STRING_dup(a) (ASN1_BIT_STRING *)\ argument
585 ASN1_STRING_dup((const ASN1_STRING *)a)
586 # define M_ASN1_BIT_STRING_cmp(a,b) ASN1_STRING_cmp(\ argument
587 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
588 # define M_ASN1_BIT_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c) argument
592 # define M_ASN1_INTEGER_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
593 # define M_ASN1_INTEGER_dup(a) (ASN1_INTEGER *)\ argument
594 ASN1_STRING_dup((const ASN1_STRING *)a)
595 # define M_ASN1_INTEGER_cmp(a,b) ASN1_STRING_cmp(\ argument
596 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
600 # define M_ASN1_ENUMERATED_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
601 # define M_ASN1_ENUMERATED_dup(a) (ASN1_ENUMERATED *)\ argument
602 ASN1_STRING_dup((const ASN1_STRING *)a)
603 # define M_ASN1_ENUMERATED_cmp(a,b) ASN1_STRING_cmp(\ argument
604 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
608 # define M_ASN1_OCTET_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
609 # define M_ASN1_OCTET_STRING_dup(a) (ASN1_OCTET_STRING *)\ argument
610 ASN1_STRING_dup((const ASN1_STRING *)a)
611 # define M_ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp(\ argument
612 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
613 # define M_ASN1_OCTET_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c) argument
614 # define M_ASN1_OCTET_STRING_print(a,b) ASN1_STRING_print(a,(ASN1_STRING *)b) argument
615 # define M_i2d_ASN1_OCTET_STRING(a,pp) \ argument
616 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_OCTET_STRING,\
649 # define M_ASN1_PRINTABLE_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
650 # define M_i2d_ASN1_PRINTABLE(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\ argument
651 pp,a->type,V_ASN1_UNIVERSAL)
652 # define M_d2i_ASN1_PRINTABLE(a,pp,l) \ argument
653 d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \
657 # define M_DIRECTORYSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
658 # define M_i2d_DIRECTORYSTRING(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\ argument
659 pp,a->type,V_ASN1_UNIVERSAL)
660 # define M_d2i_DIRECTORYSTRING(a,pp,l) \ argument
661 d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \
665 # define M_DISPLAYTEXT_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
666 # define M_i2d_DISPLAYTEXT(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\ argument
667 pp,a->type,V_ASN1_UNIVERSAL)
668 # define M_d2i_DISPLAYTEXT(a,pp,l) \ argument
669 d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \
674 # define M_ASN1_PRINTABLESTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
675 # define M_i2d_ASN1_PRINTABLESTRING(a,pp) \ argument
676 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_PRINTABLESTRING,\
678 # define M_d2i_ASN1_PRINTABLESTRING(a,pp,l) \ argument
680 ((ASN1_STRING **)a,pp,l,B_ASN1_PRINTABLESTRING)
684 # define M_ASN1_T61STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
685 # define M_i2d_ASN1_T61STRING(a,pp) \ argument
686 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_T61STRING,\
688 # define M_d2i_ASN1_T61STRING(a,pp,l) \ argument
690 ((ASN1_STRING **)a,pp,l,B_ASN1_T61STRING)
694 # define M_ASN1_IA5STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
695 # define M_ASN1_IA5STRING_dup(a) \ argument
696 (ASN1_IA5STRING *)ASN1_STRING_dup((const ASN1_STRING *)a)
697 # define M_i2d_ASN1_IA5STRING(a,pp) \ argument
698 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_IA5STRING,\
700 # define M_d2i_ASN1_IA5STRING(a,pp,l) \ argument
701 (ASN1_IA5STRING *)d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l,\
706 # define M_ASN1_UTCTIME_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
707 # define M_ASN1_UTCTIME_dup(a) (ASN1_UTCTIME *)\ argument
708 ASN1_STRING_dup((const ASN1_STRING *)a)
712 # define M_ASN1_GENERALIZEDTIME_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
713 # define M_ASN1_GENERALIZEDTIME_dup(a) (ASN1_GENERALIZEDTIME *)ASN1_STRING_dup(\ argument
714 (const ASN1_STRING *)a)
718 # define M_ASN1_TIME_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
719 # define M_ASN1_TIME_dup(a) (ASN1_TIME *)\ argument
720 ASN1_STRING_dup((const ASN1_STRING *)a)
724 # define M_ASN1_GENERALSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
725 # define M_i2d_ASN1_GENERALSTRING(a,pp) \ argument
726 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_GENERALSTRING,\
728 # define M_d2i_ASN1_GENERALSTRING(a,pp,l) \ argument
730 ((ASN1_STRING **)a,pp,l,B_ASN1_GENERALSTRING)
734 # define M_ASN1_UNIVERSALSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
735 # define M_i2d_ASN1_UNIVERSALSTRING(a,pp) \ argument
736 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_UNIVERSALSTRING,\
738 # define M_d2i_ASN1_UNIVERSALSTRING(a,pp,l) \ argument
740 ((ASN1_STRING **)a,pp,l,B_ASN1_UNIVERSALSTRING)
744 # define M_ASN1_BMPSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
745 # define M_i2d_ASN1_BMPSTRING(a,pp) \ argument
746 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_BMPSTRING,\
748 # define M_d2i_ASN1_BMPSTRING(a,pp,l) \ argument
750 ((ASN1_STRING **)a,pp,l,B_ASN1_BMPSTRING)
754 # define M_ASN1_VISIBLESTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
755 # define M_i2d_ASN1_VISIBLESTRING(a,pp) \ argument
756 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_VISIBLESTRING,\
758 # define M_d2i_ASN1_VISIBLESTRING(a,pp,l) \ argument
760 ((ASN1_STRING **)a,pp,l,B_ASN1_VISIBLESTRING)
764 # define M_ASN1_UTF8STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) argument
765 # define M_i2d_ASN1_UTF8STRING(a,pp) \ argument
766 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_UTF8STRING,\
768 # define M_d2i_ASN1_UTF8STRING(a,pp,l) \ argument
770 ((ASN1_STRING **)a,pp,l,B_ASN1_UTF8STRING)
778 int ASN1_TYPE_get(ASN1_TYPE *a);
779 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
780 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
781 int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b);
784 void ASN1_OBJECT_free(ASN1_OBJECT *a);
785 int i2d_ASN1_OBJECT(ASN1_OBJECT *a, unsigned char **pp);
786 ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp,
788 ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp,
797 void ASN1_STRING_free(ASN1_STRING *a);
798 void ASN1_STRING_clear_free(ASN1_STRING *a);
800 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *a);
802 int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
815 int i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **pp);
816 ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,
818 int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length);
819 int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value);
820 int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n);
821 int ASN1_BIT_STRING_check(ASN1_BIT_STRING *a,
832 int i2d_ASN1_BOOLEAN(int a, unsigned char **pp);
833 int d2i_ASN1_BOOLEAN(int *a, const unsigned char **pp, long length);
836 int i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp);
837 ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp,
839 ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp,
846 int ASN1_UTCTIME_check(const ASN1_UTCTIME *a);
856 int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a);
867 ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *a);
868 int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a,
904 int i2d_ASN1_SET(STACK_OF(OPENSSL_BLOCK) *a, unsigned char **pp,
906 STACK_OF(OPENSSL_BLOCK) *d2i_ASN1_SET(STACK_OF(OPENSSL_BLOCK) **a,
913 int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a);
915 int i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a);
917 int i2a_ASN1_OBJECT(BIO *bp, ASN1_OBJECT *a);
919 int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type);
921 int i2t_ASN1_OBJECT(char *buf, int buf_len, ASN1_OBJECT *a);
927 int ASN1_INTEGER_set(ASN1_INTEGER *a, long v);
928 long ASN1_INTEGER_get(const ASN1_INTEGER *a);
932 int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v);
933 long ASN1_ENUMERATED_get(ASN1_ENUMERATED *a);
941 int i2d_ASN1_bytes(ASN1_STRING *a, unsigned char **pp, int tag, int xclass);
942 ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, const unsigned char **pp,
946 ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a, const unsigned char **pp,
1035 int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a);
1036 int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a);
1037 int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a);
1054 int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len);
1055 int ASN1_TYPE_get_octetstring(ASN1_TYPE *a, unsigned char *data, int max_len);
1056 int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num,
1058 int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a, long *num,