Lines Matching refs:src_reg
586 static int hre_op_loadkey(struct udevice *tpm, struct h_reg *src_reg, in hre_op_loadkey() argument
593 if (!src_reg || !dst_reg || !src_reg->valid || !dst_reg->valid) in hre_op_loadkey()
595 if (find_key(tpm, src_reg->digest, dst_reg->digest, &parent_handle)) in hre_op_loadkey()
598 src_reg->digest, &key_handle); in hre_op_loadkey()
623 struct h_reg *src_reg, *dst_reg; in hre_execute_op() local
646 src_reg = access_hreg(tpm, src_spec, HREG_RD); in hre_execute_op()
658 if (src_reg) { in hre_execute_op()
660 if (src_reg->digest[i]) in hre_execute_op()
682 if (src_reg) { in hre_execute_op()
683 src_buf = src_reg->digest; in hre_execute_op()
706 if (hre_op_loadkey(tpm, src_reg, dst_reg, data, data_size)) in hre_execute_op()