Lines Matching refs:src_reg
349 static int hre_op_loadkey(struct udevice *tpm, struct h_reg *src_reg, in hre_op_loadkey() argument
356 if (!src_reg || !dst_reg || !src_reg->valid || !dst_reg->valid) in hre_op_loadkey()
358 if (find_key(tpm, src_reg->digest, dst_reg->digest, &parent_handle)) in hre_op_loadkey()
361 src_reg->digest, &key_handle); in hre_op_loadkey()
386 struct h_reg *src_reg, *dst_reg; in hre_execute_op() local
409 src_reg = access_hreg(tpm, src_spec, HREG_RD); in hre_execute_op()
421 if (src_reg) { in hre_execute_op()
423 if (src_reg->digest[i]) in hre_execute_op()
445 if (src_reg) { in hre_execute_op()
446 src_buf = src_reg->digest; in hre_execute_op()
469 if (hre_op_loadkey(tpm, src_reg, dst_reg, data, data_size)) in hre_execute_op()