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

Side by Side Diff: function_visibility.patch

Issue 2847081: Initial code. (Closed) Base URL: ssh://git@chromiumos-git/libscrypt.git
Patch Set: Use scrypt distro and patch with changes instead. Created 10 years, 4 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
« no previous file with comments | « configure.ac ('k') | src/FORMAT » ('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 diff -Nuar src.orig/lib/scryptenc/scryptenc.h src/lib/scryptenc/scryptenc.h
2 --- src.orig/lib/scryptenc/scryptenc.h 2010-01-16 12:48:20.000000000 -0800
3 +++ src/lib/scryptenc/scryptenc.h 2010-07-26 14:34:14.000000000 -0700
4 @@ -78,6 +78,7 @@
5 * Encrypt inbuflen bytes from inbuf, writing the resulting inbuflen + 128
6 * bytes to outbuf.
7 */
8 +__attribute__ ((visibility("default")))
9 int scryptenc_buf(const uint8_t *, size_t, uint8_t *,
10 const uint8_t *, size_t, size_t, double, double);
11
12 @@ -88,6 +89,7 @@
13 * decrypted data length to outlen. The allocated length of outbuf must
14 * be at least inbuflen.
15 */
16 +__attribute__ ((visibility("default")))
17 int scryptdec_buf(const uint8_t *, size_t, uint8_t *, size_t *,
18 const uint8_t *, size_t, size_t, double, double);
19
20 @@ -97,6 +99,7 @@
21 * Read a stream from infile and encrypt it, writing the resulting stream to
22 * outfile.
23 */
24 +__attribute__ ((visibility("default")))
25 int scryptenc_file(FILE *, FILE *, const uint8_t *, size_t,
26 size_t, double, double);
27
28 @@ -106,6 +109,7 @@
29 * Read a stream from infile and decrypt it, writing the resulting stream to
30 * outfile.
31 */
32 +__attribute__ ((visibility("default")))
33 int scryptdec_file(FILE *, FILE *, const uint8_t *, size_t,
34 size_t, double, double);
35
OLDNEW
« no previous file with comments | « configure.ac ('k') | src/FORMAT » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698