| /linux/drivers/s390/crypto/ |
| H A D | pkey_cca.c | 304 u32 keytype, u32 subtype, in cca_gen_key() argument 315 switch (keytype) { in cca_gen_key() 319 len = pkey_keytype_aes_to_size(keytype); in cca_gen_key() 338 __func__, keytype); in cca_gen_key() 382 u32 keytype, u32 subtype, in cca_clr2key() argument 399 switch (keytype) { in cca_clr2key() 403 len = pkey_keytype_aes_to_size(keytype); in cca_clr2key() 427 __func__, keytype); in cca_clr2key() 463 u32 *keytype, u32 *keybitsize, u32 *flags, u32 pflags) in cca_verifykey() argument 484 *keytype = PKEY_TYPE_CCA_DATA; in cca_verifykey() [all …]
|
| H A D | pkey_uv.c | 83 static bool is_uv_keytype(enum pkey_key_type keytype) in is_uv_keytype() argument 85 switch (keytype) { in is_uv_keytype() 236 u32 *keytype, u32 *keybitsize, u32 *flags, in uv_verifykey() argument 258 if (keytype) in uv_verifykey() 259 *keytype = PKEY_TYPE_UVSECRET; in uv_verifykey()
|
| H A D | pkey_base.c | 219 u32 keytype, u32 keysubtype, in pkey_handler_gen_key() argument 228 rc = h->gen_key(apqns, nr_apqns, keytype, keysubtype, in pkey_handler_gen_key() 239 u32 keytype, u32 keysubtype, in pkey_handler_clr_to_key() argument 250 rc = h->clr_to_key(apqns, nr_apqns, keytype, keysubtype, in pkey_handler_clr_to_key() 262 u32 *keytype, u32 *keybitsize, u32 *flags, in pkey_handler_verify_key() argument 271 keytype, keybitsize, flags, xflags); in pkey_handler_verify_key()
|
| H A D | pkey_api.c | 106 kgs.keytype, PKEY_TYPE_CCA_DATA, 0, 0, in pkey_ioctl_genseck() 130 kcs.keytype, PKEY_TYPE_CCA_DATA, 0, 0, in pkey_ioctl_clr2seck() 132 pkey_keytype_aes_to_size(kcs.keytype), in pkey_ioctl_clr2seck() 180 keylen = pkey_keytype_aes_to_size(kcp.keytype); in pkey_ioctl_clr2protk() 183 __func__, kcp.keytype); in pkey_ioctl_clr2protk() 195 t->keytype = (keylen - 8) >> 3; in pkey_ioctl_clr2protk() 283 u32 keytype, keybitsize, flags; in pkey_ioctl_verifykey() local 295 &keytype, &keybitsize, &flags, 0); in pkey_ioctl_verifykey() 297 if (!rc && keytype != PKEY_TYPE_CCA_DATA) in pkey_ioctl_verifykey() 319 rc = pkey_handler_gen_key(NULL, 0, kgp.keytype, in pkey_ioctl_genprotk() [all …]
|
| H A D | zcrypt_ccamisc.h | 87 u16 keytype; /* 0x0001 for 'cipher' */ member
|
| H A D | zcrypt_ep11misc.c | 1362 u32 keytype, u32 xflags) in ep11_clr2keyblob() argument 1415 keytype, xflags); in ep11_clr2keyblob()
|
| H A D | zcrypt_ccamisc.c | 155 if (t->keytype != 0x0001) { in cca_check_secaescipherkey() 158 __func__, (int)t->keytype); in cca_check_secaescipherkey()
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | pkey.h | 126 __u32 keytype; /* in: key type to generate */ member 138 __u32 keytype; /* in: key type to generate */ member 161 __u32 keytype; /* in: key type to generate */ member 214 __u32 keytype; /* in: key type to generate */ member
|
| /linux/include/sound/ |
| H A D | jack.h | 85 int keytype); 110 int keytype) in snd_jack_set_key() argument
|
| /linux/drivers/crypto/virtio/ |
| H A D | virtio_crypto_akcipher_algs.c | 353 uint32_t keytype; in virtio_crypto_rsa_set_key() local 358 keytype = VIRTIO_CRYPTO_AKCIPHER_KEY_TYPE_PRIVATE; in virtio_crypto_rsa_set_key() 361 keytype = VIRTIO_CRYPTO_AKCIPHER_KEY_TYPE_PUBLIC; in virtio_crypto_rsa_set_key() 395 para.keytype = cpu_to_le32(keytype); in virtio_crypto_rsa_set_key()
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tpm1.c | 56 pr_debug("sealing key type %d\n", o->keytype); in dump_options() 426 static int tpm_seal(struct tpm_buf *tb, uint16_t keytype, in tpm_seal() 451 ret = osap(tb, &sess, keyauth, keytype, keyhandle); in tpm_seal() 643 ret = tpm_seal(tb, o->keytype, private->keyhandle, private->keyauth, in key_seal() 742 opt->keytype = SEAL_keytype; in getoptions() 845 options->keytype = SRK_keytype; in trusted_options_alloc() 424 tpm_seal(struct tpm_buf * tb,uint16_t keytype,uint32_t keyhandle,const unsigned char * keyauth,const unsigned char * data,uint32_t datalen,unsigned char * blob,uint32_t * bloblen,const unsigned char * blobauth,const unsigned char * pcrinfo,uint32_t pcrinfosize) tpm_seal() argument
|
| /linux/sound/core/ |
| H A D | jack.c | 622 * @keytype: Input layer key type to be reported 643 int keytype) in snd_jack_report() 649 if (!keytype || key >= ARRAY_SIZE(jack->key)) in snd_jack_report() 653 jack->key[key] = keytype; in snd_jack_report() 605 snd_jack_set_key(struct snd_jack * jack,enum snd_jack_types type,int keytype) snd_jack_set_key() argument
|
| /linux/arch/s390/crypto/ |
| H A D | phmac_s390.c | 199 u32 keytype; member 275 token->keytype = PKEY_KEYTYPE_HMAC_512; in make_clrkey_token() 280 token->keytype = PKEY_KEYTYPE_HMAC_1024; in make_clrkey_token()
|
| H A D | paes_s390.c | 121 u32 keytype; in make_clrkey_token() member 128 token->keytype = (cklen - 8) >> 3; in make_clrkey_token()
|
| /linux/include/linux/ |
| H A D | key.h | 185 struct key_type *keytype; 179 struct key_type *keytype; global() member
|
| /linux/crypto/asymmetric_keys/ |
| H A D | asymmetric_type.c | 496 keyres->keytype = &key_type_asymmetric; in asymmetric_restriction_alloc()
|
| /linux/security/keys/ |
| H A D | keyring.c | 1802 keyring->restrict_link->keytype != dead_type) { 1816 keyres->keytype = NULL;
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | host.h | 555 uint8_t keytype[4]; member
|
| /linux/Documentation/security/keys/ |
| H A D | core.rst | 1503 keytype->def_datalen, then key_payload_reserve() should be called.
|