| /optee_os/ta/pkcs11/src/ |
| H A D | token_capabilities.c | 465 *min_key_size = ROUNDUP_DIV(*min_key_size, 8); in mechanism_supported_key_sizes_bytes() 466 *max_key_size = ROUNDUP_DIV(*max_key_size, 8); in mechanism_supported_key_sizes_bytes()
|
| H A D | pkcs11_attributes.c | 1827 key_length = ROUNDUP_DIV(key_length, 8); in check_created_attrs() 2560 size = ROUNDUP_DIV(mbedtls_mpi_bitlen(&n), 8); in set_private_key_data_rsa() 2578 size = ROUNDUP_DIV(mbedtls_mpi_bitlen(&e), 8); in set_private_key_data_rsa() 2594 size = ROUNDUP_DIV(mbedtls_mpi_bitlen(&d), 8); in set_private_key_data_rsa() 2610 size = ROUNDUP_DIV(mbedtls_mpi_bitlen(&p), 8); in set_private_key_data_rsa() 2626 size = ROUNDUP_DIV(mbedtls_mpi_bitlen(&q), 8); in set_private_key_data_rsa()
|
| H A D | processing_aes.c | 495 tag_len = ROUNDUP_DIV(tag_bitlen, 8); in tee_init_gcm_operation()
|
| H A D | processing_rsa.c | 104 k = ROUNDUP_DIV(modulus_size, 8); in pkcs2tee_validate_rsa_pss()
|
| /optee_os/core/drivers/crypto/caam/ae/ |
| H A D | caam_ae_gcm.c | 120 counter_value = processed_blocks + ROUNDUP_DIV(input_length, 16); in caam_ae_do_block_gcm()
|
| /optee_os/core/arch/arm/mm/ |
| H A D | sp_mem.c | 72 return ROUNDUP_DIV(ms->mobj.size, SMALL_PAGE_SIZE); in get_page_count()
|
| H A D | mobj_ffa.c | 277 return ROUNDUP_DIV(mf->mobj.size, SMALL_PAGE_SIZE); in get_page_count()
|
| /optee_os/core/drivers/crypto/crypto_api/acipher/ |
| H A D | rsassa.c | 751 EM.length = ROUNDUP_DIV(modBits, 8); in rsassa_pss_sign() 826 EM.length = ROUNDUP_DIV(modBits, 8); in rsassa_pss_verify()
|
| /optee_os/core/drivers/ |
| H A D | stm32_bsec.c | 589 return ROUNDUP_DIV(upper_count, BSEC_BITS_PER_WORD); in nsec_access_array_size() 752 ROUNDUP_DIV(reg_offset + reg_size, in bsec_dt_otp_nsec_access()
|
| /optee_os/lib/libutils/ext/include/ |
| H A D | util.h | 136 #define ROUNDUP_DIV(x, y) (ROUNDUP((x), (y)) / (__typeof__(x))(y)) macro
|
| /optee_os/core/drivers/crypto/hisilicon/ |
| H A D | sec_pbkdf2.c | 173 t_num = ROUNDUP_DIV(dk_len, hash_len); in sec_pbkdf2_dk_iteration_check()
|
| /optee_os/core/pta/ |
| H A D | system.c | 167 f = fobj_ta_mem_alloc(ROUNDUP_DIV(num_bytes, SMALL_PAGE_SIZE)); in system_map_zi()
|
| /optee_os/core/drivers/clk/ |
| H A D | clk-stm32-core.c | 332 return ROUNDUP_DIV((uint64_t)prate, div); in stm32_div_get_rate()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | mpi_desc.c | 149 return ROUNDUP_DIV(mbedtls_mpi_size(a), sizeof(mbedtls_mpi_uint)); in get_digit_count()
|
| /optee_os/core/kernel/ |
| H A D | ldelf_loader.c | 34 size_t num_pgs = ROUNDUP_DIV(sz, SMALL_PAGE_SIZE); in alloc_and_map_fobj()
|
| H A D | ldelf_syscalls.c | 64 f = fobj_ta_mem_alloc(ROUNDUP_DIV(num_bytes, SMALL_PAGE_SIZE)); in ldelf_syscall_map_zi()
|
| /optee_os/core/drivers/imx/dcp/ |
| H A D | dcp.c | 302 nb_blocks = ROUNDUP_DIV(input_size, DCP_AES128_BLOCK_SIZE); in dcp_cmac()
|
| /optee_os/core/mm/ |
| H A D | fobj.c | 381 num_fobj_pages = ROUNDUP_DIV(num_pool_pages * sizeof(*rwp_state_base), in rwp_init()
|
| /optee_os/core/tee/ |
| H A D | tee_rpmb_fs.c | 1327 blkcnt = ROUNDUP_DIV(len + byte_offset, RPMB_DATA_SIZE); in tee_rpmb_read() 1537 uint16_t blkcnt = ROUNDUP_DIV(len + byte_offset, RPMB_DATA_SIZE); in tee_rpmb_write_is_atomic() 1563 blkcnt = ROUNDUP_DIV(len + byte_offset, RPMB_DATA_SIZE); in tee_rpmb_write()
|
| H A D | tee_ree_fs.c | 287 ROUNDUP_DIV(new_file_len, BLOCK_SIZE), 1, in ree_fs_ftruncate_internal()
|
| /optee_os/core/drivers/crypto/caam/acipher/ |
| H A D | caam_ecc.c | 289 d.sec_size = ROUNDUP_DIV(key_size, 8); in do_gen_keypair()
|
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | stm32_hash.c | 725 i < ROUNDUP_DIV(c->remain.len, sizeof(uint32_t)); in stm32_hash_final()
|
| H A D | stm32_pka.c | 35 #define OP_NBW_FROM_LEN(len) (ROUNDUP_DIV((len), INT64_LEN) + 1)
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | stmm_sp.c | 194 size_t num_pgs = ROUNDUP_DIV(sz, SMALL_PAGE_SIZE); in alloc_and_map_sp_fobj()
|
| H A D | secure_partition.c | 1368 page_count = ROUNDUP_DIV(log_size, SMALL_PAGE_SIZE); in handle_tpm_event_log()
|