Home
last modified time | relevance | path

Searched refs:rgSetBlob (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
Da_set.c96 MYBLOB *rgSetBlob; in i2d_ASN1_SET() local
123 rgSetBlob = OPENSSL_malloc(sk_OPENSSL_BLOCK_num(a) * sizeof(MYBLOB)); in i2d_ASN1_SET()
124 if (rgSetBlob == NULL) in i2d_ASN1_SET()
132 rgSetBlob[i].pbData = p; /* catch each set encode blob */ in i2d_ASN1_SET()
134 rgSetBlob[i].cbData = p - rgSetBlob[i].pbData; /* Length of this in i2d_ASN1_SET()
143 qsort( rgSetBlob, sk_OPENSSL_BLOCK_num(a), sizeof(MYBLOB), SetBlobCmp); in i2d_ASN1_SET()
154 memcpy(p, rgSetBlob[i].pbData, rgSetBlob[i].cbData); in i2d_ASN1_SET()
155 p += rgSetBlob[i].cbData; in i2d_ASN1_SET()
161 OPENSSL_free(rgSetBlob); in i2d_ASN1_SET()
/external/openssl/crypto/asn1/
Da_set.c96 MYBLOB *rgSetBlob; in i2d_ASN1_SET() local
123 rgSetBlob = OPENSSL_malloc(sk_OPENSSL_BLOCK_num(a) * sizeof(MYBLOB)); in i2d_ASN1_SET()
124 if (rgSetBlob == NULL) in i2d_ASN1_SET()
132 rgSetBlob[i].pbData = p; /* catch each set encode blob */ in i2d_ASN1_SET()
134 rgSetBlob[i].cbData = p - rgSetBlob[i].pbData; /* Length of this in i2d_ASN1_SET()
143 qsort( rgSetBlob, sk_OPENSSL_BLOCK_num(a), sizeof(MYBLOB), SetBlobCmp); in i2d_ASN1_SET()
154 memcpy(p, rgSetBlob[i].pbData, rgSetBlob[i].cbData); in i2d_ASN1_SET()
155 p += rgSetBlob[i].cbData; in i2d_ASN1_SET()
161 OPENSSL_free(rgSetBlob); in i2d_ASN1_SET()