/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | md2.c | 172 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 D | sha512.c | 319 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 D | md4.c | 235 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 D | sha256.c | 278 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 D | md5.c | 241 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 D | ripemd160.c | 304 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 D | sha1.c | 291 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 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-3.20.0/core/drivers/crypto/aspeed/ |
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-3.20.0/core/crypto/ |
A D | sm3.c | 179 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 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()
|
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()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/ |
A D | ChangeLog | 672 * In PEM writing functions, fill the trailing part of the buffer with null
|