Home
last modified time | relevance | path

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

/net-tools-3.7.0/mbedtls-2.4.0/library/
Dmd2.c157 size_t fill; in mbedtls_md2_update() local
162 fill = 16 - ctx->left; in mbedtls_md2_update()
164 fill = ilen; in mbedtls_md2_update()
166 memcpy( ctx->buffer + ctx->left, input, fill ); in mbedtls_md2_update()
168 ctx->left += fill; in mbedtls_md2_update()
169 input += fill; in mbedtls_md2_update()
170 ilen -= fill; in mbedtls_md2_update()
Dmd4.c222 size_t fill; in mbedtls_md4_update() local
229 fill = 64 - left; in mbedtls_md4_update()
237 if( left && ilen >= fill ) in mbedtls_md4_update()
240 (void *) input, fill ); in mbedtls_md4_update()
242 input += fill; in mbedtls_md4_update()
243 ilen -= fill; in mbedtls_md4_update()
Dmd5.c241 size_t fill; in mbedtls_md5_update() local
248 fill = 64 - left; in mbedtls_md5_update()
256 if( left && ilen >= fill ) in mbedtls_md5_update()
258 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_md5_update()
260 input += fill; in mbedtls_md5_update()
261 ilen -= fill; in mbedtls_md5_update()
Dsha256.c244 size_t fill; in mbedtls_sha256_update() local
251 fill = 64 - left; in mbedtls_sha256_update()
259 if( left && ilen >= fill ) in mbedtls_sha256_update()
261 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha256_update()
263 input += fill; in mbedtls_sha256_update()
264 ilen -= fill; in mbedtls_sha256_update()
Dsha512.c275 size_t fill; in mbedtls_sha512_update() local
282 fill = 128 - left; in mbedtls_sha512_update()
289 if( left && ilen >= fill ) in mbedtls_sha512_update()
291 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha512_update()
293 input += fill; in mbedtls_sha512_update()
294 ilen -= fill; in mbedtls_sha512_update()
Dripemd160.c299 size_t fill; in mbedtls_ripemd160_update() local
306 fill = 64 - left; in mbedtls_ripemd160_update()
314 if( left && ilen >= fill ) in mbedtls_ripemd160_update()
316 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_ripemd160_update()
318 input += fill; in mbedtls_ripemd160_update()
319 ilen -= fill; in mbedtls_ripemd160_update()
Dsha1.c275 size_t fill; in mbedtls_sha1_update() local
282 fill = 64 - left; in mbedtls_sha1_update()
290 if( left && ilen >= fill ) in mbedtls_sha1_update()
292 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha1_update()
294 input += fill; in mbedtls_sha1_update()
295 ilen -= fill; in mbedtls_sha1_update()
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_entropy.function79 * NV seed read/write helpers that fill the base seedfile
Dhelpers.function229 * Allocate and fill a buffer from hex data.