Home | History | Annotate | Download | only in asn1

Lines Matching refs:cont

72 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
73 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
105 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it)
131 if(cont) {
132 if(pad) *cont++ = (ltmp < 0) ? 0xff : 0;
134 cont[i] = (unsigned char)(utmp & 0xff);
135 if(ltmp < 0) cont[i] ^= 0xff;
142 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
154 if(len && (cont[0] & 0x80)) neg = 1;
159 if(neg) utmp |= cont[i] ^ 0xff;
160 else utmp |= cont[i];