Path: blob/main/crypto/openssl/providers/common/include/prov/der_ecx.h
48535 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 */1617/*18* id-X25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 110 }19*/20#define DER_OID_V_id_X25519 DER_P_OBJECT, 3, 0x2B, 0x65, 0x6E21#define DER_OID_SZ_id_X25519 522extern const unsigned char ossl_der_oid_id_X25519[DER_OID_SZ_id_X25519];2324/*25* id-X448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 111 }26*/27#define DER_OID_V_id_X448 DER_P_OBJECT, 3, 0x2B, 0x65, 0x6F28#define DER_OID_SZ_id_X448 529extern const unsigned char ossl_der_oid_id_X448[DER_OID_SZ_id_X448];3031/*32* id-Ed25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 112 }33*/34#define DER_OID_V_id_Ed25519 DER_P_OBJECT, 3, 0x2B, 0x65, 0x7035#define DER_OID_SZ_id_Ed25519 536extern const unsigned char ossl_der_oid_id_Ed25519[DER_OID_SZ_id_Ed25519];3738/*39* id-Ed448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 113 }40*/41#define DER_OID_V_id_Ed448 DER_P_OBJECT, 3, 0x2B, 0x65, 0x7142#define DER_OID_SZ_id_Ed448 543extern const unsigned char ossl_der_oid_id_Ed448[DER_OID_SZ_id_Ed448];444546int ossl_DER_w_algorithmIdentifier_ED25519(WPACKET *pkt, int cont, ECX_KEY *ec);47int ossl_DER_w_algorithmIdentifier_ED448(WPACKET *pkt, int cont, ECX_KEY *ec);48int ossl_DER_w_algorithmIdentifier_X25519(WPACKET *pkt, int cont, ECX_KEY *ec);49int ossl_DER_w_algorithmIdentifier_X448(WPACKET *pkt, int cont, ECX_KEY *ec);505152