Home
last modified time | relevance | path

Searched refs:sec_cipher_ctx (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/crypto/hisilicon/sec2/
Dsec.h90 struct sec_cipher_ctx { struct
141 struct sec_cipher_ctx c_ctx;
Dsec_crypto.c498 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_cipher_init()
510 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_cipher_uninit()
574 static int sec_skcipher_3des_setkey(struct sec_cipher_ctx *c_ctx, in sec_skcipher_3des_setkey()
592 static int sec_skcipher_aes_sm4_setkey(struct sec_cipher_ctx *c_ctx, in sec_skcipher_aes_sm4_setkey()
633 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_skcipher_setkey()
834 static int sec_aead_aes_set_key(struct sec_cipher_ctx *c_ctx, in sec_aead_aes_set_key()
891 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_aead_setkey()
988 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_skcipher_bd_fill()