Home
last modified time | relevance | path

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

/linux-4.4.14/security/keys/encrypted-keys/
Dencrypted.c276 size_t asciiblob_len) in datablob_format() argument
283 ascii_buf = kmalloc(asciiblob_len + 1, GFP_KERNEL); in datablob_format()
287 ascii_buf[asciiblob_len] = '\0'; in datablob_format()
295 for (i = 0; i < (asciiblob_len - len) / 2; i++) in datablob_format()
905 size_t asciiblob_len; in encrypted_read() local
911 asciiblob_len = epayload->datablob_len + ivsize + 1 in encrypted_read()
915 if (!buffer || buflen < asciiblob_len) in encrypted_read()
916 return asciiblob_len; in encrypted_read()
934 ascii_buf = datablob_format(epayload, asciiblob_len); in encrypted_read()
943 if (copy_to_user(buffer, ascii_buf, asciiblob_len) != 0) in encrypted_read()
[all …]