VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/include/crypto/asn1_dsa.h@ 98133

最後變更 在這個檔案從98133是 97984,由 vboxsync 提交於 2 年 前

libs/openssl-3.0.7: Shut up pragma once warnings for internal headers. Added sed script for doing that. bugref:10317

檔案大小: 1.1 KB
 
1/*
2 * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#ifndef OSSL_CRYPTO_ASN1_DSA_H
11# define OSSL_CRYPTO_ASN1_DSA_H
12# ifndef RT_WITHOUT_PRAGMA_ONCE /* VBOX */
13# pragma once
14# endif /* VBOX */
15
16#include "internal/packet.h"
17
18int ossl_encode_der_length(WPACKET *pkt, size_t cont_len);
19int ossl_encode_der_integer(WPACKET *pkt, const BIGNUM *n);
20int ossl_encode_der_dsa_sig(WPACKET *pkt, const BIGNUM *r, const BIGNUM *s);
21int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt);
22int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n);
23size_t ossl_decode_der_dsa_sig(BIGNUM *r, BIGNUM *s, const unsigned char **ppin,
24 size_t len);
25
26#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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