/netbsd-current/external/bsd/ntp/dist/include/ |
H A D | safecast.h | 32 #define UA_PTR(ptype,pval) ((ptype *)(void*)(pval)) 33 #define UAC_PTR(ptype,pval) ((const ptype *)(const void*)(pval)) 34 #define UAV_PTR(ptype,pval) ((volatile ptype *)(volatile void*)(pval))
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
H A D | tasn_fre.c | 23 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 25 asn1_item_embed_free(pval, it, 0); 28 void asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument 36 if (!pval) 38 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) 49 asn1_template_free(pval, it->templates); 51 asn1_primitive_free(pval, it, embed); 55 asn1_primitive_free(pval, it, embed); 60 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); 64 i = asn1_get_choice_selector(pval, i 122 asn1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 146 asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument [all...] |
H A D | x_bignum.c | 24 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 25 static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 26 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 28 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, 30 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 32 static int bn_secure_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 34 static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, 65 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 67 *pval = (ASN1_VALUE *)BN_new(); 68 if (*pval ! 74 bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 83 bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 94 bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument 115 bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 130 bn_secure_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 149 bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument [all...] |
H A D | tasn_new.c | 18 static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 20 static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 22 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 23 static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 24 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 25 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 37 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 39 return asn1_item_embed_new(pval, it, 0); 42 int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument 64 if (!ef->asn1_ex_new(pval, i 169 asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 202 asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 248 asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 262 asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument 330 asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument [all...] |
H A D | asn1_local.h | 48 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it); 49 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, 52 ASN1_VALUE **asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 54 const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, 57 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it); 59 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it); 60 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 61 int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, 63 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, 66 void asn1_item_embed_free(ASN1_VALUE **pval, cons [all...] |
H A D | x_int64.c | 29 static int uint64_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 31 if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint64_t))) == NULL) { 38 static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 40 OPENSSL_free(*pval); 41 *pval = NULL; 44 static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 46 **(uint64_t **)pval = 0; 49 static int uint64_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, argument 55 char *cp = (char *)*pval; 73 static int uint64_c2i(ASN1_VALUE **pval, cons argument 114 uint64_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument 124 uint32_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 133 uint32_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 139 uint32_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 144 uint32_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument 175 uint32_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 223 uint32_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument [all...] |
H A D | x_long.c | 25 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 26 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 28 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, 30 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 32 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, 53 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 55 memcpy(pval, &it->size, COPY_SIZE(*pval, it->size)); 59 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 61 memcpy(pval, [all...] |
H A D | tasn_utl.c | 29 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 31 int *sel = offset2ptr(*pval, it->utype); 39 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, argument 43 sel = offset2ptr(*pval, it->utype); 58 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) argument 71 lck = offset2ptr(*pval, aux->ref_offset); 72 lock = offset2ptr(*pval, aux->ref_lock); 104 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 107 if (!pval || !*pval) 115 asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 126 asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 138 asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it) argument 158 asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it) argument 175 asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 191 asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr) argument [all...] |
H A D | nsseq.c | 16 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 21 nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval;
|
H A D | tasn_enc.c | 19 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, 24 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, 28 static int asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype, 82 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, argument 91 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) 101 return asn1_template_ex_i2d(pval, out, it->templates, 103 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass); 114 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass); 125 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) 127 i = asn1_get_choice_selector(pval, i 213 asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass) argument 447 asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) argument 507 asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype, const ASN1_ITEM *it) argument [all...] |
H A D | tasn_dec.c | 29 static int asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, 47 static int asn1_template_ex_d2i(ASN1_VALUE **pval, 55 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, 60 static int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 105 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, argument 111 if (!pval) 112 pval = &ptmpval; 114 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0) 115 return *pval; 119 int ASN1_item_ex_d2i(ASN1_VALUE **pval, cons argument 135 asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx, int depth) argument 659 asn1_d2i_ex_primitive(ASN1_VALUE **pval, const unsigned char **in, long inlen, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) argument 793 asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/asn1/ |
H A D | tasn_fre.c | 23 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 25 ossl_asn1_item_embed_free(pval, it, 0); 28 void ossl_asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument 36 if (pval == NULL) 38 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) 49 ossl_asn1_template_free(pval, it->templates); 51 ossl_asn1_primitive_free(pval, it, embed); 55 ossl_asn1_primitive_free(pval, it, embed); 60 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); 64 i = ossl_asn1_get_choice_selector(pval, i 122 ossl_asn1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 146 ossl_asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument [all...] |
H A D | x_bignum.c | 24 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 25 static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 26 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 28 static int bn_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, 30 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 32 static int bn_secure_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 34 static int bn_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, 65 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 67 *pval = (ASN1_VALUE *)BN_new(); 68 if (*pval ! 74 bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 83 bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 94 bn_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument 115 bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 130 bn_secure_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 149 bn_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument [all...] |
H A D | tasn_new.c | 18 static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 21 static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 23 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 24 static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, 26 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 27 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 49 int ossl_asn1_item_ex_new_intern(ASN1_VALUE **pval, const ASN1_ITEM *it, argument 52 return asn1_item_embed_new(pval, it, 0, libctx, propq); 55 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 57 return asn1_item_embed_new(pval, i 60 asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed, OSSL_LIB_CTX *libctx, const char *propq) argument 174 asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 207 asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, OSSL_LIB_CTX *libctx, const char *propq) argument 247 asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 261 asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument 329 asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument [all...] |
H A D | x_int64.c | 29 static int uint64_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 31 if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint64_t))) == NULL) { 38 static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 40 OPENSSL_free(*pval); 41 *pval = NULL; 44 static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 46 **(uint64_t **)pval = 0; 49 static int uint64_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, argument 55 char *cp = (char *)*pval; 73 static int uint64_c2i(ASN1_VALUE **pval, cons argument 114 uint64_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument 124 uint32_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 133 uint32_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 139 uint32_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 144 uint32_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument 175 uint32_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 223 uint32_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument [all...] |
H A D | asn1_local.h | 50 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it); 51 int ossl_asn1_get_choice_selector_const(const ASN1_VALUE **pval, 53 int ossl_asn1_set_choice_selector(ASN1_VALUE **pval, int value, 56 ASN1_VALUE **ossl_asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 57 const ASN1_VALUE **ossl_asn1_get_const_field_ptr(const ASN1_VALUE **pval, 64 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it); 66 void ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it); 67 void ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 68 int ossl_asn1_enc_restore(int *len, unsigned char **out, const ASN1_VALUE **pval, 70 int ossl_asn1_enc_save(ASN1_VALUE **pval, cons [all...] |
H A D | x_long.c | 21 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 22 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 24 static int long_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, 26 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 28 static int long_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, 49 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 51 memcpy(pval, &it->size, COPY_SIZE(*pval, it->size)); 55 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 57 memcpy(pval, 85 long_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument 128 long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 189 long_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument [all...] |
H A D | tasn_utl.c | 29 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 31 int *sel = offset2ptr(*pval, it->utype); 36 int ossl_asn1_get_choice_selector_const(const ASN1_VALUE **pval, argument 39 int *sel = offset2ptr(*pval, it->utype); 48 int ossl_asn1_set_choice_selector(ASN1_VALUE **pval, int value, argument 53 sel = offset2ptr(*pval, it->utype); 68 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) argument 81 lck = offset2ptr(*pval, aux->ref_offset); 82 lock = offset2ptr(*pval, aux->ref_lock); 112 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, cons argument 124 asn1_get_const_enc_ptr(const ASN1_VALUE **pval, const ASN1_ITEM *it) argument 137 ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 148 ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 160 ossl_asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it) argument 182 ossl_asn1_enc_restore(int *len, unsigned char **out, const ASN1_VALUE **pval, const ASN1_ITEM *it) argument 199 ossl_asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 211 ossl_asn1_get_const_field_ptr(const ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument [all...] |
H A D | nsseq.c | 16 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 21 nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval;
|
H A D | tasn_enc.c | 19 static int asn1_i2d_ex_primitive(const ASN1_VALUE **pval, unsigned char **out, 25 static int asn1_template_ex_i2d(const ASN1_VALUE **pval, unsigned char **out, 29 static int asn1_ex_i2c(const ASN1_VALUE **pval, unsigned char *cout, int *putype, 83 int ASN1_item_ex_i2d(const ASN1_VALUE **pval, unsigned char **out, argument 92 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) 104 return asn1_template_ex_i2d(pval, out, it->templates, 106 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass); 117 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass); 128 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) 130 i = ossl_asn1_get_choice_selector_const(pval, i 216 asn1_template_ex_i2d(const ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass) argument 468 asn1_i2d_ex_primitive(const ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) argument 528 asn1_ex_i2c(const ASN1_VALUE **pval, unsigned char *cout, int *putype, const ASN1_ITEM *it) argument [all...] |
H A D | tasn_dec.c | 28 static int asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, 47 static int asn1_template_ex_d2i(ASN1_VALUE **pval, 57 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, 62 static int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 107 static int asn1_item_ex_d2i_intern(ASN1_VALUE **pval, const unsigned char **in, argument 114 if (pval == NULL || it == NULL) { 118 rv = asn1_item_embed_d2i(pval, in, len, it, tag, aclass, opt, ctx, 0, 121 ASN1_item_ex_free(pval, it); 125 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, argument 129 return asn1_item_ex_d2i_intern(pval, i 133 ASN1_item_d2i_ex(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, const char *propq) argument 150 ASN1_item_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it) argument 162 asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx, const char *propq) argument 698 asn1_d2i_ex_primitive(ASN1_VALUE **pval, const unsigned char **in, long inlen, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) argument 831 asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
H A D | rsa_asn1.c | 22 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 26 *pval = (ASN1_VALUE *)RSA_new(); 27 if (*pval != NULL) 31 RSA_free((RSA *)*pval); 32 *pval = NULL; 35 if (((RSA *)*pval)->version != RSA_ASN1_VERSION_MULTI) { 39 return (rsa_multip_calc_product((RSA *)*pval) == 1) ? 2 : 0; 71 static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 75 RSA_PSS_PARAMS *pss = (RSA_PSS_PARAMS *)*pval; 91 static int rsa_oaep_cb(int operation, ASN1_VALUE **pval, cons [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/rsa/ |
H A D | rsa_asn1.c | 28 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 32 *pval = (ASN1_VALUE *)RSA_new(); 33 if (*pval != NULL) 37 RSA_free((RSA *)*pval); 38 *pval = NULL; 41 if (((RSA *)*pval)->version != RSA_ASN1_VERSION_MULTI) { 45 return (ossl_rsa_multip_calc_product((RSA *)*pval) == 1) ? 2 : 0; 77 static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 81 RSA_PSS_PARAMS *pss = (RSA_PSS_PARAMS *)*pval; 98 static int rsa_oaep_cb(int operation, ASN1_VALUE **pval, cons [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/dsa/ |
H A D | dsa_asn1.c | 25 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 29 *pval = (ASN1_VALUE *)DSA_new(); 30 if (*pval != NULL) 34 DSA_free((DSA *)*pval); 35 *pval = NULL;
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/x509/ |
H A D | x_req.c | 35 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 38 X509_REQ_INFO *rinf = (X509_REQ_INFO *)*pval;
|