Searched refs:rpmb_mac (Results 1 – 2 of 2) sorted by relevance
/trusty/user/app/storage/ |
D | rpmb.c | 112 static int rpmb_mac(struct rpmb_key key, in rpmb_mac() function 255 ret = rpmb_mac(state->key, &res, 1, &mac); in rpmb_read_counter() 327 ret = rpmb_mac(state->key, res, count, mac); in rpmb_read_data() 458 ret = rpmb_mac(state->key, cmd, count, &cmd[count - 1].key_mac); in rpmb_write_data() 472 ret = rpmb_mac(state->key, &res, 1, &mac); in rpmb_write_data()
|
/trusty/user/app/storage/rpmb_dev/ |
D | rpmb_dev.c | 52 static int rpmb_mac(struct rpmb_key key, in rpmb_mac() function 329 if (rpmb_mac(s->header.key, s->cmd, s->cmd_count, &mac) != 0) { in rpmb_dev_process_cmd() 433 rpmb_mac(s->header.key, s->res, s->res_count, in rpmb_dev_process_cmd()
|