diff options
author | John Baldwin <jhb@FreeBSD.org> | 2021-10-06 21:08:46 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2021-10-06 21:08:46 +0000 |
commit | 16676123fc85233334983e0071cb446357abec8d (patch) | |
tree | 3e2a4849b4b8c068941385698cc4a7071048b47a /sys/opencrypto/cryptodev.h | |
parent | 5ae5ed5b8fd2955378ab67ba127cad8c981678ab (diff) | |
download | src-16676123fc85233334983e0071cb446357abec8d.tar.gz src-16676123fc85233334983e0071cb446357abec8d.zip |
Diffstat (limited to 'sys/opencrypto/cryptodev.h')
-rw-r--r-- | sys/opencrypto/cryptodev.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/opencrypto/cryptodev.h b/sys/opencrypto/cryptodev.h index 79dec8c44f51..b3c79a48f632 100644 --- a/sys/opencrypto/cryptodev.h +++ b/sys/opencrypto/cryptodev.h @@ -23,13 +23,16 @@ * PURPOSE. * * Copyright (c) 2001 Theo de Raadt - * Copyright (c) 2014 The FreeBSD Foundation + * Copyright (c) 2014-2021 The FreeBSD Foundation * All rights reserved. * * Portions of this software were developed by John-Mark Gurney * under sponsorship of the FreeBSD Foundation and * Rubicon Communications, LLC (Netgate). * + * Portions of this software were developed by Ararat River + * Consulting, LLC under sponsorship of the FreeBSD Foundation. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -241,7 +244,9 @@ struct session2_op { uint32_t ses; /* returns: session # */ int crid; /* driver id + flags (rw) */ - int pad[4]; /* for future expansion */ + int ivlen; /* length of nonce/IV */ + int maclen; /* length of MAC/tag */ + int pad[2]; /* for future expansion */ }; struct crypt_op { |