pkcs11_fetch_ed25519_pubkey
key = pkcs11_fetch_ed25519_pubkey(p, slotidx, &obj);
k = pkcs11_fetch_ed25519_pubkey(p, slotidx, &obj);