Searched refs:protkeytoken (Results 1 – 1 of 1) sorted by relevance
1805 struct protaeskeytoken protkeytoken; in pkey_protkey_aes_attr_read() local1809 if (off != 0 || count < sizeof(protkeytoken)) in pkey_protkey_aes_attr_read()1812 if (count < 2 * sizeof(protkeytoken)) in pkey_protkey_aes_attr_read()1815 memset(&protkeytoken, 0, sizeof(protkeytoken)); in pkey_protkey_aes_attr_read()1816 protkeytoken.type = TOKTYPE_NON_CCA; in pkey_protkey_aes_attr_read()1817 protkeytoken.version = TOKVER_PROTECTED_KEY; in pkey_protkey_aes_attr_read()1818 protkeytoken.keytype = keytype; in pkey_protkey_aes_attr_read()1821 rc = pkey_genprotkey(protkeytoken.keytype, in pkey_protkey_aes_attr_read()1826 protkeytoken.len = protkey.len; in pkey_protkey_aes_attr_read()1827 memcpy(&protkeytoken.protkey, &protkey.protkey, protkey.len); in pkey_protkey_aes_attr_read()[all …]