2 * Copyright (C) 2011 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file crypt_backend.h Non-public crypto interface. */
9 /* This should only be incuded from files which provide crypto functions. */
11 size_t is_ssh_rsa_key(char *data
, size_t size
);
12 uint32_t read_ssh_u32(const void *vp
);
13 int uudecode(const char *src
, unsigned char *target
, size_t targsize
);
14 int check_ssh_key_header(const unsigned char *blob
, int blen
);
15 int check_key_file(const char *file
, bool private_key
);