Home
last modified time | relevance | path

Searched refs:caam_status (Results 1 – 25 of 45) sorted by relevance

12

/optee_os-3.20.0/core/drivers/crypto/caam/include/
A Dcaam_acipher.h19 enum caam_status caam_rsa_init(struct caam_jrcfg *caam_jrcfg);
21 static inline enum caam_status
34 enum caam_status caam_dh_init(struct caam_jrcfg *caam_jrcfg);
36 static inline enum caam_status
49 enum caam_status caam_math_init(struct caam_jrcfg *caam_jrcfg);
51 static inline enum caam_status
64 enum caam_status caam_ecc_init(struct caam_jrcfg *caam_jrcfg);
66 static inline enum caam_status
79 enum caam_status caam_dsa_init(struct caam_jrcfg *caam_jrcfg);
81 static inline enum caam_status
A Dcaam_jr.h68 enum caam_status caam_jr_init(struct caam_jrcfg *jrcfg);
85 enum caam_status caam_jr_dequeue(uint32_t job_ids, unsigned int timeout_ms);
96 enum caam_status caam_jr_enqueue(struct caam_jobctx *jobctx, uint32_t *job_id);
102 enum caam_status caam_jr_halt(void);
105 enum caam_status caam_jr_flush(void);
115 enum caam_status caam_jr_complete(void);
A Dcaam_cipher.h18 enum caam_status caam_cipher_init(vaddr_t ctrl_addr);
20 static inline enum caam_status caam_cipher_init(vaddr_t ctrl_addr __unused) in caam_cipher_init()
31 enum caam_status caam_cmac_init(vaddr_t ctrl_addr);
33 static inline enum caam_status caam_cmac_init(vaddr_t ctrl_addr __unused) in caam_cmac_init()
A Dcaam_hash.h18 enum caam_status caam_hash_init(struct caam_jrcfg *caam_jrcfg);
20 static inline enum caam_status
33 enum caam_status caam_hmac_init(struct caam_jrcfg *caam_jrcfg);
35 static inline enum caam_status
A Dcaam_utils_mem.h62 enum caam_status caam_calloc_buf(struct caambuf *buf, size_t size);
70 enum caam_status caam_alloc_buf(struct caambuf *buf, size_t size);
79 enum caam_status caam_calloc_align_buf(struct caambuf *buf, size_t size);
87 enum caam_status caam_alloc_align_buf(struct caambuf *buf, size_t size);
104 enum caam_status caam_cpy_block_src(struct caamblock *block,
A Dcaam_hal_jr.h20 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset,
29 enum caam_status caam_hal_jr_reset(vaddr_t baseaddr);
97 enum caam_status caam_hal_jr_halt(vaddr_t baseaddr);
104 enum caam_status caam_hal_jr_flush(vaddr_t baseaddr);
A Dcaam_rng.h15 enum caam_status caam_rng_init(vaddr_t ctrl_addr);
18 enum caam_status caam_rng_instantiation(void);
A Dcaam_blob.h16 enum caam_status caam_blob_mkvb_init(vaddr_t baseaddr);
18 static inline enum caam_status caam_blob_mkvb_init(vaddr_t baseaddr __unused) in caam_blob_mkvb_init()
A Dcaam_hal_rng.h19 enum caam_status caam_hal_rng_instantiated(vaddr_t baseaddr);
48 enum caam_status caam_hal_rng_kick(vaddr_t baseaddr, uint32_t inc_delay);
A Dcaam_utils_status.h25 TEE_Result caam_status_to_tee_result(enum caam_status status);
A Dcaam_status.h14 enum caam_status { enum
A Dcaam_utils_sgt.h74 enum caam_status caam_sgtbuf_alloc(struct caamsgtbuf *data);
129 enum caam_status caam_sgt_derive(struct caamsgtbuf *sgt,
/optee_os-3.20.0/core/drivers/crypto/caam/
A Dcaam_jr.c96 enum caam_status retstatus = CAAM_OUT_MEMORY; in do_jr_alloc()
292 enum caam_status retstatus = CAAM_BUSY; in do_jr_enqueue()
450 enum caam_status retstatus = CAAM_FAILURE; in caam_jr_enqueue()
534 enum caam_status caam_jr_init(struct caam_jrcfg *jrcfg) in caam_jr_init()
536 enum caam_status retstatus = CAAM_FAILURE; in caam_jr_init()
600 enum caam_status caam_jr_halt(void) in caam_jr_halt()
602 enum caam_status retstatus = CAAM_FAILURE; in caam_jr_halt()
617 enum caam_status caam_jr_flush(void) in caam_jr_flush()
619 enum caam_status retstatus = CAAM_FAILURE; in caam_jr_flush()
671 enum caam_status caam_jr_complete(void) in caam_jr_complete()
[all …]
A Dcaam_rng.c70 static enum caam_status do_allocate(void) in do_allocate()
188 static enum caam_status do_rng_start(struct rngdata *rng) in do_rng_start()
190 enum caam_status ret = CAAM_FAILURE; in do_rng_start()
213 static enum caam_status do_check_data(void) in do_check_data()
215 enum caam_status ret = CAAM_FAILURE; in do_check_data()
336 static enum caam_status caam_rng_init_data(void) in caam_rng_init_data()
338 enum caam_status retstatus = CAAM_FAILURE; in caam_rng_init_data()
422 enum caam_status caam_rng_instantiation(void) in caam_rng_instantiation()
424 enum caam_status retstatus = CAAM_FAILURE; in caam_rng_instantiation()
536 enum caam_status caam_rng_init(vaddr_t ctrl_addr) in caam_rng_init()
[all …]
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/
A Dlocal.h29 enum caam_status caam_prime_rsa_gen(struct prime_data_rsa *data);
46 enum caam_status caam_prime_dsa_gen(struct prime_data_dsa *data);
A Dcaam_dh.c57 static enum caam_status do_keypair_conv_p_g(struct caam_dh_keypair *outkey, in do_keypair_conv_p_g()
60 enum caam_status retstatus = CAAM_OUT_MEMORY; in do_keypair_conv_p_g()
95 static enum caam_status do_keypriv_conv(struct caam_dh_keypair *outkey, in do_keypriv_conv()
98 enum caam_status retstatus = CAAM_OUT_MEMORY; in do_keypriv_conv()
133 static enum caam_status do_keypub_conv(struct caam_dh_keypair *outkey, in do_keypub_conv()
136 enum caam_status retstatus = CAAM_OUT_MEMORY; in do_keypub_conv()
220 enum caam_status retstatus = CAAM_FAILURE; in do_gen_keypair()
381 enum caam_status retstatus = CAAM_FAILURE; in do_shared_secret()
483 enum caam_status caam_dh_init(struct caam_jrcfg *caam_jrcfg) in caam_dh_init()
485 enum caam_status retstatus = CAAM_FAILURE; in caam_dh_init()
A Dcaam_math.c28 enum caam_status retstatus = CAAM_FAILURE; in do_xor_mod_n()
117 enum caam_status caam_math_init(struct caam_jrcfg *caam_jrcfg) in caam_math_init()
119 enum caam_status retstatus = CAAM_FAILURE; in caam_math_init()
A Dcaam_ecc.c59 static enum caam_status do_keypub_conv(struct caam_ecc_keypair *outkey, in do_keypub_conv()
63 enum caam_status retstatus = CAAM_OUT_MEMORY; in do_keypub_conv()
94 static enum caam_status do_keypair_conv(struct caam_ecc_keypair *outkey, in do_keypair_conv()
98 enum caam_status retstatus = CAAM_OUT_MEMORY; in do_keypair_conv()
232 enum caam_status retstatus = CAAM_FAILURE; in do_gen_keypair()
331 enum caam_status retstatus = CAAM_FAILURE; in do_sign()
465 enum caam_status retstatus = CAAM_FAILURE; in do_verify()
599 enum caam_status retstatus = CAAM_FAILURE; in do_shared_secret()
706 enum caam_status caam_ecc_init(struct caam_jrcfg *caam_jrcfg) in caam_ecc_init()
708 enum caam_status retstatus = CAAM_FAILURE; in caam_ecc_init()
/optee_os-3.20.0/core/drivers/crypto/caam/hal/common/
A Dhal_cfg.c17 enum caam_status caam_hal_cfg_get_conf(struct caam_jrcfg *jrcfg) in caam_hal_cfg_get_conf()
19 enum caam_status retstatus = CAAM_FAILURE; in caam_hal_cfg_get_conf()
75 enum caam_status status = CAAM_FAILURE; in caam_hal_cfg_setup_nsjobring()
/optee_os-3.20.0/core/drivers/crypto/caam/utils/
A Dutils_mem.c93 static enum caam_status mem_alloc_buf(struct caambuf *buf, size_t size, in mem_alloc_buf()
144 enum caam_status caam_alloc_buf(struct caambuf *buf, size_t size) in caam_alloc_buf()
149 enum caam_status caam_calloc_buf(struct caambuf *buf, size_t size) in caam_calloc_buf()
154 enum caam_status caam_calloc_align_buf(struct caambuf *buf, size_t size) in caam_calloc_align_buf()
159 enum caam_status caam_alloc_align_buf(struct caambuf *buf, size_t size) in caam_alloc_align_buf()
198 enum caam_status caam_cpy_block_src(struct caamblock *block, in caam_cpy_block_src()
201 enum caam_status ret = CAAM_FAILURE; in caam_cpy_block_src()
/optee_os-3.20.0/core/drivers/crypto/caam/blob/
A Dcaam_blob.c23 enum caam_status caam_blob_mkvb_init(vaddr_t baseaddr) in caam_blob_mkvb_init()
26 enum caam_status res = CAAM_NO_ERROR; in caam_blob_mkvb_init()
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_8q/
A Dhal_rng.c11 enum caam_status caam_hal_rng_instantiated(vaddr_t baseaddr __unused) in caam_hal_rng_instantiated()
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_8m/
A Dhal_jr.c23 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset, in caam_hal_jr_setowner()
26 enum caam_status retstatus = CAAM_FAILURE; in caam_hal_jr_setowner()
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_6_7/
A Dhal_jr.c23 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset, in caam_hal_jr_setowner()
26 enum caam_status retstatus = CAAM_FAILURE; in caam_hal_jr_setowner()
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_8ulp/
A Dhal_jr.c24 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset, in caam_hal_jr_setowner()
27 enum caam_status retstatus = CAAM_FAILURE; in caam_hal_jr_setowner()

Completed in 19 milliseconds

12