Lines Matching refs:cardnr
39 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
649 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_sec2protkey()
655 __func__, (int)cardnr, (int)domain, rc); in cca_sec2protkey()
744 int cca_gencipherkey(u16 cardnr, u16 domain, u32 keybitsize, u32 keygenflags, in cca_gencipherkey() argument
878 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_gencipherkey()
885 __func__, (int)cardnr, (int)domain, rc); in cca_gencipherkey()
942 static int _ip_cprb_helper(u16 cardnr, u16 domain, in _ip_cprb_helper() argument
1046 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in _ip_cprb_helper()
1053 __func__, (int)cardnr, (int)domain, rc); in _ip_cprb_helper()
1183 int cca_cipher2protkey(u16 cardnr, u16 domain, const u8 *ckey, in cca_cipher2protkey() argument
1263 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_cipher2protkey()
1270 __func__, (int)cardnr, (int)domain, rc); in cca_cipher2protkey()
1352 int cca_ecc2protkey(u16 cardnr, u16 domain, const u8 *key, in cca_ecc2protkey() argument
1432 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_ecc2protkey()
1439 __func__, (int)cardnr, (int)domain, rc); in cca_ecc2protkey()
1505 int cca_query_crypto_facility(u16 cardnr, u16 domain, in cca_query_crypto_facility() argument
1550 prep_xcrb(&xcrb, cardnr, preqcblk, prepcblk); in cca_query_crypto_facility()
1556 __func__, (int)cardnr, (int)domain, rc); in cca_query_crypto_facility()
1605 static int cca_info_cache_fetch(u16 cardnr, u16 domain, struct cca_info *ci) in cca_info_cache_fetch() argument
1612 if (ptr->cardnr == cardnr && ptr->domain == domain) { in cca_info_cache_fetch()
1623 static void cca_info_cache_update(u16 cardnr, u16 domain, in cca_info_cache_update() argument
1631 if (ptr->cardnr == cardnr && in cca_info_cache_update()
1644 ptr->cardnr = cardnr; in cca_info_cache_update()
1652 static void cca_info_cache_scrub(u16 cardnr, u16 domain) in cca_info_cache_scrub() argument
1658 if (ptr->cardnr == cardnr && in cca_info_cache_scrub()
1683 static int fetch_cca_info(u16 cardnr, u16 domain, struct cca_info *ci) in fetch_cca_info() argument
1693 rc = zcrypt_device_status_ext(cardnr, domain, &devstat); in fetch_cca_info()
1707 rc = cca_query_crypto_facility(cardnr, domain, "STATICSA", in fetch_cca_info()
1734 rc = cca_query_crypto_facility(cardnr, domain, "STATICSB", in fetch_cca_info()
1895 int cca_findcard2(u32 **apqns, u32 *nr_apqns, u16 cardnr, u16 domain, in cca_findcard2() argument
1930 if (cardnr != 0xFFFF && card != cardnr) in cca_findcard2()