Searched refs:n_attributes (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/shared/ |
D | pkcs11-util.c | 355 CK_ULONG n_attributes, a, n_objects; in pkcs11_token_find_x509_certificate() local 364 attributes = p11_kit_uri_get_attributes(search_uri, &n_attributes); in pkcs11_token_find_x509_certificate() 365 for (a = 0; a < n_attributes; a++) { in pkcs11_token_find_x509_certificate() 405 … attributes_buffer = new(CK_ATTRIBUTE, n_attributes + !found_class + !found_certificate_type); in pkcs11_token_find_x509_certificate() 409 memcpy(attributes_buffer, attributes, sizeof(CK_ATTRIBUTE) * n_attributes); in pkcs11_token_find_x509_certificate() 414 attributes_buffer[n_attributes++] = (CK_ATTRIBUTE) { in pkcs11_token_find_x509_certificate() 424 attributes_buffer[n_attributes++] = (CK_ATTRIBUTE) { in pkcs11_token_find_x509_certificate() 434 rv = m->C_FindObjectsInit(session, attributes, n_attributes); in pkcs11_token_find_x509_certificate() 519 CK_ULONG n_attributes, a, n_objects; in pkcs11_token_find_private_key() local 528 attributes = p11_kit_uri_get_attributes(search_uri, &n_attributes); in pkcs11_token_find_private_key() [all …]
|