Home
last modified time | relevance | path

Searched refs:_nr_apqns (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/s390/crypto/
Dpkey_cca.c77 u32 _nr_apqns, *_apqns = NULL; in cca_apqns4key() local
111 rc = cca_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in cca_apqns4key()
130 rc = cca_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in cca_apqns4key()
143 if (*nr_apqns < _nr_apqns) in cca_apqns4key()
146 memcpy(apqns, _apqns, _nr_apqns * sizeof(u32)); in cca_apqns4key()
148 *nr_apqns = _nr_apqns; in cca_apqns4key()
160 u32 _nr_apqns, *_apqns = NULL; in cca_apqns4type() local
175 rc = cca_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in cca_apqns4type()
188 rc = cca_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in cca_apqns4type()
201 if (*nr_apqns < _nr_apqns) in cca_apqns4type()
[all …]
Dpkey_ep11.c77 u32 _nr_apqns, *_apqns = NULL; in ep11_apqns4key() local
102 rc = ep11_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in ep11_apqns4key()
119 rc = ep11_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in ep11_apqns4key()
131 if (*nr_apqns < _nr_apqns) in ep11_apqns4key()
134 memcpy(apqns, _apqns, _nr_apqns * sizeof(u32)); in ep11_apqns4key()
136 *nr_apqns = _nr_apqns; in ep11_apqns4key()
148 u32 _nr_apqns, *_apqns = NULL; in ep11_apqns4type() local
162 rc = ep11_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in ep11_apqns4type()
174 if (*nr_apqns < _nr_apqns) in ep11_apqns4type()
177 memcpy(apqns, _apqns, _nr_apqns * sizeof(u32)); in ep11_apqns4type()
[all …]
Dpkey_pckmo.c494 size_t _nr_apqns, in pkey_pckmo_key2protkey() argument
502 static int pkey_pckmo_gen_key(const struct pkey_apqn *_apqns, size_t _nr_apqns, in pkey_pckmo_gen_key() argument
Dzcrypt_ep11misc.c1585 u32 *_apqns = NULL, _nr_apqns = 0; in ep11_findcard2() local
1641 if (_nr_apqns < 256) in ep11_findcard2()
1642 _apqns[_nr_apqns++] = (((u16)card) << 16) | ((u16)dom); in ep11_findcard2()
1646 if (!_nr_apqns) { in ep11_findcard2()
1652 *nr_apqns = _nr_apqns; in ep11_findcard2()
Dzcrypt_ccamisc.c1876 u32 *_apqns = NULL, _nr_apqns = 0; in cca_findcard2() local
1942 if (_nr_apqns < 256) in cca_findcard2()
1943 _apqns[_nr_apqns++] = (((u16)card) << 16) | ((u16)dom); in cca_findcard2()
1947 if (!_nr_apqns) { in cca_findcard2()
1953 *nr_apqns = _nr_apqns; in cca_findcard2()