Lines Matching refs:rks
87 struct sk_resident_key ***rks, size_t *nrks);
993 struct sk_resident_key **rks = NULL; in sk_load_resident_keys() local
1002 if ((r = read_rks(device, pin, &rks, &nrks)) != 0) { in sk_load_resident_keys()
1026 &rks, &nrks)) != 0) { in sk_load_resident_keys()
1038 *rksp = rks; in sk_load_resident_keys()
1040 rks = NULL; in sk_load_resident_keys()
1045 free(rks[i]->application); in sk_load_resident_keys()
1046 freezero(rks[i]->key.public_key, rks[i]->key.public_key_len); in sk_load_resident_keys()
1047 freezero(rks[i]->key.key_handle, rks[i]->key.key_handle_len); in sk_load_resident_keys()
1048 freezero(rks[i], sizeof(*rks[i])); in sk_load_resident_keys()
1050 free(rks); in sk_load_resident_keys()