Lines Matching refs:cont
75 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
76 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_co…
108 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) in long_i2c() argument
134 if(cont) { in long_i2c()
135 if(pad) *cont++ = (ltmp < 0) ? 0xff : 0; in long_i2c()
137 cont[i] = (unsigned char)(utmp & 0xff); in long_i2c()
138 if(ltmp < 0) cont[i] ^= 0xff; in long_i2c()
145 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, in long_c2i() argument
157 if(len && (cont[0] & 0x80)) neg = 1; in long_c2i()
162 if(neg) utmp |= cont[i] ^ 0xff; in long_c2i()
163 else utmp |= cont[i]; in long_c2i()