Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: openssl/doc/crypto/EVP_PKEY_get_default_digest.pod

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « openssl/doc/crypto/EVP_PKEY_encrypt.pod ('k') | openssl/doc/crypto/EVP_PKEY_keygen.pod » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 =pod
2
3 =head1 NAME
4
5 EVP_PKEY_get_default_digest_nid - get default signature digest
6
7 =head1 SYNOPSIS
8
9 #include <openssl/evp.h>
10 int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid);
11
12 =head1 DESCRIPTION
13
14 The EVP_PKEY_get_default_digest_nid() function sets B<pnid> to the default
15 message digest NID for the public key signature operations associated with key
16 B<pkey>.
17
18 =head1 NOTES
19
20 For all current standard OpenSSL public key algorithms SHA1 is returned.
21
22 =head1 RETURN VALUES
23
24 The EVP_PKEY_get_default_digest_nid() function returns 1 if the message digest
25 is advisory (that is other digests can be used) and 2 if it is mandatory (other
26 digests can not be used). It returns 0 or a negative value for failure. In
27 particular a return value of -2 indicates the operation is not supported by the
28 public key algorithm.
29
30 =head1 SEE ALSO
31
32 L<EVP_PKEY_CTX_new(3)|EVP_PKEY_CTX_new(3)>,
33 L<EVP_PKEY_sign(3)|EVP_PKEY_sign(3)>,
34 L<EVP_PKEY_verify(3)|EVP_PKEY_verify(3)>,
35 L<EVP_PKEY_verifyrecover(3)|EVP_PKEY_verifyrecover(3)>,
36
37 =head1 HISTORY
38
39 This function was first added to OpenSSL 1.0.0.
40
41 =cut
OLDNEW
« no previous file with comments | « openssl/doc/crypto/EVP_PKEY_encrypt.pod ('k') | openssl/doc/crypto/EVP_PKEY_keygen.pod » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698