Home
last modified time | relevance | path

Searched refs:TEE_U32_TO_BIG_ENDIAN (Results 1 – 16 of 16) sorted by relevance

/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Drsamgf.c50 swapcount = TEE_U32_TO_BIG_ENDIAN(counter); in drvcrypt_rsa_mgf1()
74 swapcount = TEE_U32_TO_BIG_ENDIAN(counter); in drvcrypt_rsa_mgf1()
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_io.h18 #define io_caam_write32(a, val) io_write32(a, TEE_U32_TO_BIG_ENDIAN(val))
/optee_os/core/tee/
H A Dtee_cryp_concat_kdf.c38 be_count = TEE_U32_TO_BIG_ENDIAN(i); in tee_cryp_concat_kdf()
H A Dtee_cryp_pbkdf2.c49 be_index = TEE_U32_TO_BIG_ENDIAN(idx); in pbkdf2_f()
H A Dtee_svc_cryp.c698 field = TEE_U32_TO_BIG_ENDIAN(v); in op_u32_to_binary_helper()
2130 uint32_t e = TEE_U32_TO_BIG_ENDIAN(65537); in tee_svc_obj_generate_key_rsa()
/optee_os/core/drivers/crypto/stm32/
H A Dauthenc.c61 iv[3] = TEE_U32_TO_BIG_ENDIAN(2); in stm32_ae_gcm_generate_iv()
103 iv[3] = TEE_U32_TO_BIG_ENDIAN(TEE_U32_FROM_BIG_ENDIAN(iv[3]) + 1); in stm32_ae_gcm_generate_iv()
120 j0[3] = TEE_U32_TO_BIG_ENDIAN(1); in stm32_ae_gcm_generate_iv()
H A Dstm32_saes.c633 TEE_U32_TO_BIG_ENDIAN(key_u32[3 - i]); in stm32_saes_init()
644 TEE_U32_TO_BIG_ENDIAN(key_u32[7 - i]); in stm32_saes_init()
682 ctx->iv[i] = TEE_U32_TO_BIG_ENDIAN(iv_u32[3 - i]); in stm32_saes_init()
1254 index_be = TEE_U32_TO_BIG_ENDIAN(index); in stm32_saes_kdf()
1264 index_be = TEE_U32_TO_BIG_ENDIAN(index); in stm32_saes_kdf()
1324 subkey_bitlen = TEE_U32_TO_BIG_ENDIAN(subkey_len * INT8_BIT); in huk_subkey_derive()
H A Dstm32_cryp.c751 ctx->key[i] = TEE_U32_TO_BIG_ENDIAN(key_u32[i]); in stm32_cryp_init()
763 ctx->iv[i] = TEE_U32_TO_BIG_ENDIAN(iv_u32[i]); in stm32_cryp_init()
/optee_os/core/include/
H A Dio.h97 *(uint32_t *)p = TEE_U32_TO_BIG_ENDIAN(val); in put_be32()
161 tmp->x = TEE_U32_TO_BIG_ENDIAN(val); in put_unaligned_be32()
/optee_os/core/drivers/
H A Dversal_trng.c425 trng->dfin.val2 = TEE_U32_TO_BIG_ENDIAN(TRNG_PERS_STR_LEN); in trng_df_algorithm()
427 trng->dfin.val2 = TEE_U32_TO_BIG_ENDIAN(TRNG_GEN_LEN); in trng_df_algorithm()
436 trng->dfin.val1 = TEE_U32_TO_BIG_ENDIAN(trng->len); in trng_df_algorithm()
447 trng->dfin.val1 = TEE_U32_TO_BIG_ENDIAN(trng->len + in trng_df_algorithm()
469 trng->dfin.ivc[0] = TEE_U32_TO_BIG_ENDIAN(index / BLK_SIZE); in trng_df_algorithm()
639 p[index] = TEE_U32_TO_BIG_ENDIAN(val); in trng_collect_random()
/optee_os/core/arch/arm/kernel/
H A Dboot.c701 val[0] = TEE_U32_TO_BIG_ENDIAN(itr_type); in add_optee_dt_node()
702 val[1] = TEE_U32_TO_BIG_ENDIAN(itr_id); in add_optee_dt_node()
703 val[2] = TEE_U32_TO_BIG_ENDIAN(itr_trigger); in add_optee_dt_node()
/optee_os/lib/libutee/include/
H A Dutee_defines.h315 #define TEE_U32_TO_BIG_ENDIAN(x) TEE_U32_BSWAP(x) macro
/optee_os/core/pta/stm32mp/
H A Dremoteproc_pta.c238 uint32_t e = TEE_U32_TO_BIG_ENDIAN(rproc_pub_key_exponent); in rproc_pta_verify_rsa_signature()
/optee_os/core/crypto/
H A Dsigned_hdr.c74 uint32_t e = TEE_U32_TO_BIG_ENDIAN(ta_pub_key_exponent); in shdr_verify_signature()
/optee_os/core/drivers/imx/dcp/
H A Ddcp.c258 val = TEE_U32_TO_BIG_ENDIAN(key[i]); in dcp_store_key()
/optee_os/core/pta/
H A Dattestation.c54 uint32_t e = TEE_U32_TO_BIG_ENDIAN(65537); in generate_key()