Searched refs:pk (Results 1 – 4 of 4) sorted by relevance
/arch/s390/crypto/ |
D | paes_s390.c | 112 struct pkey_protkey pk; member 119 struct pkey_protkey pk[2]; member 125 struct pkey_protkey *pk) in __paes_keyblob2pkey() argument 131 ret = pkey_keyblob2pkey(kb->key, kb->keylen, pk); in __paes_keyblob2pkey() 147 memcpy(&ctx->pk, &pkey, sizeof(pkey)); in __paes_convert_key() 178 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PAES_128 : in __ecb_paes_set_key() 179 (ctx->pk.type == PKEY_KEYTYPE_AES_192) ? CPACF_KM_PAES_192 : in __ecb_paes_set_key() 180 (ctx->pk.type == PKEY_KEYTYPE_AES_256) ? CPACF_KM_PAES_256 : 0; in __ecb_paes_set_key() 218 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt() 232 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt() [all …]
|
/arch/x86/include/asm/fpu/ |
D | internal.h | 560 struct pkru_state *pk; in switch_fpu_finish() local 584 pk = get_xsave_addr(&next_fpu->state.xsave, XFEATURE_PKRU); in switch_fpu_finish() 585 pkru_val = pk ? pk->pkru : 0; in switch_fpu_finish()
|
/arch/x86/include/asm/ |
D | pgtable.h | 139 struct pkru_state *pk; in write_pkru() local 144 pk = get_xsave_addr(¤t->thread.fpu.state.xsave, XFEATURE_PKRU); in write_pkru() 152 if (pk) in write_pkru() 153 pk->pkru = pkru; in write_pkru()
|
/arch/ia64/include/asm/ |
D | processor.h | 95 __u64 pk : 1; member
|