Home
last modified time | relevance | path

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

/security/keys/
Dbig_key.c60 u8 *buf, *enckey; in big_key_preparse() local
89 enckey = kmalloc(CHACHA20POLY1305_KEY_SIZE, GFP_KERNEL); in big_key_preparse()
90 if (!enckey) { in big_key_preparse()
94 ret = get_random_bytes_wait(enckey, CHACHA20POLY1305_KEY_SIZE); in big_key_preparse()
100 0, enckey); in big_key_preparse()
120 prep->payload.data[big_key_data] = enckey; in big_key_preparse()
140 kfree_sensitive(enckey); in big_key_preparse()
239 u8 *buf, *enckey = (u8 *)key->payload.data[big_key_data]; in big_key_read() local
262 enckey) ? 0 : -EBADMSG; in big_key_read()