Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dmd2.c172 size_t fill; in mbedtls_md2_update_ret() local
177 fill = 16 - ctx->left; in mbedtls_md2_update_ret()
179 fill = ilen; in mbedtls_md2_update_ret()
181 memcpy( ctx->buffer + ctx->left, input, fill ); in mbedtls_md2_update_ret()
183 ctx->left += fill; in mbedtls_md2_update_ret()
184 input += fill; in mbedtls_md2_update_ret()
185 ilen -= fill; in mbedtls_md2_update_ret()
A Dsha512.c319 size_t fill; in mbedtls_sha512_update_ret() local
329 fill = 128 - left; in mbedtls_sha512_update_ret()
336 if( left && ilen >= fill ) in mbedtls_sha512_update_ret()
338 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha512_update_ret()
343 input += fill; in mbedtls_sha512_update_ret()
344 ilen -= fill; in mbedtls_sha512_update_ret()
A Dmd4.c235 size_t fill; in mbedtls_md4_update_ret() local
242 fill = 64 - left; in mbedtls_md4_update_ret()
250 if( left && ilen >= fill ) in mbedtls_md4_update_ret()
253 (void *) input, fill ); in mbedtls_md4_update_ret()
258 input += fill; in mbedtls_md4_update_ret()
259 ilen -= fill; in mbedtls_md4_update_ret()
A Dsha256.c278 size_t fill; in mbedtls_sha256_update_ret() local
288 fill = 64 - left; in mbedtls_sha256_update_ret()
296 if( left && ilen >= fill ) in mbedtls_sha256_update_ret()
298 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha256_update_ret()
303 input += fill; in mbedtls_sha256_update_ret()
304 ilen -= fill; in mbedtls_sha256_update_ret()
A Dmd5.c241 size_t fill; in mbedtls_md5_update_ret() local
248 fill = 64 - left; in mbedtls_md5_update_ret()
256 if( left && ilen >= fill ) in mbedtls_md5_update_ret()
258 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_md5_update_ret()
262 input += fill; in mbedtls_md5_update_ret()
263 ilen -= fill; in mbedtls_md5_update_ret()
A Dripemd160.c304 size_t fill; in mbedtls_ripemd160_update_ret() local
311 fill = 64 - left; in mbedtls_ripemd160_update_ret()
319 if( left && ilen >= fill ) in mbedtls_ripemd160_update_ret()
321 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_ripemd160_update_ret()
326 input += fill; in mbedtls_ripemd160_update_ret()
327 ilen -= fill; in mbedtls_ripemd160_update_ret()
A Dsha1.c291 size_t fill; in mbedtls_sha1_update_ret() local
301 fill = 64 - left; in mbedtls_sha1_update_ret()
309 if( left && ilen >= fill ) in mbedtls_sha1_update_ret()
311 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha1_update_ret()
316 input += fill; in mbedtls_sha1_update_ret()
317 ilen -= fill; in mbedtls_sha1_update_ret()
/optee_os-3.20.0/core/lib/zlib/
A Dinftrees.c51 unsigned fill; /* index for replicating entries */ local
233 fill = 1U << curr;
234 min = fill; /* save offset to next table */
236 fill -= incr;
237 next[(huff >> drop) + fill] = here;
238 } while (fill != 0);
/optee_os-3.20.0/core/drivers/crypto/aspeed/
A Dhace_ast2600.c171 uint32_t fill = 0; in ast2600_hace_update() local
183 fill = blk_size - left; in ast2600_hace_update()
189 if (left && len >= fill) { in ast2600_hace_update()
190 memcpy(hctx->buf + left, data, fill); in ast2600_hace_update()
195 data += fill; in ast2600_hace_update()
196 len -= fill; in ast2600_hace_update()
/optee_os-3.20.0/core/crypto/
A Dsm3.c179 size_t fill = 0; in sm3_update() local
186 fill = 64 - left; in sm3_update()
193 if (left && ilen >= fill) { in sm3_update()
194 memcpy(ctx->buffer + left, input, fill); in sm3_update()
196 input += fill; in sm3_update()
197 ilen -= fill; in sm3_update()
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/
A Dblake2b.c378 unsigned long fill = BLAKE2B_BLOCKBYTES - left; in blake2b_process() local
379 if (inlen > fill) { in blake2b_process()
381 XMEMCPY(md->blake2b.buf + (left % sizeof(md->blake2b.buf)), in, fill); /* Fill buffer */ in blake2b_process()
384 in += fill; in blake2b_process()
385 inlen -= fill; in blake2b_process()
A Dblake2s.c367 unsigned long fill = BLAKE2S_BLOCKBYTES - left; in blake2s_process() local
368 if (inlen > fill) { in blake2s_process()
370 XMEMCPY(md->blake2s.buf + (left % sizeof(md->blake2s.buf)), in, fill); /* Fill buffer */ in blake2s_process()
373 in += fill; in blake2s_process()
374 inlen -= fill; in blake2s_process()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog672 * In PEM writing functions, fill the trailing part of the buffer with null

Completed in 22 milliseconds