Searched refs:tmp_len (Results 1 – 8 of 8) sorted by relevance
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | crypto_hash_cache.c | 28 u32 tmp_len = 0; in hash_cache_calc() local 57 tmp_len = HASH_CACHE_SIZE - hash_cache->cache_size; in hash_cache_calc() 59 __func__, __LINE__, tmp_len); in hash_cache_calc() 61 data, tmp_len); in hash_cache_calc() 68 data += tmp_len; in hash_cache_calc() 69 data_len -= tmp_len; in hash_cache_calc()
|
| H A D | crypto_v2.c | 988 u32 reg_ctrl = 0, tmp_len = 0; in hw_cipher_crypt() local 999 tmp_len = (rk_mode == RK_MODE_CTR) ? ROUNDUP(len, AES_BLOCK_SIZE) : len; in hw_cipher_crypt() 1005 if (IS_ALIGNED((ulong)in, DATA_ADDR_ALIGN_SIZE) && tmp_len == len) in hw_cipher_crypt() 1008 dma_in = align_malloc(tmp_len, DATA_ADDR_ALIGN_SIZE); in hw_cipher_crypt() 1014 tmp_len == len) in hw_cipher_crypt() 1017 dma_out = align_malloc(tmp_len, DATA_ADDR_ALIGN_SIZE); in hw_cipher_crypt() 1020 dst_len = tmp_len; in hw_cipher_crypt() 1028 data_desc->src_len = tmp_len; in hw_cipher_crypt() 1082 ccm_compose_aad_iv(aad_tmp, tmp_len, aad_len, tag_len); in hw_cipher_crypt() 1101 set_pc_len_reg(key_chn, tmp_len); in hw_cipher_crypt() [all …]
|
| /rk3399_rockchip-uboot/drivers/rng/ |
| H A D | rockchip_rng.c | 142 u32 reg, tmp_len; in rk_rng_read_regs() local 149 tmp_len = min(size, sizeof(u32)); in rk_rng_read_regs() 150 memcpy(buf, ®, tmp_len); in rk_rng_read_regs() 152 buf += tmp_len; in rk_rng_read_regs() 153 size -= tmp_len; in rk_rng_read_regs()
|
| /rk3399_rockchip-uboot/lib/avb/libavb/ |
| H A D | avb_sha512.c | 346 size_t new_len, rem_len, tmp_len; in avb_sha512_update() local 349 tmp_len = AVB_SHA512_BLOCK_SIZE - ctx->len; in avb_sha512_update() 350 rem_len = len < tmp_len ? len : tmp_len; in avb_sha512_update()
|
| H A D | avb_sha256.c | 355 size_t new_len, rem_len, tmp_len; in avb_sha256_update() local 358 tmp_len = AVB_SHA256_BLOCK_SIZE - ctx->len; in avb_sha256_update() 359 rem_len = len < tmp_len ? len : tmp_len; in avb_sha256_update()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | cf_spi.c | 127 int tmp_len = len - 1; in cfspi_xfer() local 128 while (tmp_len--) { in cfspi_xfer()
|
| H A D | fsl_dspi.c | 275 int tmp_len = len - 1; in dspi_xfer() local 276 while (tmp_len--) { in dspi_xfer()
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | ubifs.c | 129 size_t tmp_len = *dlen; in crypto_comp_decompress() local 137 err = compr->decompress(src, slen, dst, &tmp_len); in crypto_comp_decompress() 142 *dlen = tmp_len; in crypto_comp_decompress()
|