Home
last modified time | relevance | path

Searched refs:ROUNDUP_DIV (Results 1 – 25 of 26) sorted by relevance

12

/optee_os/ta/pkcs11/src/
H A Dtoken_capabilities.c465 *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 Dpkcs11_attributes.c1827 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 Dprocessing_aes.c495 tag_len = ROUNDUP_DIV(tag_bitlen, 8); in tee_init_gcm_operation()
H A Dprocessing_rsa.c104 k = ROUNDUP_DIV(modulus_size, 8); in pkcs2tee_validate_rsa_pss()
/optee_os/core/drivers/crypto/caam/ae/
H A Dcaam_ae_gcm.c120 counter_value = processed_blocks + ROUNDUP_DIV(input_length, 16); in caam_ae_do_block_gcm()
/optee_os/core/arch/arm/mm/
H A Dsp_mem.c72 return ROUNDUP_DIV(ms->mobj.size, SMALL_PAGE_SIZE); in get_page_count()
H A Dmobj_ffa.c277 return ROUNDUP_DIV(mf->mobj.size, SMALL_PAGE_SIZE); in get_page_count()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Drsassa.c751 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 Dstm32_bsec.c589 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 Dutil.h136 #define ROUNDUP_DIV(x, y) (ROUNDUP((x), (y)) / (__typeof__(x))(y)) macro
/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_pbkdf2.c173 t_num = ROUNDUP_DIV(dk_len, hash_len); in sec_pbkdf2_dk_iteration_check()
/optee_os/core/pta/
H A Dsystem.c167 f = fobj_ta_mem_alloc(ROUNDUP_DIV(num_bytes, SMALL_PAGE_SIZE)); in system_map_zi()
/optee_os/core/drivers/clk/
H A Dclk-stm32-core.c332 return ROUNDUP_DIV((uint64_t)prate, div); in stm32_div_get_rate()
/optee_os/core/lib/libtomcrypt/
H A Dmpi_desc.c149 return ROUNDUP_DIV(mbedtls_mpi_size(a), sizeof(mbedtls_mpi_uint)); in get_digit_count()
/optee_os/core/kernel/
H A Dldelf_loader.c34 size_t num_pgs = ROUNDUP_DIV(sz, SMALL_PAGE_SIZE); in alloc_and_map_fobj()
H A Dldelf_syscalls.c64 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 Ddcp.c302 nb_blocks = ROUNDUP_DIV(input_size, DCP_AES128_BLOCK_SIZE); in dcp_cmac()
/optee_os/core/mm/
H A Dfobj.c381 num_fobj_pages = ROUNDUP_DIV(num_pool_pages * sizeof(*rwp_state_base), in rwp_init()
/optee_os/core/tee/
H A Dtee_rpmb_fs.c1327 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 Dtee_ree_fs.c287 ROUNDUP_DIV(new_file_len, BLOCK_SIZE), 1, in ree_fs_ftruncate_internal()
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_ecc.c289 d.sec_size = ROUNDUP_DIV(key_size, 8); in do_gen_keypair()
/optee_os/core/drivers/crypto/stm32/
H A Dstm32_hash.c725 i < ROUNDUP_DIV(c->remain.len, sizeof(uint32_t)); in stm32_hash_final()
H A Dstm32_pka.c35 #define OP_NBW_FROM_LEN(len) (ROUNDUP_DIV((len), INT64_LEN) + 1)
/optee_os/core/arch/arm/kernel/
H A Dstmm_sp.c194 size_t num_pgs = ROUNDUP_DIV(sz, SMALL_PAGE_SIZE); in alloc_and_map_sp_fobj()
H A Dsecure_partition.c1368 page_count = ROUNDUP_DIV(log_size, SMALL_PAGE_SIZE); in handle_tpm_event_log()

12