Searched refs:pk (Results 1 – 1 of 1) sorted by relevance
455 static int kwb_compute_pubkey_hash(struct pubkey_der_v1 *pk, in kwb_compute_pubkey_hash() argument463 if (!pk || !hash || pk->key[0] != 0x30 || pk->key[1] != 0x82) in kwb_compute_pubkey_hash()466 key_size = (pk->key[2] << 8) + pk->key[3] + 4; in kwb_compute_pubkey_hash()478 if (!EVP_DigestUpdate(ctx, pk->key, key_size)) { in kwb_compute_pubkey_hash()