diff options
Diffstat (limited to 'sys/opencrypto/xform_null.c')
| -rw-r--r-- | sys/opencrypto/xform_null.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/opencrypto/xform_null.c b/sys/opencrypto/xform_null.c index 6cd49baab0ac..e070a4a97142 100644 --- a/sys/opencrypto/xform_null.c +++ b/sys/opencrypto/xform_null.c @@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$"); static int null_setkey(void *, const uint8_t *, int); static void null_crypt(void *, const uint8_t *, uint8_t *); +static void null_crypt_multi(void *, const uint8_t *, uint8_t *, size_t); static void null_init(void *); static void null_reinit(void *ctx, const uint8_t *buf, u_int len); @@ -70,9 +71,11 @@ const struct enc_xform enc_xform_null = { .ivsize = 0, .minkey = NULL_MIN_KEY, .maxkey = NULL_MAX_KEY, + .setkey = null_setkey, .encrypt = null_crypt, .decrypt = null_crypt, - .setkey = null_setkey, + .encrypt_multi = null_crypt_multi, + .decrypt_multi = null_crypt_multi, }; /* Authentication instances */ @@ -98,6 +101,11 @@ null_crypt(void *key, const uint8_t *in, uint8_t *out) { } +static void +null_crypt_multi(void *key, const uint8_t *in, uint8_t *out, size_t len) +{ +} + static int null_setkey(void *sched, const uint8_t *key, int len) { |
