Home
last modified time | relevance | path

Searched refs:out_frame (Results 1 – 2 of 2) sorted by relevance

/devicemodel/hw/platform/rpmb/
A Drpmb_sim.c391 if (out_frame) { in rpmb_sim_program_key()
392 memset(out_frame, 0, out_cnt*sizeof(*out_frame)); in rpmb_sim_program_key()
394 out_frame->result = swap16(err); in rpmb_sim_program_key()
492 if (out_frame) { in rpmb_sim_write()
493 memset(out_frame, 0, out_cnt*sizeof(*out_frame)); in rpmb_sim_write()
499 rpmb_mac(key, out_frame, 1, out_frame->key_mac); in rpmb_sim_write()
546 if (out_frame) { in rpmb_sim_read()
547 memset(out_frame, 0, out_cnt*sizeof(*out_frame)); in rpmb_sim_read()
594 if (out_frame) { in rpmb_sim_get_counter()
595 memset(out_frame, 0, sizeof(*out_frame)*out_cnt); in rpmb_sim_get_counter()
[all …]
A Drpmb_backend.c296 struct rpmb_frame* out_frame, uint32_t out_cnt) in rpmb_virt_write() argument
312 if (out_cnt > 0 && out_frame != NULL) { in rpmb_virt_write()
313 memset(out_frame, 0, out_cnt * RPMB_FRAME_SIZE); in rpmb_virt_write()
342 memset(out_frame, 0, out_cnt * RPMB_FRAME_SIZE); in rpmb_virt_write()
363 if (out_frame->result == RPMB_RES_OK) { in rpmb_virt_write()
381 struct rpmb_frame* out_frame, uint32_t out_cnt) in rpmb_virt_read() argument
395 if (out_cnt == 0 || out_frame == NULL) { in rpmb_virt_read()
402 memset(out_frame, 0, out_cnt * RPMB_FRAME_SIZE); in rpmb_virt_read()
434 struct rpmb_frame* out_frame, uint32_t out_cnt) in rpmb_virt_get_counter() argument
444 if (out_cnt == 0 || out_frame == NULL) { in rpmb_virt_get_counter()
[all …]

Completed in 7 milliseconds