summaryrefslogtreecommitdiffstats
path: root/doc/man3/DSA_size.pod
diff options
context:
space:
mode:
authorPaul Yang <yang.yang@baishancloud.com>2017-08-09 11:25:19 -0400
committerRich Salz <rsalz@openssl.org>2017-08-09 11:25:19 -0400
commit6a2da30347d81245dd4841833808621d189a9629 (patch)
treea03d91c83003e420f2d8c8019632e94edcca2703 /doc/man3/DSA_size.pod
parent7a301f08bc102179248173426ea15e00fa9211d1 (diff)
Add XXX_security_bits documentation
This is a 'code health' commit to respond to this round of code health Tuesday... Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4099)
Diffstat (limited to 'doc/man3/DSA_size.pod')
-rw-r--r--doc/man3/DSA_size.pod10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/man3/DSA_size.pod b/doc/man3/DSA_size.pod
index abf8a458b6..d48f24ed6e 100644
--- a/doc/man3/DSA_size.pod
+++ b/doc/man3/DSA_size.pod
@@ -2,7 +2,7 @@
=head1 NAME
-DSA_size, DSA_bits - get DSA signature size or key bits
+DSA_size, DSA_bits, DSA_security_bits - get DSA signature size, key bits or security bits
=head1 SYNOPSIS
@@ -10,6 +10,7 @@ DSA_size, DSA_bits - get DSA signature size or key bits
int DSA_size(const DSA *dsa);
int DSA_bits(const DSA *dsa);
+ int DSA_security_bits(const DSA *dsa);
=head1 DESCRIPTION
@@ -22,9 +23,12 @@ B<dsa-E<gt>q> must not be B<NULL>.
DSA_bits() returns the number of bits in key B<dsa>: this is the number
of bits in the B<p> parameter.
+DSA_security_bits() returns the number of security bits of the given B<dsa>
+key. See L<BN_security_bits(3)>.
+
=head1 RETURN VALUE
-DSA_size() returns the size in bytes.
+DSA_size() returns the signature size in bytes.
DSA_bits() returns the number of bits in the key.
@@ -34,7 +38,7 @@ L<DSA_new(3)>, L<DSA_sign(3)>
=head1 COPYRIGHT
-Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the OpenSSL license (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy