Home
last modified time | relevance | path

Searched refs:copy_len (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/arch/arm/plat-rockchip/
H A Dplatform_rk3588.c110 size_t copy_len = 0; in hw_get_random_bytes() local
158 copy_len = MIN(remaining, sizeof(uint32_t)); in hw_get_random_bytes()
159 memcpy((uint8_t *)buf + (blen - remaining), &rnd, copy_len); in hw_get_random_bytes()
160 remaining -= copy_len; in hw_get_random_bytes()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dcipher.c691 size_t copy_len = 0; in mbedtls_cipher_update() local
713 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update()
716 copy_len); in mbedtls_cipher_update()
731 input += copy_len; in mbedtls_cipher_update()
732 ilen -= copy_len; in mbedtls_cipher_update()
743 copy_len = ilen % block_size; in mbedtls_cipher_update()
744 if (copy_len == 0 && in mbedtls_cipher_update()
747 copy_len = block_size; in mbedtls_cipher_update()
750 memcpy(ctx->unprocessed_data, &(input[ilen - copy_len]), in mbedtls_cipher_update()
751 copy_len); in mbedtls_cipher_update()
[all …]