Home
last modified time | relevance | path

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

/external/mbedtls/library/
Dchachapoly.c47 uint32_t partial_block_len = (uint32_t) ( ctx->aad_len % 16U ); in chachapoly_pad_aad() local
50 if( partial_block_len == 0U ) in chachapoly_pad_aad()
57 16U - partial_block_len ) ); in chachapoly_pad_aad()
67 uint32_t partial_block_len = (uint32_t) ( ctx->ciphertext_len % 16U ); in chachapoly_pad_ciphertext() local
70 if( partial_block_len == 0U ) in chachapoly_pad_ciphertext()
76 16U - partial_block_len ) ); in chachapoly_pad_ciphertext()
/external/openthread/third_party/mbedtls/repo/library/
Dchachapoly.c60 uint32_t partial_block_len = (uint32_t) ( ctx->aad_len % 16U ); in chachapoly_pad_aad() local
63 if( partial_block_len == 0U ) in chachapoly_pad_aad()
70 16U - partial_block_len ) ); in chachapoly_pad_aad()
80 uint32_t partial_block_len = (uint32_t) ( ctx->ciphertext_len % 16U ); in chachapoly_pad_ciphertext() local
83 if( partial_block_len == 0U ) in chachapoly_pad_ciphertext()
89 16U - partial_block_len ) ); in chachapoly_pad_ciphertext()
/external/cronet/net/disk_cache/blockfile/
Dsparse_control.cc621 int partial_block_len = PartialBlockLength(start); in VerifyRange() local
624 if (partial_block_len <= (child_offset_ & (kBlockSize - 1))) in VerifyRange()
630 if (partial_block_len) { in VerifyRange()
632 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); in VerifyRange()