Lines Matching refs:keyname
20455 + char keyname[32];
25283 +int32_t secure_storage_write(uint8_t *keyname, uint8_t *keybuf,
25285 +int32_t secure_storage_read(uint8_t *keyname, uint8_t *keybuf,
25287 +int32_t secure_storage_verify(uint8_t *keyname, uint8_t *hashbuf);
25288 +int32_t secure_storage_query(uint8_t *keyname, uint32_t *retval);
25289 +int32_t secure_storage_tell(uint8_t *keyname, uint32_t *retval);
25290 +int32_t secure_storage_status(uint8_t *keyname, uint32_t *retval);
50901 +#define DEFINE_EFUEKEY_SHOW_ATTR(keyname) \
50902 + static ssize_t keyname##_show(struct class *cla, \
50908 + ret = efuse_user_attr_show(#keyname, buf); \
50917 +#define DEFINE_EFUEKEY_STORE_ATTR(keyname) \
50918 + static ssize_t keyname##_store(struct class *cla, \
50925 + ret = efuse_user_attr_store(#keyname, buf, count); \
50940 + if (strcmp(efuse_key.infos[i].keyname, item) == 0) {
50941 + strcpy(info->keyname, efuse_key.infos[i].keyname);
51048 + if (efuse_getinfo(info.keyname, &info) < 0) {
51049 + pr_err("efuse: %s is not found\n", info.keyname);
51607 + const char *keyname;
51626 + ret = of_property_read_string(np_key, "keyname", &keyname);
51628 + pr_err("failed to get keyname item\n");
51633 + memcpy(infos[index].keyname, keyname,
51634 + strlen(keyname) > name_size ? name_size : strlen(keyname));
51651 + infos[index].keyname,
53035 +unsigned long secure_storage_write(u8 *keyname, u8 *keybuf,
53048 + namelen = strlen(keyname);
53058 + memcpy(name, keyname, namelen);
53067 +unsigned long secure_storage_read(u8 *keyname, u8 *keybuf,
53081 + namelen = strlen(keyname);
53091 + memcpy(name, keyname, namelen);
53105 +unsigned long secure_storage_verify(u8 *keyname, u8 *hashbuf)
53117 + namelen = strlen(keyname);
53126 + memcpy(name, keyname, namelen);
53165 +unsigned long secure_storage_tell(u8 *keyname, u32 *retval)
53177 + namelen = strlen(keyname);
53186 + memcpy(name, keyname, namelen);
53195 +unsigned long secure_storage_status(u8 *keyname, u32 *retval)
53207 + namelen = strlen(keyname);
53216 + memcpy(name, keyname, namelen);
54019 + pr_info("%s written done.\n", info.keyname);