Lines Matching refs:rpmb_state
46 struct rpmb_state { struct
210 int rpmb_program_key(struct rpmb_state* state, const struct rpmb_key* key) { in rpmb_program_key()
239 static int rpmb_read_counter(struct rpmb_state* state, in rpmb_read_counter()
277 static int rpmb_read_counter_retry(struct rpmb_state* state, in rpmb_read_counter_retry()
293 static int rpmb_read_data(struct rpmb_state* state, in rpmb_read_data()
373 int rpmb_read(struct rpmb_state* state, in rpmb_read()
381 int rpmb_read_no_mac(struct rpmb_state* state, in rpmb_read_no_mac()
388 int rpmb_verify(struct rpmb_state* state, in rpmb_verify()
405 static bool check_write_counter(struct rpmb_state* state, in check_write_counter()
431 static int rpmb_write_data(struct rpmb_state* state, in rpmb_write_data()
593 int rpmb_write(struct rpmb_state* state, in rpmb_write()
643 void rpmb_set_key(struct rpmb_state* state, const struct rpmb_key* key) { in rpmb_set_key()
667 int rpmb_init(struct rpmb_state** statep, void* mmc_handle) { in rpmb_init()
668 struct rpmb_state* state = malloc(sizeof(*state)); in rpmb_init()
687 void rpmb_uninit(struct rpmb_state* statep) { in rpmb_uninit()