13#include "internal/der.h"
14#include "crypto/ecx.h"
21#define DER_OID_V_id_X25519 DER_P_OBJECT, 3, 0x2B, 0x65, 0x6E
22#define DER_OID_SZ_id_X25519 5
23extern const unsigned char ossl_der_oid_id_X25519[DER_OID_SZ_id_X25519];
28#define DER_OID_V_id_X448 DER_P_OBJECT, 3, 0x2B, 0x65, 0x6F
29#define DER_OID_SZ_id_X448 5
30extern const unsigned char ossl_der_oid_id_X448[DER_OID_SZ_id_X448];
35#define DER_OID_V_id_Ed25519 DER_P_OBJECT, 3, 0x2B, 0x65, 0x70
36#define DER_OID_SZ_id_Ed25519 5
37extern const unsigned char ossl_der_oid_id_Ed25519[DER_OID_SZ_id_Ed25519];
42#define DER_OID_V_id_Ed448 DER_P_OBJECT, 3, 0x2B, 0x65, 0x71
43#define DER_OID_SZ_id_Ed448 5
44extern const unsigned char ossl_der_oid_id_Ed448[DER_OID_SZ_id_Ed448];
47int ossl_DER_w_algorithmIdentifier_ED25519(WPACKET *pkt,
int cont, ECX_KEY *ec);
48int ossl_DER_w_algorithmIdentifier_ED448(WPACKET *pkt,
int cont, ECX_KEY *ec);
49int ossl_DER_w_algorithmIdentifier_X25519(WPACKET *pkt,
int cont, ECX_KEY *ec);
50int ossl_DER_w_algorithmIdentifier_X448(WPACKET *pkt,
int cont, ECX_KEY *ec);