VirtualBox

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

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

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

檔案大小: 1.3 KB
 
1/*
2 * WARNING: do not edit!
3 * Generated by Makefile from der_sm2.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 "crypto/ec.h"
14#include "internal/der.h"
15
16/* Well known OIDs precompiled */
17
18/*
19 * sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 }
20 */
21#define DER_OID_V_sm2_with_SM3 DER_P_OBJECT, 8, 0x2A, 0x81, 0x1C, 0xCF, 0x55, 0x01, 0x83, 0x75
22#define DER_OID_SZ_sm2_with_SM3 10
23extern const unsigned char ossl_der_oid_sm2_with_SM3[DER_OID_SZ_sm2_with_SM3];
24
25/*
26 * curveSM2 OBJECT IDENTIFIER ::= { sm-scheme 301 }
27 */
28#define DER_OID_V_curveSM2 DER_P_OBJECT, 8, 0x2A, 0x81, 0x1C, 0xCF, 0x55, 0x01, 0x82, 0x2D
29#define DER_OID_SZ_curveSM2 10
30extern const unsigned char ossl_der_oid_curveSM2[DER_OID_SZ_curveSM2];
31
32
33/* Subject Public Key Info */
34int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec);
35/* Signature */
36int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
37 EC_KEY *ec, int mdnid);
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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