mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
crypto: hisilicon - Update some names on SEC V2
1.Adjust dma map function to be reused by AEAD algorithms; 2.Update some names of internal functions and variables to support AEAD algorithms; 3.Rename 'sec_skcipher_exit' as 'sec_skcipher_uninit'; 4.Rename 'sec_get/put_queue_id' as 'sec_alloc/free_queue_id'; Signed-off-by: Zaibo Xu <xuzaibo@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
#include "../qm.h"
|
||||
#include "sec_crypto.h"
|
||||
|
||||
/* Cipher resource per hardware SEC queue */
|
||||
struct sec_cipher_res {
|
||||
/* Algorithm resource per hardware SEC queue */
|
||||
struct sec_alg_res {
|
||||
u8 *c_ivin;
|
||||
dma_addr_t c_ivin_dma;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user