Home
last modified time | relevance | path

Searched refs:cardnr (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/drivers/s390/crypto/
Dzcrypt_ccamisc.h162 int cca_genseckey(u16 cardnr, u16 domain, u32 keybitsize, u8 *seckey);
167 int cca_clr2seckey(u16 cardnr, u16 domain, u32 keybitsize,
173 int cca_sec2protkey(u16 cardnr, u16 domain,
180 int cca_gencipherkey(u16 cardnr, u16 domain, u32 keybitsize, u32 keygenflags,
186 int cca_cipher2protkey(u16 cardnr, u16 domain, const u8 *ckey,
192 int cca_clr2cipherkey(u16 cardnr, u16 domain, u32 keybitsize, u32 keygenflags,
198 int cca_ecc2protkey(u16 cardnr, u16 domain, const u8 *key,
204 int cca_query_crypto_facility(u16 cardnr, u16 domain,
238 int cca_findcard2(u32 **apqns, u32 *nr_apqns, u16 cardnr, u16 domain,
Dzcrypt_ccamisc.c39 u16 cardnr; member
280 u16 cardnr, in prep_xcrb() argument
286 pxcrb->user_defined = (cardnr == 0xFFFF ? AUTOSELECT : cardnr); in prep_xcrb()
297 int cca_genseckey(u16 cardnr, u16 domain, in cca_genseckey() argument
384 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_genseckey()
390 __func__, (int) cardnr, (int) domain, rc); in cca_genseckey()
440 int cca_clr2seckey(u16 cardnr, u16 domain, u32 keybitsize, in cca_clr2seckey() argument
522 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_clr2seckey()
528 __func__, (int) cardnr, (int) domain, rc); in cca_clr2seckey()
579 int cca_sec2protkey(u16 cardnr, u16 domain, in cca_sec2protkey() argument
[all …]
Dzcrypt_ep11misc.c39 u16 cardnr; member
45 static int card_cache_fetch(u16 cardnr, struct ep11_card_info *ci) in card_cache_fetch() argument
52 if (ptr->cardnr == cardnr) { in card_cache_fetch()
63 static void card_cache_update(u16 cardnr, const struct ep11_card_info *ci) in card_cache_update() argument
70 if (ptr->cardnr == cardnr) { in card_cache_update()
82 ptr->cardnr = cardnr; in card_cache_update()
89 static void card_cache_scrub(u16 cardnr) in card_cache_scrub() argument
95 if (ptr->cardnr == cardnr) { in card_cache_scrub()
469 static int ep11_query_info(u16 cardnr, u16 domain, u32 query_type, in ep11_query_info() argument
517 target.ap_id = cardnr; in ep11_query_info()
[all …]
Dpkey_api.c150 u16 cardnr, domain; in pkey_skey2pkey() local
163 rc = cca_findcard(key, &cardnr, &domain, verify); in pkey_skey2pkey()
170 rc = cca_sec2protkey(cardnr, domain, in pkey_skey2pkey()
175 rc = cca_cipher2protkey(cardnr, domain, in pkey_skey2pkey()
271 u16 cardnr, domain; in pkey_verifykey() local
284 rc = cca_findcard(seckey->seckey, &cardnr, &domain, 1); in pkey_verifykey()
297 *pcardnr = cardnr; in pkey_verifykey()
659 u16 *cardnr, u16 *domain, in pkey_verifykey2() argument
682 rc = cca_findcard2(&_apqns, &_nr_apqns, *cardnr, *domain, in pkey_verifykey2()
688 *cardnr, *domain, in pkey_verifykey2()
[all …]
Dzcrypt_ep11misc.h122 int ep11_clr2keyblob(u16 cardnr, u16 domain, u32 keybitsize, u32 keygenflags,
144 int ep11_findcard2(u32 **apqns, u32 *nr_apqns, u16 cardnr, u16 domain,
/Linux-v5.15/arch/s390/include/uapi/asm/
Dpkey.h113 __u16 cardnr; /* in: card to use or FFFF for any */ member
124 __u16 cardnr; /* in: card to use or FFFF for any */ member
136 __u16 cardnr; /* in: card to use or FFFF for any */ member
159 __u16 cardnr; /* out: card number */ member
183 __u16 cardnr; /* out: card number */ member
316 __u16 cardnr; /* in/out: card number */ member
/Linux-v5.15/include/uapi/linux/
Dkernelcapi.h29 int cardnr; member
/Linux-v5.15/include/linux/isdn/
Dcapilli.h35 int cardnr; member
/Linux-v5.15/drivers/media/pci/bt8xx/
Dbttv-cards.c144 int cardnr; member
2911 btv->c.nr, cards[type].name, cards[type].cardnr, in bttv_idcard()
2914 btv->c.type = cards[type].cardnr; in bttv_idcard()