/optee_os-3.20.0/core/drivers/crypto/caam/include/ |
A D | caam_acipher.h | 19 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 D | caam_jr.h | 68 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 D | caam_cipher.h | 18 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 D | caam_hash.h | 18 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 D | caam_utils_mem.h | 62 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 D | caam_hal_jr.h | 20 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 D | caam_rng.h | 15 enum caam_status caam_rng_init(vaddr_t ctrl_addr); 18 enum caam_status caam_rng_instantiation(void);
|
A D | caam_blob.h | 16 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 D | caam_hal_rng.h | 19 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 D | caam_utils_status.h | 25 TEE_Result caam_status_to_tee_result(enum caam_status status);
|
A D | caam_status.h | 14 enum caam_status { enum
|
A D | caam_utils_sgt.h | 74 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 D | caam_jr.c | 96 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 D | caam_rng.c | 70 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 D | local.h | 29 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 D | caam_dh.c | 57 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 D | caam_math.c | 28 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 D | caam_ecc.c | 59 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 D | hal_cfg.c | 17 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 D | utils_mem.c | 93 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 D | caam_blob.c | 23 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 D | hal_rng.c | 11 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 D | hal_jr.c | 23 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 D | hal_jr.c | 23 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 D | hal_jr.c | 24 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()
|