]>
Commit | Line | Data |
---|---|---|
54846b7c DM |
1 | /* |
2 | * Copyright 2019 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 HEADER_ASN1_DSA_H | |
11 | # define HEADER_ASN1_DSA_H | |
12 | ||
8ae173bb MC |
13 | #include "internal/packet.h" |
14 | ||
b8805834 MC |
15 | int encode_der_length(WPACKET *pkt, size_t cont_len); |
16 | int encode_der_integer(WPACKET *pkt, const BIGNUM *n); | |
17 | int encode_der_dsa_sig(WPACKET *pkt, const BIGNUM *r, const BIGNUM *s); | |
8ae173bb MC |
18 | int decode_der_length(PACKET *pkt, PACKET *subpkt); |
19 | int decode_der_integer(PACKET *pkt, BIGNUM *n); | |
54846b7c DM |
20 | size_t decode_der_dsa_sig(BIGNUM *r, BIGNUM *s, const unsigned char **ppin, |
21 | size_t len); | |
22 | ||
23 | #endif |