Searched refs:fill (Results 1 – 11 of 11) sorted by relevance
| /optee_os/core/lib/zlib/ |
| H A D | inftrees.c | 51 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/core/drivers/crypto/aspeed/ |
| H A D | hace_ast2600.c | 171 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/core/crypto/ |
| H A D | sm3.c | 190 size_t fill = 0; in sm3_update() local 197 fill = 64 - left; in sm3_update() 204 if (left && ilen >= fill) { in sm3_update() 205 memcpy(ctx->buffer + left, input, fill); in sm3_update() 207 input += fill; in sm3_update() 208 ilen -= fill; in sm3_update()
|
| /optee_os/core/lib/libtomcrypt/src/hashes/ |
| H A D | blake2s.c | 367 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()
|
| H A D | blake2b.c | 378 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()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | md5.c | 208 size_t fill; in mbedtls_md5_update() local 216 fill = 64 - left; in mbedtls_md5_update() 225 if (left && ilen >= fill) { in mbedtls_md5_update() 226 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_md5_update() 231 input += fill; in mbedtls_md5_update() 232 ilen -= fill; in mbedtls_md5_update()
|
| H A D | sha1.c | 243 size_t fill; in mbedtls_sha1_update() local 251 fill = 64 - left; in mbedtls_sha1_update() 260 if (left && ilen >= fill) { in mbedtls_sha1_update() 261 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha1_update() 267 input += fill; in mbedtls_sha1_update() 268 ilen -= fill; in mbedtls_sha1_update()
|
| H A D | ripemd160.c | 271 size_t fill; in mbedtls_ripemd160_update() local 279 fill = 64 - left; in mbedtls_ripemd160_update() 288 if (left && ilen >= fill) { in mbedtls_ripemd160_update() 289 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_ripemd160_update() 295 input += fill; in mbedtls_ripemd160_update() 296 ilen -= fill; in mbedtls_ripemd160_update()
|
| H A D | sha256.c | 650 size_t fill; in mbedtls_sha256_update() local 658 fill = SHA256_BLOCK_SIZE - left; in mbedtls_sha256_update() 667 if (left && ilen >= fill) { in mbedtls_sha256_update() 668 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha256_update() 674 input += fill; in mbedtls_sha256_update() 675 ilen -= fill; in mbedtls_sha256_update()
|
| H A D | sha512.c | 765 size_t fill; in mbedtls_sha512_update() local 773 fill = SHA512_BLOCK_SIZE - left; in mbedtls_sha512_update() 781 if (left && ilen >= fill) { in mbedtls_sha512_update() 782 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_sha512_update() 788 input += fill; in mbedtls_sha512_update() 789 ilen -= fill; in mbedtls_sha512_update()
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | ChangeLog | 2561 * In PEM writing functions, fill the trailing part of the buffer with null
|