Lines Matching refs:src_reg
593 static int hre_op_loadkey(struct udevice *tpm, struct h_reg *src_reg, in hre_op_loadkey() argument
600 if (!src_reg || !dst_reg || !src_reg->valid || !dst_reg->valid) in hre_op_loadkey()
602 if (find_key(tpm, src_reg->digest, dst_reg->digest, &parent_handle)) in hre_op_loadkey()
605 src_reg->digest, &key_handle); in hre_op_loadkey()
630 struct h_reg *src_reg, *dst_reg; in hre_execute_op() local
653 src_reg = access_hreg(tpm, src_spec, HREG_RD); in hre_execute_op()
665 if (src_reg) { in hre_execute_op()
667 if (src_reg->digest[i]) in hre_execute_op()
689 if (src_reg) { in hre_execute_op()
690 src_buf = src_reg->digest; in hre_execute_op()
713 if (hre_op_loadkey(tpm, src_reg, dst_reg, data, data_size)) in hre_execute_op()