Home
last modified time | relevance | path

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

/openbmc/linux/security/keys/encrypted-keys/
H A Dencrypted.c277 size_t asciiblob_len) in datablob_format() argument
284 ascii_buf = kmalloc(asciiblob_len + 1, GFP_KERNEL); in datablob_format()
288 ascii_buf[asciiblob_len] = '\0'; in datablob_format()
296 for (i = 0; i < (asciiblob_len - len) / 2; i++) in datablob_format()
942 size_t asciiblob_len; in encrypted_read() local
948 asciiblob_len = epayload->datablob_len + ivsize + 1 in encrypted_read()
952 if (!buffer || buflen < asciiblob_len) in encrypted_read()
953 return asciiblob_len; in encrypted_read()
971 ascii_buf = datablob_format(epayload, asciiblob_len); in encrypted_read()
981 memcpy(buffer, ascii_buf, asciiblob_len); in encrypted_read()
[all …]