Path: blob/main/crypto/openssl/providers/common/include/prov/der_ecx.h
107436 views
/*1* WARNING: do not edit!2* Generated by Makefile from providers/common/include/prov/der_ecx.h.in3*4* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.5*6* Licensed under the Apache License 2.0 (the "License"). You may not use7* this file except in compliance with the License. You can obtain a copy8* in the file LICENSE in the source distribution or at9* https://www.openssl.org/source/license.html10*/1112#include "internal/der.h"13#include "crypto/ecx.h"1415/* Well known OIDs precompiled */16/* clang-format off */1718/*19* id-X25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 110 }20*/21#define DER_OID_V_id_X25519 DER_P_OBJECT, 3, 0x2B, 0x65, 0x6E22#define DER_OID_SZ_id_X25519 523extern const unsigned char ossl_der_oid_id_X25519[DER_OID_SZ_id_X25519];2425/*26* id-X448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 111 }27*/28#define DER_OID_V_id_X448 DER_P_OBJECT, 3, 0x2B, 0x65, 0x6F29#define DER_OID_SZ_id_X448 530extern const unsigned char ossl_der_oid_id_X448[DER_OID_SZ_id_X448];3132/*33* id-Ed25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 112 }34*/35#define DER_OID_V_id_Ed25519 DER_P_OBJECT, 3, 0x2B, 0x65, 0x7036#define DER_OID_SZ_id_Ed25519 537extern const unsigned char ossl_der_oid_id_Ed25519[DER_OID_SZ_id_Ed25519];3839/*40* id-Ed448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 113 }41*/42#define DER_OID_V_id_Ed448 DER_P_OBJECT, 3, 0x2B, 0x65, 0x7143#define DER_OID_SZ_id_Ed448 544extern const unsigned char ossl_der_oid_id_Ed448[DER_OID_SZ_id_Ed448];4546/* clang-format on */4748int ossl_DER_w_algorithmIdentifier_ED25519(WPACKET *pkt, int cont, ECX_KEY *ec);49int ossl_DER_w_algorithmIdentifier_ED448(WPACKET *pkt, int cont, ECX_KEY *ec);50int ossl_DER_w_algorithmIdentifier_X25519(WPACKET *pkt, int cont, ECX_KEY *ec);51int ossl_DER_w_algorithmIdentifier_X448(WPACKET *pkt, int cont, ECX_KEY *ec);525354