reload cipher_state from VMState at cipher_extra+48
| 225 | |
| 226 | // reload cipher_state from VMState at cipher_extra+48 |
| 227 | static inline void x86_cipher_reset(X86Emitter& e, const VMConfig& vm) { |
| 228 | const auto& r = vm.dispatcher_regs(); |
| 229 | const std::int32_t init_off = static_cast<std::int32_t>(vm.state_layout().cipher_extra) + kCipherInitOff; |
| 230 | e.mov_reg_mem( |
| 231 | r.cipher_state, |
| 232 | r.state_ptr, |
| 233 | init_off, |
| 234 | true |
| 235 | ); |
| 236 | } |
| 237 | |
| 238 | // forward decls |
| 239 | static void emit_x86_mem_addr(X86Emitter& e, const VMConfig& vm, std::uint8_t out_reg); |
no test coverage detected