#include "crypto_if.h"
+static const char *tom_init(void)
+{
+ /* nothing to initialize */
+ return "tomcrypt";
+}
+
static unsigned long tom_encrypt(void *key, int keylen, void *iv,
void *pt, void *ct, int tlen)
{
}
struct crypto_interface tom_crypto_if = {
- .name = "tomcrypt",
+ .init = tom_init,
.encrypt = tom_encrypt,
.decrypt = tom_decrypt,
.hash = tom_hash,