Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dioctl.c111 struct csession *ses_new = NULL, *ses_ptr; in crypto_create_session() local
256 ses_new = kzalloc(sizeof(*ses_new), GFP_KERNEL); in crypto_create_session()
257 if (!ses_new) in crypto_create_session()
274 ret = cryptodev_cipher_init(&ses_new->cdata, alg_name, keys.ckey, in crypto_create_session()
296 ret = cryptodev_hash_init(&ses_new->hdata, hash_name, hmac_mode, in crypto_create_session()
303 ret = cryptodev_hash_reset(&ses_new->hdata); in crypto_create_session()
309 ses_new->alignmask = max(ses_new->cdata.alignmask, in crypto_create_session()
310 ses_new->hdata.alignmask); in crypto_create_session()
311 ddebug(2, "got alignmask %d", ses_new->alignmask); in crypto_create_session()
313 ses_new->array_size = DEFAULT_PREALLOC_PAGES; in crypto_create_session()
[all …]