• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/asn1/

Lines Matching refs:ASN1_ITEM

83 /* Macros for start and end of ASN1_ITEM definition */
86 OPENSSL_GLOBAL const ASN1_ITEM itname##_it = {
97 /* Macros for start and end of ASN1_ITEM definition */
100 const ASN1_ITEM * itname##_it(void) \
102 static const ASN1_ITEM local_it = {
138 * This will produce an ASN1_ITEM called stname_it
225 * This will produce an ASN1_ITEM called chname_it
276 /* This helps with the template wrapper form of ASN1_ITEM */
306 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
307 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
398 static const ASN1_ITEM *name##_adb(void) \
410 return (const ASN1_ITEM *) &internal_adb; \
434 ASN1_ITEM_EXP *item; /* Relevant ASN1_ITEM or ASN1_ADB */
437 /* Macro to extract ASN1_ITEM and ASN1_ADB pointer from ASN1_TEMPLATE */
640 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
643 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass);
644 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
645 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
647 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
648 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
693 typedef int ASN1_aux_cb(int operation, ASN1_VALUE **in, const ASN1_ITEM *it);
737 /* Macro to implement an ASN1_ITEM in terms of old style funcs */
769 /* Macro to implement standard functions in terms of ASN1_ITEM structures */
852 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
853 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
855 int ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
859 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
862 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass);
864 void ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
866 int asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
867 int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
869 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it);
870 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it);
876 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it);
878 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it);
879 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
880 int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it);
881 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it);