Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec2/
H A Dsec.h88 struct sec_cipher_ctx { struct
139 struct sec_cipher_ctx c_ctx;
H A Dsec_crypto.c496 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_cipher_init()
508 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_cipher_uninit()
572 static int sec_skcipher_3des_setkey(struct sec_cipher_ctx *c_ctx, in sec_skcipher_3des_setkey()
590 static int sec_skcipher_aes_sm4_setkey(struct sec_cipher_ctx *c_ctx, in sec_skcipher_aes_sm4_setkey()
631 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_skcipher_setkey()
831 static int sec_aead_aes_set_key(struct sec_cipher_ctx *c_ctx, in sec_aead_aes_set_key()
888 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_aead_setkey()
986 struct sec_cipher_ctx *c_ctx = &ctx->c_ctx; in sec_skcipher_bd_fill()