Lines Matching refs:os
175 const ASN1_OCTET_STRING *os = a; in i2d_ocsp_nonce() local
177 memcpy(*pp, os->data, os->length); in i2d_ocsp_nonce()
178 *pp += os->length; in i2d_ocsp_nonce()
180 return os->length; in i2d_ocsp_nonce()
185 ASN1_OCTET_STRING *os, **pos; in d2i_ocsp_nonce() local
188 os = ASN1_OCTET_STRING_new(); in d2i_ocsp_nonce()
189 if (os == NULL) in d2i_ocsp_nonce()
192 os = *pos; in d2i_ocsp_nonce()
194 if (!ASN1_OCTET_STRING_set(os, *pp, length)) in d2i_ocsp_nonce()
200 *pos = os; in d2i_ocsp_nonce()
201 return os; in d2i_ocsp_nonce()
204 if ((pos == NULL) || (*pos != os)) in d2i_ocsp_nonce()
205 ASN1_OCTET_STRING_free(os); in d2i_ocsp_nonce()