aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/asn1_locl.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-03-25 22:02:42 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-03-26 00:44:22 +0000
commitc315a547e62fc8f1bdc3e9d57138871117dca6f7 (patch)
tree2349271c822359ad78cacb2b52dc09f79ba39b12 /crypto/asn1/asn1_locl.h
parent8fdc3734c063146b038608c2412a0f2c9b21b6d6 (diff)
downloadopenssl-c315a547e62fc8f1bdc3e9d57138871117dca6f7.zip
openssl-c315a547e62fc8f1bdc3e9d57138871117dca6f7.tar.gz
openssl-c315a547e62fc8f1bdc3e9d57138871117dca6f7.tar.bz2
Move more internal only functions to asn1_locl.h
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/asn1/asn1_locl.h')
-rw-r--r--crypto/asn1/asn1_locl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/asn1/asn1_locl.h b/crypto/asn1/asn1_locl.h
index 79d76ec..aa10bea 100644
--- a/crypto/asn1/asn1_locl.h
+++ b/crypto/asn1/asn1_locl.h
@@ -127,3 +127,15 @@ int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval,
const ASN1_ITEM *it);
int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen,
const ASN1_ITEM *it);
+
+void asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
+void asn1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
+
+ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp,
+ long length);
+int i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **pp);
+ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,
+ const unsigned char **pp, long length);
+int i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp);
+ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp,
+ long length);