Searched refs:ascii_buf (Results  1 – 2 of 2) sorted by relevance
| /Linux-v5.4/security/keys/encrypted-keys/ | 
| D | encrypted.c | 273 	char *ascii_buf, *bufp;  in datablob_format()  local278 	ascii_buf = kmalloc(asciiblob_len + 1, GFP_KERNEL);  in datablob_format()
 279 	if (!ascii_buf)  in datablob_format()
 282 	ascii_buf[asciiblob_len] = '\0';  in datablob_format()
 285 	len = sprintf(ascii_buf, "%s %s %s ", epayload->format,  in datablob_format()
 289 	bufp = &ascii_buf[len];  in datablob_format()
 293 	return ascii_buf;  in datablob_format()
 920 	char *ascii_buf;  in encrypted_read()  local
 950 	ascii_buf = datablob_format(epayload, asciiblob_len);  in encrypted_read()
 951 	if (!ascii_buf) {  in encrypted_read()
 [all …]
 
 | 
| /Linux-v5.4/security/keys/ | 
| D | trusted.c | 1151 	char *ascii_buf;  in trusted_read()  local1160 		ascii_buf = kmalloc_array(2, p->blob_len, GFP_KERNEL);  in trusted_read()
 1161 		if (!ascii_buf)  in trusted_read()
 1164 		bufp = ascii_buf;  in trusted_read()
 1167 		if (copy_to_user(buffer, ascii_buf, 2 * p->blob_len) != 0) {  in trusted_read()
 1168 			kzfree(ascii_buf);  in trusted_read()
 1171 		kzfree(ascii_buf);  in trusted_read()
 
 |