Lines Matching refs:memref
44 if (!params[0].memref.buffer || !params[0].memref.size) in get_random()
47 rng_buf = TEE_Malloc(params[0].memref.size, TEE_MALLOC_FILL_ZERO); in get_random()
51 TEE_GenerateRandom(rng_buf, params[0].memref.size); in get_random()
52 memcpy(params[0].memref.buffer, rng_buf, params[0].memref.size); in get_random()
53 memzero_explicit(rng_buf, params[0].memref.size); in get_random()
79 params[0].memref.buffer = extra; in derive_unique_key()
80 params[0].memref.size = extra_size; in derive_unique_key()
83 params[1].memref.buffer = key; in derive_unique_key()
84 params[1].memref.size = key_size; in derive_unique_key()
221 in = params[0].memref.buffer; in seal_trusted_key()
222 in_sz = params[0].memref.size; in seal_trusted_key()
223 out = params[1].memref.buffer; in seal_trusted_key()
224 out_sz = params[1].memref.size; in seal_trusted_key()
234 params[1].memref.size = in_sz + sizeof(struct tk_blob_hdr); in seal_trusted_key()
241 params[1].memref.size = out_sz; in seal_trusted_key()
264 in = params[0].memref.buffer; in unseal_trusted_key()
265 in_sz = params[0].memref.size; in unseal_trusted_key()
266 out = params[1].memref.buffer; in unseal_trusted_key()
267 out_sz = params[1].memref.size; in unseal_trusted_key()
276 params[1].memref.size = in_sz - sizeof(struct tk_blob_hdr); in unseal_trusted_key()
283 params[1].memref.size = out_sz; in unseal_trusted_key()