Searched refs:slotidx (Results 1 – 1 of 1) sorted by relevance
/external/openssh/ |
D | ssh-pkcs11.c | 68 CK_ULONG slotidx; member 193 pkcs11_find(struct pkcs11_provider *p, CK_ULONG slotidx, CK_ATTRIBUTE *attr, in pkcs11_find() argument 203 session = p->slotinfo[slotidx].session; in pkcs11_find() 255 si = &k11->provider->slotinfo[k11->slotidx]; in pkcs11_rsa_private_encrypt() 287 if (pkcs11_find(k11->provider, k11->slotidx, key_filter, 3, &obj) < 0 && in pkcs11_rsa_private_encrypt() 288 pkcs11_find(k11->provider, k11->slotidx, key_filter, 2, &obj) < 0) { in pkcs11_rsa_private_encrypt() 313 pkcs11_rsa_wrap(struct pkcs11_provider *provider, CK_ULONG slotidx, in pkcs11_rsa_wrap() argument 322 k11->slotidx = slotidx; in pkcs11_rsa_wrap() 360 pkcs11_open_session(struct pkcs11_provider *p, CK_ULONG slotidx, char *pin) in pkcs11_open_session() argument 368 login_required = p->slotinfo[slotidx].token.flags & CKF_LOGIN_REQUIRED; in pkcs11_open_session() [all …]
|