Lines Matching refs:nattrs
1753 CK_ULONG nattrs; in pkcs11_destroy_keypair() local
1786 nattrs = 0; in pkcs11_destroy_keypair()
1788 FILL_ATTR(attrs, nattrs, CKA_CLASS, &key_class, sizeof(key_class)); in pkcs11_destroy_keypair()
1789 FILL_ATTR(attrs, nattrs, CKA_ID, &keyid, sizeof(keyid)); in pkcs11_destroy_keypair()
1791 if (pkcs11_find(p, slotidx, attrs, nattrs, &obj) == 0 && in pkcs11_destroy_keypair()
1802 nattrs = 0; in pkcs11_destroy_keypair()
1804 FILL_ATTR(attrs, nattrs, CKA_CLASS, &key_class, sizeof(key_class)); in pkcs11_destroy_keypair()
1805 FILL_ATTR(attrs, nattrs, CKA_ID, &keyid, sizeof(keyid)); in pkcs11_destroy_keypair()
1807 if (pkcs11_find(p, slotidx, attrs, nattrs, &obj) == 0 && in pkcs11_destroy_keypair()
1811 nattrs = 0; in pkcs11_destroy_keypair()
1812 FILL_ATTR(attrs, nattrs, CKA_KEY_TYPE, &key_type, in pkcs11_destroy_keypair()
1814 rv = f->C_GetAttributeValue(session, obj, attrs, nattrs); in pkcs11_destroy_keypair()