/* * pcrypt - Parallel crypto engine. * * Copyright (C) 2009 secunet Security Networks AG * Copyright (C) 2009 Steffen Klassert * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _CRYPTO_PCRYPT_H #define _CRYPTO_PCRYPT_H #include #include #include struct pcrypt_request { struct padata_priv padata; void *data; void *__ctx[] CRYPTO_MINALIGN_ATTR; }; static inline void *pcrypt_request_ctx(struct pcrypt_request *req) { return req->__ctx; } static inline struct padata_priv *pcrypt_request_padata(struct pcrypt_request *req) { return &req->padata; } static inline struct pcrypt_request *pcrypt_padata_request(struct padata_priv *padata) { return container_of(padata, struct pcrypt_request, padata); } #endif lass='sub'>net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
lue='3' selected='selected'>3
AgeCommit message (Collapse)AuthorFilesLines
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-01-30 15:19:23 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-30 15:19:23 -0500
commit051a2e0860cd1554fda6beba36487b23252fd3c6 (patch)
tree9032e9f090b1d25dc801af0b277debbaf3426ec2 /drivers/usb/serial/visor.h
parent4af0e5bb95ee3ba5ea4bd7dbb94e1648a5279cc9 (diff)
parent2b1d530cb3157f828fcaadd259613f59db3c6d1c (diff)
Merge tag 'wireless-drivers-for-davem-2017-01-29' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers
Kalle Valo says: ==================== wireless-drivers fixes for 4.10 Most important here are fixes to two iwlwifi crashes, but there's also a firmware naming fix for iwlwifi and a revert of an older bcma patch. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/serial/visor.h')