Searched refs:pub_size (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtsp_ps.c149 ps_get_key_by_pub(TSS_HCONTEXT tspContext, UINT32 pub_size, BYTE *pub, TSS_HKEY *hKey) argument
159 if ((result = psfile_get_key_by_pub(fd, &uuid, pub_size, pub, key))) {
H A Dobj_rsakey.c1844 obj_rsakey_get_by_pub(UINT32 pub_size, BYTE *pub, TSS_HKEY *hKey) argument
1856 if (rsakey->key.pubKey.keyLength == pub_size &&
1857 !memcmp(&rsakey->key.pubKey.key, pub, pub_size)) {
/netbsd-current/crypto/external/cpl/trousers/dist/src/tspi/ps/
H A Dtspps.c338 psfile_get_key_by_pub(int fd, TSS_UUID *uuid, UINT32 pub_size, BYTE *pub, BYTE *key) argument
346 if ((result = psfile_get_cache_entry_by_pub(fd, pub_size, pub, &tmp)))
376 psfile_get_uuid_by_pub(int fd, UINT32 pub_size, BYTE *pub, TSS_UUID *uuid) argument
381 if ((result = psfile_get_cache_entry_by_pub(fd, pub_size, pub, &tmp)))
1211 psfile_get_cache_entry_by_pub(int fd, UINT32 pub_size, BYTE *pub, struct key_disk_cache *c) argument
1282 if (c->pub_data_size == pub_size) {
1289 if (!memcmp(blob, pub, pub_size))

Completed in 101 milliseconds