Lines Matching refs:os
66 ASN1_STRING *os;
68 if ((os=M_ASN1_OCTET_STRING_new()) == NULL) return(0);
69 if (!M_ASN1_OCTET_STRING_set(os,data,len)) return(0);
70 ASN1_TYPE_set(a,V_ASN1_OCTET_STRING,os);
100 ASN1_OCTET_STRING os,*osp;
107 os.data=data;
108 os.type=V_ASN1_OCTET_STRING;
109 os.length=len;
112 n+=M_i2d_ASN1_OCTET_STRING(&os,NULL);
129 M_i2d_ASN1_OCTET_STRING(&os,&p);
143 ASN1_OCTET_STRING *os=NULL;
165 if ((os=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) goto err;
172 ret=M_ASN1_STRING_length(os);
179 memcpy(data,M_ASN1_STRING_data(os),n);
185 if (os != NULL) M_ASN1_OCTET_STRING_free(os);