reset CMAC engine state to IDLE after sending result

This commit is contained in:
mila@ringwald.ch 2014-02-01 15:13:46 +00:00
parent 2943398676
commit 98e03ad7b2

View File

@ -735,6 +735,7 @@ static void sm_cmac_handle_encryption_result(sm_key_t data){
swap64(data, signature);
print_key("CMAC", signature);
sm_cmac_done_handler(signature);
sm_cmac_state = CMAC_IDLE;
break;
}
default: