Home
last modified time | relevance | path

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

/AliOS-Things-master/components/mbedtls/library/
A Dcmac.c260 if( cmac_ctx->unprocessed_len > 0 && in mbedtls_cipher_cmac_update()
261 ilen > block_size - cmac_ctx->unprocessed_len ) in mbedtls_cipher_cmac_update()
263 memcpy( &cmac_ctx->unprocessed_block[cmac_ctx->unprocessed_len], in mbedtls_cipher_cmac_update()
265 block_size - cmac_ctx->unprocessed_len ); in mbedtls_cipher_cmac_update()
275 input += block_size - cmac_ctx->unprocessed_len; in mbedtls_cipher_cmac_update()
276 ilen -= block_size - cmac_ctx->unprocessed_len; in mbedtls_cipher_cmac_update()
277 cmac_ctx->unprocessed_len = 0; in mbedtls_cipher_cmac_update()
303 cmac_ctx->unprocessed_len += ilen; in mbedtls_cipher_cmac_update()
336 if( cmac_ctx->unprocessed_len < block_size ) in mbedtls_cipher_cmac_finish()
363 cmac_ctx->unprocessed_len = 0; in mbedtls_cipher_cmac_finish()
[all …]
A Dcipher.c302 ctx->unprocessed_len = 0; in mbedtls_cipher_reset()
428 ctx->unprocessed_len += ilen; in mbedtls_cipher_update()
435 if( 0 != ctx->unprocessed_len ) in mbedtls_cipher_update()
437 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update()
451 ctx->unprocessed_len = 0; in mbedtls_cipher_update()
482 ctx->unprocessed_len += copy_len; in mbedtls_cipher_update()
539 ilen, &ctx->unprocessed_len, ctx->iv, in mbedtls_cipher_update()
554 if( ctx->unprocessed_len > 0 ) { in mbedtls_cipher_update()
791 if( ctx->unprocessed_len != 0 ) in mbedtls_cipher_finish()
807 if( 0 != ctx->unprocessed_len ) in mbedtls_cipher_finish()
[all …]
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dcmac.h64 size_t unprocessed_len; member
A Dcipher.h309 size_t unprocessed_len; member

Completed in 10 milliseconds