Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmoducryptolib.c273 mp_buffer_info_t in_bufinfo; in aes_process() local
274 mp_get_buffer_raise(in_buf, &in_bufinfo, MP_BUFFER_READ); in aes_process()
276 if (!is_ctr_mode(self->block_mode) && in_bufinfo.len % 16 != 0) { in aes_process()
286 if (out_bufinfo.len < in_bufinfo.len) { in aes_process()
291 vstr_init_len(&vstr, in_bufinfo.len); in aes_process()
310 uint8_t *in = in_bufinfo.buf, *out = out_buf_ptr; in aes_process()
311 uint8_t *top = in + in_bufinfo.len; in aes_process()
319 aes_process_cbc_impl(&self->ctx, in_bufinfo.buf, out_buf_ptr, in_bufinfo.len, encrypt); in aes_process()
324 aes_process_ctr_impl(&self->ctx, in_bufinfo.buf, out_buf_ptr, in_bufinfo.len, in aes_process()

Completed in 3 milliseconds