-/* $OpenBSD: ec_asn1.c,v 1.42 2023/04/25 19:53:30 tb Exp $ */
+/* $OpenBSD: ec_asn1.c,v 1.43 2023/05/03 06:30:11 tb Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
.field_name = "p.onBasis",
.item = &ASN1_NULL_it,
},
-
},
{
.value = NID_X9_62_tpBasis,
.field_name = "p.tpBasis",
.item = &ASN1_INTEGER_it,
},
-
},
{
.value = NID_X9_62_ppBasis,
.field_name = "p.prime",
.item = &ASN1_INTEGER_it,
},
-
},
{
.value = NID_X9_62_characteristic_two_field,
.field_name = "p.char_two",
.item = &X9_62_CHARACTERISTIC_TWO_it,
},
-
},
};
/* EC_GROUP <-> DER encoding of ECPKPARAMETERS */
EC_GROUP *
-d2i_ECPKParameters(EC_GROUP ** a, const unsigned char **in, long len)
+d2i_ECPKParameters(EC_GROUP **a, const unsigned char **in, long len)
{
EC_GROUP *group = NULL;
ECPKPARAMETERS *params;
/* some EC_KEY functions */
EC_KEY *
-d2i_ECPrivateKey(EC_KEY ** a, const unsigned char **in, long len)
+d2i_ECPrivateKey(EC_KEY **a, const unsigned char **in, long len)
{
EC_KEY *ret = NULL;
EC_PRIVATEKEY *priv_key = NULL;
}
EC_KEY *
-d2i_ECParameters(EC_KEY ** a, const unsigned char **in, long len)
+d2i_ECParameters(EC_KEY **a, const unsigned char **in, long len)
{
EC_KEY *ret;
}
EC_KEY *
-o2i_ECPublicKey(EC_KEY ** a, const unsigned char **in, long len)
+o2i_ECPublicKey(EC_KEY **a, const unsigned char **in, long len)
{
EC_KEY *ret = NULL;