Home
last modified time | relevance | path

Searched refs:protkey (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/s390/crypto/
Dpkey_api.c73 u8 protkey[MAXPROTKEYSIZE]; /* the protected key blob */ member
106 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pkey_clr2protkey() argument
198 memcpy(protkey, paramblock, *protkeylen); in pkey_clr2protkey()
207 static int pkey_skey2pkey(const u8 *key, u8 *protkey, in pkey_skey2pkey() argument
232 protkey, protkeylen, protkeytype); in pkey_skey2pkey()
236 protkey, protkeylen, in pkey_skey2pkey()
294 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pkey_ep11key2pkey() argument
315 protkey, protkeylen, protkeytype); in pkey_ep11key2pkey()
373 static int pkey_genprotkey(u32 keytype, u8 *protkey, in pkey_genprotkey() argument
392 protkey, protkeylen, protkeytype); in pkey_genprotkey()
[all …]
Dzcrypt_ccamisc.h174 const u8 *seckey, u8 *protkey, u32 *protkeylen,
187 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
199 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
Dzcrypt_ep11misc.h153 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
Dzcrypt_ccamisc.c580 const u8 *seckey, u8 *protkey, u32 *protkeylen, in cca_sec2protkey() argument
715 memcpy(protkey, prepparm->lv3.ckb.key, prepparm->lv3.ckb.len); in cca_sec2protkey()
1184 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in cca_cipher2protkey() argument
1339 memcpy(protkey, prepparm->vud.ckb.key, prepparm->vud.ckb.keylen); in cca_cipher2protkey()
1353 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in cca_ecc2protkey() argument
1489 memcpy(protkey, prepparm->vud.ckb.key, prepparm->vud.ckb.keylen); in cca_ecc2protkey()
Dzcrypt_ep11misc.c1443 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in ep11_kblob2protkey() argument
1541 memcpy(protkey, wki->pkey, wki->pkeysize); in ep11_kblob2protkey()
/Linux-v6.6/arch/s390/include/uapi/asm/
Dpkey.h92 __u8 protkey[MAXPROTKEYSIZE]; /* the protected key blob */ member
144 struct pkey_protkey protkey; /* out: the protected key */ member
154 struct pkey_protkey protkey; /* out: the protected key */ member
174 struct pkey_protkey protkey; /* out: the protected key */ member
202 struct pkey_protkey protkey; /* out: the protected key */ member
211 struct pkey_protkey protkey; /* in: the protected key to verify */ member
222 struct pkey_protkey protkey; /* out: the protected key */ member
347 struct pkey_protkey protkey; /* out: the protected key */ member
/Linux-v6.6/arch/s390/crypto/
Dpaes_s390.c136 pk->protkey, &pk->len, &pk->type); in __paes_keyblob2pkey()
149 pkey.len = sizeof(pkey.protkey); in __paes_convert_key()
228 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
242 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
345 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in cbc_paes_crypt()
361 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in cbc_paes_crypt()
419 pkey0.len = sizeof(pkey0.protkey); in __xts_paes_convert_key()
420 pkey1.len = sizeof(pkey1.protkey); in __xts_paes_convert_key()
488 memcpy(ckey, ctx->pk[0].protkey, ckey_len); in xts_paes_set_key()
489 memcpy(ckey + ckey_len, ctx->pk[1].protkey, ckey_len); in xts_paes_set_key()
[all …]
/Linux-v6.6/arch/s390/include/asm/
Dpkey.h26 u8 *protkey, u32 *protkeylen, u32 *protkeytype);