VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.3/gen-includes/prov/der_ecx.h@ 102315

最後變更 在這個檔案從102315是 94320,由 vboxsync 提交於 3 年 前

libs/openssl-3.0.1: Export to OSE and fix copyright headers in Makefiles, bugref:10128

檔案大小: 1.7 KB
 
1/*
2 * WARNING: do not edit!
3 * Generated by Makefile from der_ecx.h.in
4 *
5 * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 *
7 * Licensed under the Apache License 2.0 (the "License"). You may not use
8 * this file except in compliance with the License. You can obtain a copy
9 * in the file LICENSE in the source distribution or at
10 * https://www.openssl.org/source/license.html
11 */
12
13#include "internal/der.h"
14#include "crypto/ecx.h"
15
16/* Well known OIDs precompiled */
17
18/*
19 * id-X25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 110 }
20 */
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];
24
25/*
26 * id-X448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 111 }
27 */
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];
31
32/*
33 * id-Ed25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 112 }
34 */
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];
38
39/*
40 * id-Ed448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 113 }
41 */
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];
45
46
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);
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette