Lines Matching defs:datablob
160 * datablob format:
171 static int datablob_parse(char *datablob, const char **format,
181 keyword = strsep(&datablob, " \t");
189 p = strsep(&datablob, " \t");
201 *master_desc = strsep(&datablob, " \t");
220 *decrypted_datalen = strsep(&datablob, " \t");
242 *hex_encoded_iv = strsep(&datablob, " \t");
284 /* copy datablob master_desc and datalen strings */
538 dump_hmac("datablob",
594 /* Allocate memory for decrypted key and datablob. */
776 * Decrypt an existing encrypted datablob or create a new encrypted key
785 char *datablob = NULL;
796 datablob = kmalloc(datalen + 1, GFP_KERNEL);
797 if (!datablob)
799 datablob[datalen] = 0;
800 memcpy(datablob, prep->data, datalen);
801 ret = datablob_parse(datablob, &format, &master_desc,
821 kfree_sensitive(datablob);
837 * The next read will return an encrypted datablob using the new
895 * The resulting datablob format is:
898 * On success, return to userspace the encrypted key datablob size.