VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.13.0/xsha1.h@ 72293

Last change on this file since 72293 was 43251, checked in by vboxsync, 12 years ago

Additions/x11: added headers for X.Org Server 1.13.

  • Property svn:eol-style set to native
File size: 441 bytes
Line 
1#ifndef XSHA1_H
2#define XSHA1_H
3
4/* Initialize SHA1 computation. Returns NULL on error. */
5void *x_sha1_init(void);
6
7/*
8 * Add some data to be hashed. ctx is the value returned by x_sha1_init()
9 * Returns 0 on error, 1 on success.
10 */
11int x_sha1_update(void *ctx, void *data, int size);
12
13/*
14 * Place the hash in result, and free ctx.
15 * Returns 0 on error, 1 on success.
16 */
17int x_sha1_final(void *ctx, unsigned char result[20]);
18
19#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette