Home
last modified time | relevance | path

Searched refs:i2d (Results 1 – 19 of 19) sorted by relevance

/onnv-gate/usr/src/common/openssl/crypto/asn1/
H A Dasn_pack.c85 unsigned char *ASN1_seq_pack(STACK *safes, i2d_of_void *i2d, in ASN1_seq_pack() argument
90 if (!(safelen = i2d_ASN1_SET(safes, NULL, i2d, V_ASN1_SEQUENCE, in ASN1_seq_pack()
100 i2d_ASN1_SET(safes, &p, i2d, V_ASN1_SEQUENCE, V_ASN1_UNIVERSAL, in ASN1_seq_pack()
122 ASN1_STRING *ASN1_pack_string(void *obj, i2d_of_void *i2d, ASN1_STRING **oct) in ASN1_pack_string() argument
135 if (!(octmp->length = i2d(obj, NULL))) { in ASN1_pack_string()
144 i2d (obj, &p); in ASN1_pack_string()
H A Da_i2d_fp.c67 int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, void *x) in ASN1_i2d_fp() argument
78 ret=ASN1_i2d_bio(i2d,b,x); in ASN1_i2d_fp()
84 int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, unsigned char *x) in ASN1_i2d_bio() argument
90 n=i2d(x,NULL); in ASN1_i2d_bio()
99 i2d(x,&p); in ASN1_i2d_bio()
H A Da_digest.c75 int ASN1_digest(i2d_of_void *i2d, const EVP_MD *type, char *data, in ASN1_digest() argument
81 i=i2d(data,NULL); in ASN1_digest()
88 i2d(data,&p); in ASN1_digest()
H A Da_dup.c65 void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, char *x) in ASN1_dup() argument
74 i=i2d(x,NULL); in ASN1_dup()
79 i=i2d(x,&p); in ASN1_dup()
H A Dasn1.h521 i2d_of_void *i2d; member
845 i2d_of_void *i2d, int ex_tag, int ex_class, int is_set);
902 void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, char *x);
903 #define ASN1_dup_of(type,i2d,d2i,x) \ argument
904 ((type *(*)(I2D_OF(type),D2I_OF(type),type *))openssl_fcast(ASN1_dup))(i2d,d2i,x)
905 #define ASN1_dup_of_const(type,i2d,d2i,x) \ argument
906 ((type *(*)(I2D_OF_const(type),D2I_OF(type),type *))openssl_fcast(ASN1_dup))(i2d,d2i,x)
915 int ASN1_i2d_fp(i2d_of_void *i2d,FILE *out,void *x);
916 #define ASN1_i2d_fp_of(type,i2d,out,x) \ argument
917 ((int (*)(I2D_OF(type),FILE *,type *))openssl_fcast(ASN1_i2d_fp))(i2d,out,x)
[all …]
H A Da_verify.c76 int ASN1_verify(i2d_of_void *i2d, X509_ALGOR *a, ASN1_BIT_STRING *signature, in ASN1_verify() argument
93 inl=i2d(data,NULL); in ASN1_verify()
102 i2d(data,&p); in ASN1_verify()
H A Da_set.c88 int i2d_ASN1_SET(STACK *a, unsigned char **pp, i2d_of_void *i2d, int ex_tag, in i2d_ASN1_SET() argument
100 ret+=i2d(sk_value(a,i),NULL); in i2d_ASN1_SET()
114 i2d(sk_value(a,i),&p); in i2d_ASN1_SET()
132 i2d(sk_value(a,i),&p); in i2d_ASN1_SET()
H A Da_hdr.c69 M_ASN1_I2D_len(a->data, a->meth->i2d); in i2d_ASN1_HEADER()
74 M_ASN1_I2D_put(a->data, a->meth->i2d); in i2d_ASN1_HEADER()
H A Da_sign.c129 int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_sign() argument
173 inl=i2d(data,NULL); in ASN1_sign()
185 i2d(data,&p); in ASN1_sign()
/onnv-gate/usr/src/uts/sun4u/os/
H A Dplat_ecc_unum.c723 plat_ecc_indictment2_data_t *i2d; in plat_log_fruid_indictment2() local
754 i2d = (plat_ecc_indictment2_data_t *)wrapperp->ecc_msg_data; in plat_log_fruid_indictment2()
757 i2d->ei2d_major_version = PLAT_ECC_INDICT2_MAJOR_VERSION; in plat_log_fruid_indictment2()
758 i2d->ei2d_minor_version = PLAT_ECC_INDICT2_MINOR_VERSION; in plat_log_fruid_indictment2()
759 i2d->ei2d_msg_type = PLAT_ECC_INDICTMENT2_MESSAGE; in plat_log_fruid_indictment2()
760 i2d->ei2d_msg_length = sizeof (plat_ecc_indictment2_data_t); in plat_log_fruid_indictment2()
764 i2d->ei2d_arraigned_proc = plat_make_fru_cpuid(board, maxcat, in plat_log_fruid_indictment2()
766 i2d->ei2d_board_num = board; in plat_log_fruid_indictment2()
767 i2d->ei2d_jnumber = jnumber; in plat_log_fruid_indictment2()
769 i2d->ei2d_arraigned_proc = aflt->flt_inst; in plat_log_fruid_indictment2()
[all …]
/onnv-gate/usr/src/common/openssl/crypto/ocsp/
H A Docsp_ext.c268 ASN1_STRING *ASN1_STRING_encode(ASN1_STRING *s, i2d_of_void *i2d, in ASN1_STRING_encode() argument
276 if ((i=i2d(data,NULL)) <= 0) goto err; in ASN1_STRING_encode()
279 if (i2d(data, &p) <= 0) goto err; in ASN1_STRING_encode()
284 (I2D_OF(ASN1_OBJECT))i2d, in ASN1_STRING_encode()
290 if (i2d_ASN1_SET_OF_ASN1_OBJECT(sk,&p,(I2D_OF(ASN1_OBJECT))i2d, in ASN1_STRING_encode()
H A Docsp.h469 ASN1_STRING *ASN1_STRING_encode(ASN1_STRING *s, i2d_of_void *i2d,
471 #define ASN1_STRING_encode_of(type,s,i2d,data,sk) \ argument
472 …NG *,I2D_OF(type),type *,STACK_OF(ASN1_OBJECT) *))openssl_fcast(ASN1_STRING_encode))(s,i2d,data,sk)
/onnv-gate/usr/src/common/openssl/crypto/pem/
H A Dpem_lib.c263 int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, in PEM_ASN1_write() argument
276 ret=PEM_ASN1_write_bio(i2d,name,b,x,enc,kstr,klen,callback,u); in PEM_ASN1_write()
282 int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, in PEM_ASN1_write_bio() argument
304 if ((dsize=i2d(x,NULL)) < 0) in PEM_ASN1_write_bio()
319 i=i2d(x,&p); in PEM_ASN1_write_bio()
H A Dpem.h550 int PEM_ASN1_write_bio(i2d_of_void *i2d,const char *name,BIO *bp,char *x,
553 #define PEM_ASN1_write_bio_of(type,i2d,name,bp,x,enc,kstr,klen,cb,u) \ argument
554 …d char *,int, pem_password_cb *,void *))openssl_fcast(PEM_ASN1_write_bio))(i2d,name,bp,x,enc,kstr,…
567 int PEM_ASN1_write(i2d_of_void *i2d,const char *name,FILE *fp,
/onnv-gate/usr/src/common/openssl/crypto/x509v3/
H A Dv3_conf.c192 ext_len = method->i2d(ext_struc, NULL); in do_ext_i2d()
195 method->i2d(ext_struc, &p); in do_ext_i2d()
H A Dx509v3.h97 X509V3_EXT_I2D i2d; member
/onnv-gate/usr/src/common/openssl/crypto/x509/
H A Dx509.h969 int ASN1_verify(i2d_of_void *i2d, X509_ALGOR *algor1,
972 int ASN1_digest(i2d_of_void *i2d,const EVP_MD *type,char *data,
975 int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1,
/onnv-gate/usr/src/common/openssl/crypto/evp/
H A Devp.h213 int (*i2d)();
/onnv-gate/usr/src/common/openssl/
H A DCHANGES2809 the ASN1 module. Compatibility with the existing ASN1 API (i2d,d2i) is
5155 things. Some of these need some d2i or i2d and print functionality
5317 *) Add d2i,i2d bio/fp functions for PrivateKey: these convert the
7229 *) Beginning of support for GeneralizedTime. d2i, i2d, check and print