Home
last modified time | relevance | path

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

/Linux-v5.4/security/keys/encrypted-keys/
Dencrypted.c271 size_t asciiblob_len) in datablob_format() argument
278 ascii_buf = kmalloc(asciiblob_len + 1, GFP_KERNEL); in datablob_format()
282 ascii_buf[asciiblob_len] = '\0'; in datablob_format()
290 for (i = 0; i < (asciiblob_len - len) / 2; i++) in datablob_format()
921 size_t asciiblob_len; in encrypted_read() local
927 asciiblob_len = epayload->datablob_len + ivsize + 1 in encrypted_read()
931 if (!buffer || buflen < asciiblob_len) in encrypted_read()
932 return asciiblob_len; in encrypted_read()
950 ascii_buf = datablob_format(epayload, asciiblob_len); in encrypted_read()
960 if (copy_to_user(buffer, ascii_buf, asciiblob_len) != 0) in encrypted_read()
[all …]