/usr/include/libdisplaymigration/crypt.h is in libdisplaymigration0-dev 0.28-10build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #ifndef DISPLAYMIGRATION_CRYPT_H
#define DISPLAYMIGRATION_CRYPT_H
struct rsa_key
{
gcry_mpi_t n, e, d, p, q, u;
};
extern void displaymigration_crypt_create_hash (char *display, char *challenge, size_t len, char *result);
extern gboolean displaymigration_crypt_sign_hash (struct rsa_key *k, char *hash, gchar **result);
extern gboolean displaymigration_crypt_check_signature (struct rsa_key *k, char *hash, char *sigbuf);
#endif
|