Home
last modified time | relevance | path

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

/linux/drivers/s390/crypto/
H A Dpkey_sysfs.c53 struct protaeskeytoken protkeytoken; in pkey_protkey_aes_attr_read() local
57 if (off != 0 || count < sizeof(protkeytoken)) in pkey_protkey_aes_attr_read()
60 if (count < 2 * sizeof(protkeytoken)) in pkey_protkey_aes_attr_read()
63 memset(&protkeytoken, 0, sizeof(protkeytoken)); in pkey_protkey_aes_attr_read()
64 protkeytoken.type = TOKTYPE_NON_CCA; in pkey_protkey_aes_attr_read()
65 protkeytoken.version = TOKVER_PROTECTED_KEY; in pkey_protkey_aes_attr_read()
66 protkeytoken.keytype = keytype; in pkey_protkey_aes_attr_read()
75 protkeytoken.len = protkey.len; in pkey_protkey_aes_attr_read()
76 memcpy(&protkeytoken.protkey, &protkey.protkey, protkey.len); in pkey_protkey_aes_attr_read()
78 memcpy(buf, &protkeytoken, sizeof(protkeytoken)); in pkey_protkey_aes_attr_read()
[all …]
H A Dpkey_pckmo.c231 struct protkeytoken *t = (struct protkeytoken *)key; in pckmo_key2protkey()
368 struct protkeytoken *t = (struct protkeytoken *)key; in pckmo_verify_key()
H A Dpkey_base.h37 struct protkeytoken { struct