#include "gale/misc.h"
Functions | |
| struct gale_data | gale_crypto_hash (struct gale_data) |
| Compute a cryptographically secure hash of some data. More... | |
| struct gale_data | gale_crypto_random (int len) |
| Generate cryptographically random data. More... | |
| struct gale_group | gale_crypto_generate (struct gale_text id) |
| Generate a new key. More... | |
| struct gale_group | gale_crypto_public (struct gale_group) |
| Extract the public components of a key. More... | |
| int | gale_crypto_seal (int num, const struct gale_group *keys, struct gale_group *data) |
| Encrypt some data. More... | |
| const struct gale_text* | gale_crypto_target (struct gale_group encrypted) |
| List the keys that can decrypt an encrypted group. More... | |
| int | gale_crypto_open (struct gale_group key,struct gale_group *data) |
| Decrypt some data. More... | |
| int | gale_crypto_sign (int num, const struct gale_group *keys, struct gale_group *data) |
| Digitally sign some data. More... | |
| const struct gale_text* | gale_crypto_sender (struct gale_group signed_group) |
| List the keys that may have signed a group. More... | |
| const struct gale_data* | gale_crypto_bundled (struct gale_group signed_group) |
| Extract keys which have been bundled with a signed group. More... | |
| struct gale_group | gale_crypto_original (struct gale_group signed_group) |
| Extract the original content from a signed group. More... | |
| int | gale_crypto_verify (int num, const struct gale_group *keys, struct gale_group signed_group) |
| Verify that a group has been signed. More... | |
| const struct gale_data* | gale_crypto_sign_raw (int num, const struct gale_group *keys, struct gale_data data) |
| Low-level signature operation. More... | |
| int | gale_crypto_verify_raw (int num, const struct gale_group *keys, const struct gale_data *sigs, struct gale_data data) |
| Low-level signature verification. More... | |
|
|
Extract keys which have been bundled with a signed group.
|
|
|
Generate a new key.
|
|
|
Compute a cryptographically secure hash of some data.
|
|
|
Decrypt some data.
|
|
|
Extract the original content from a signed group.
|
|
|
Extract the public components of a key.
|
|
|
Generate cryptographically random data.
|
|
|
Encrypt some data.
|
|
|
List the keys that may have signed a group.
|
|
|
Digitally sign some data.
|
|
|
Low-level signature operation.
|
|
|
List the keys that can decrypt an encrypted group.
|
|
|
Verify that a group has been signed.
|
|
|
Low-level signature verification.
|
1.2.1 written by Dimitri van Heesch,
© 1997-2000