#include <nettle/hmac.h>
#include "crypto_backend.h"
+static char *version = "Nettle";
+
typedef void (*init_func) (void *);
typedef void (*update_func) (void *, unsigned, const uint8_t *);
typedef void (*digest_func) (void *, unsigned, uint8_t *);
int crypt_backend_init(struct crypt_device *ctx)
{
- log_dbg("Initialising Nettle crypto backend.");
return 0;
}
+const char *crypt_backend_version(void)
+{
+ return version;
+}
+
/* HASH */
int crypt_hash_size(const char *name)
{