Lines Matching refs:wki
1488 } __packed * wki; in ep11_kblob2protkey() local
1515 wki = (struct wk_info *)wkbuf; in ep11_kblob2protkey()
1518 if (wki->version != 1 || wki->pkeytype < 1 || wki->pkeytype > 5) { in ep11_kblob2protkey()
1520 __func__, (int)wki->version, (int)wki->pkeytype); in ep11_kblob2protkey()
1526 switch (wki->pkeytype) { in ep11_kblob2protkey()
1528 switch (wki->pkeysize) { in ep11_kblob2protkey()
1546 __func__, (int)wki->pkeysize); in ep11_kblob2protkey()
1560 __func__, (int)wki->pkeytype); in ep11_kblob2protkey()
1566 if (wki->pkeysize > *protkeylen) { in ep11_kblob2protkey()
1568 __func__, wki->pkeysize, *protkeylen); in ep11_kblob2protkey()
1572 memcpy(protkey, wki->pkey, wki->pkeysize); in ep11_kblob2protkey()
1573 *protkeylen = wki->pkeysize; in ep11_kblob2protkey()