Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dssh-pkcs11.c355 CK_ATTRIBUTE key_filter[3]; in pkcs11_get_key() local
375 memset(&key_filter, 0, sizeof(key_filter)); in pkcs11_get_key()
377 key_filter[0].type = CKA_CLASS; in pkcs11_get_key()
378 key_filter[0].pValue = &private_key_class; in pkcs11_get_key()
379 key_filter[0].ulValueLen = sizeof(private_key_class); in pkcs11_get_key()
381 key_filter[1].type = CKA_ID; in pkcs11_get_key()
382 key_filter[1].pValue = k11->keyid; in pkcs11_get_key()
383 key_filter[1].ulValueLen = k11->keyid_len; in pkcs11_get_key()
386 key_filter[2].type = CKA_SIGN; in pkcs11_get_key()
387 key_filter[2].pValue = &true_val; in pkcs11_get_key()
[all …]