Home
last modified time | relevance | path

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

/linux/crypto/
H A Daf_alg.c291 unsigned int key_datalen; in alg_setkey_by_key_serial() local
312 ret = key_data_ptr_user(key, &key_datalen); in alg_setkey_by_key_serial()
315 ret = key_data_ptr_encrypted(key, &key_datalen); in alg_setkey_by_key_serial()
318 ret = key_data_ptr_trusted(key, &key_datalen); in alg_setkey_by_key_serial()
327 key_data = sock_kmalloc(&ask->sk, key_datalen, GFP_KERNEL); in alg_setkey_by_key_serial()
334 memcpy(key_data, ret, key_datalen); in alg_setkey_by_key_serial()
339 err = type->setkey(ask->private, key_data, key_datalen); in alg_setkey_by_key_serial()
341 sock_kzfree_s(&ask->sk, key_data, key_datalen); in alg_setkey_by_key_serial()