Last change
on this file since 92324 was 91772, checked in by vboxsync, 3 years ago |
openssl-1.1.1l: Applied and adjusted our OpenSSL changes to 1.1.1l. bugref:10126
|
File size:
1.2 KB
|
Line | |
---|
1 | =pod
|
---|
2 |
|
---|
3 | =head1 NAME
|
---|
4 |
|
---|
5 | DSA_size, DSA_bits, DSA_security_bits - get DSA signature size, key bits or security bits
|
---|
6 |
|
---|
7 | =head1 SYNOPSIS
|
---|
8 |
|
---|
9 | #include <openssl/dsa.h>
|
---|
10 |
|
---|
11 | int DSA_size(const DSA *dsa);
|
---|
12 | int DSA_bits(const DSA *dsa);
|
---|
13 | int DSA_security_bits(const DSA *dsa);
|
---|
14 |
|
---|
15 | =head1 DESCRIPTION
|
---|
16 |
|
---|
17 | DSA_size() returns the maximum size of an ASN.1 encoded DSA signature
|
---|
18 | for key B<dsa> in bytes. It can be used to determine how much memory must
|
---|
19 | be allocated for a DSA signature.
|
---|
20 |
|
---|
21 | B<dsa-E<gt>q> must not be B<NULL>.
|
---|
22 |
|
---|
23 | DSA_bits() returns the number of bits in key B<dsa>: this is the number
|
---|
24 | of bits in the B<p> parameter.
|
---|
25 |
|
---|
26 | DSA_security_bits() returns the number of security bits of the given B<dsa>
|
---|
27 | key. See L<BN_security_bits(3)>.
|
---|
28 |
|
---|
29 | =head1 RETURN VALUES
|
---|
30 |
|
---|
31 | DSA_size() returns the signature size in bytes.
|
---|
32 |
|
---|
33 | DSA_bits() returns the number of bits in the key.
|
---|
34 |
|
---|
35 | =head1 SEE ALSO
|
---|
36 |
|
---|
37 | L<DSA_new(3)>, L<DSA_sign(3)>
|
---|
38 |
|
---|
39 | =head1 COPYRIGHT
|
---|
40 |
|
---|
41 | Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
|
---|
42 |
|
---|
43 | Licensed under the OpenSSL license (the "License"). You may not use
|
---|
44 | this file except in compliance with the License. You can obtain a copy
|
---|
45 | in the file LICENSE in the source distribution or at
|
---|
46 | L<https://www.openssl.org/source/license.html>.
|
---|
47 |
|
---|
48 | =cut
|
---|
Note:
See
TracBrowser
for help on using the repository browser.