/optee_os-3.20.0/core/lib/zlib/ |
A D | inffast.c | 114 hold >>= op; 115 bits -= op; 116 op = (unsigned)(here->op); 126 if (op) { 132 hold >>= op; 133 bits -= op; 145 hold >>= op; 146 bits -= op; 147 op = (unsigned)(here->op); 168 bits -= op; [all …]
|
A D | inftrees.c | 119 here.op = (unsigned char)64; /* invalid code marker */ 219 here.op = (unsigned char)0; 223 here.op = (unsigned char)(extra[work[sym] - match]); 227 here.op = (unsigned char)(32 + 64); /* end of block */ 285 (*table)[low].op = (unsigned char)curr; 295 here.op = (unsigned char)64; /* invalid code marker */
|
/optee_os-3.20.0/core/tee/ |
A D | tee_fs_rpc.c | 49 return thread_rpc_cmd(op->id, op->num_params, op->params); in operation_commit() 56 struct tee_fs_rpc_operation op = { }; in operation_open_dfh() local 71 op = (struct tee_fs_rpc_operation){ in operation_open_dfh() 78 res = operation_commit(&op); in operation_open_dfh() 80 *fd = op.params[2].u.value.a; in operation_open_dfh() 102 struct tee_fs_rpc_operation op = { in tee_fs_rpc_close() local 108 return operation_commit(&op); in tee_fs_rpc_close() 181 return operation_commit(op); in tee_fs_rpc_write_final() 186 struct tee_fs_rpc_operation op = { in tee_fs_rpc_truncate() local 193 return operation_commit(&op); in tee_fs_rpc_truncate() [all …]
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/cipher/ |
A D | cipher.c | 39 if (cipher->op && cipher->op->free_ctx) in cipher_free_ctx() 40 cipher->op->free_ctx(cipher->ctx); in cipher_free_ctx() 57 if (cipher_src->op && cipher_src->op->copy_state) in cipher_copy_state() 89 if (cipher->op && cipher->op->init) { in cipher_init() 101 ret = cipher->op->init(&dinit); in cipher_init() 133 if (cipher->op && cipher->op->update) { in cipher_update() 143 ret = cipher->op->update(&dupdate); in cipher_update() 159 if (cipher->op && cipher->op->final) in cipher_final() 160 cipher->op->final(cipher->ctx); in cipher_final() 185 cipher->op = drvcrypt_get_ops(CRYPTO_CIPHER); in drvcrypt_cipher_alloc_ctx() [all …]
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/authenc/ |
A D | authenc.c | 40 if (authenc->op && authenc->op->free_ctx) in authenc_free_ctx() 41 authenc->op->free_ctx(authenc->ctx); in authenc_free_ctx() 58 if (authenc_src->op && authenc_src->op->copy_state) in authenc_copy_state() 91 if (authenc->op && authenc->op->init) { in authenc_init() 104 ret = authenc->op->init(&dinit); in authenc_init() 129 if (authenc->op && authenc->op->update_aad) { in authenc_update_aad() 169 if (authenc->op && authenc->op->update_payload) { in authenc_update_payload() 215 if (authenc->op && authenc->op->enc_final) { in authenc_enc_final() 263 if (authenc->op && authenc->op->dec_final) { in authenc_dec_final() 290 if (authenc->op && authenc->op->final) in authenc_final() [all …]
|
/optee_os-3.20.0/core/kernel/ |
A D | pm.c | 62 static TEE_Result do_pm_callback(enum pm_op op, uint32_t pm_hint, in do_pm_callback() argument 66 bool suspending = op == PM_OP_SUSPEND; in do_pm_callback() 73 res = hdl->callback(op, pm_hint, hdl); in do_pm_callback() 88 static TEE_Result call_callbacks(enum pm_op op, uint32_t pm_hint, in call_callbacks() argument 99 if (op == PM_OP_SUSPEND) in call_callbacks() 106 res = do_pm_callback(op, pm_hint, hdl); in call_callbacks() 111 if (op == PM_OP_SUSPEND) in call_callbacks() 120 TEE_Result pm_change_state(enum pm_op op, uint32_t pm_hint) in pm_change_state() argument 125 switch (op) { in pm_change_state() 128 res = call_callbacks(op, pm_hint, cnt); in pm_change_state() [all …]
|
A D | ldelf_syscalls.c | 22 const struct ts_store_ops *op; member 92 if (binh->op && binh->h) in bin_close() 93 binh->op->close(binh->h); in bin_close() 140 SCATTERED_ARRAY_FOREACH(binh->op, ta_stores, in ldelf_syscall_open_bin() 143 (void *)uuid, binh->op->description); in ldelf_syscall_open_bin() 145 res = binh->op->open(uuid, &binh->h); in ldelf_syscall_open_bin() 152 SCATTERED_ARRAY_FOREACH(binh->op, sp_stores, in ldelf_syscall_open_bin() 155 (void *)uuid, binh->op->description); in ldelf_syscall_open_bin() 157 res = binh->op->open(uuid, &binh->h); in ldelf_syscall_open_bin() 209 res = binh->op->read(binh->h, NULL, in ldelf_syscall_close_bin() [all …]
|
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_operations.c | 280 op = TEE_Malloc(sizeof(*op), TEE_MALLOC_FILL_ZERO); in TEE_AllocateOperation() 281 if (!op) in TEE_AllocateOperation() 337 (unsigned long)op->key2, &op->state); in TEE_AllocateOperation() 363 if (op) { in TEE_AllocateOperation() 912 if (op->buffer_offs < op->block_size) in tee_buffer_update() 913 l = MIN(slen, op->block_size - op->buffer_offs); in tee_buffer_update() 916 memcpy(op->buffer + op->buffer_offs, src, l); in tee_buffer_update() 920 if ((op->buffer_offs % op->block_size) != 0) in tee_buffer_update() 942 memcpy(op->buffer, op->buffer + l, buffer_size - l); in tee_buffer_update() 943 memcpy(op->buffer + op->buffer_offs, src, slen); in tee_buffer_update() [all …]
|
A D | tee_api_arith_mpi.c | 237 get_mpi(&mpi, op); in TEE_BigIntCmpS32() 253 if (dest == op) { in TEE_BigIntShiftRight() 258 get_mpi(&mpi_op, op); in TEE_BigIntShiftRight() 453 void TEE_BigIntSquare(TEE_BigInt *dest, const TEE_BigInt *op) in TEE_BigIntSquare() argument 455 TEE_BigIntMul(dest, op, op); in TEE_BigIntSquare() 506 bigint_binary(dest, op, n, mbedtls_mpi_mod_mpi); in TEE_BigIntMod() 530 TEE_BigIntMulMod(dest, op, op, n); in TEE_BigIntSquareMod() 547 if (op == dest) in TEE_BigIntInvMod() 550 get_mpi(&mpi_op, op); in TEE_BigIntInvMod() 762 int32_t TEE_BigIntIsProbablePrime(const TEE_BigInt *op, in TEE_BigIntIsProbablePrime() argument [all …]
|
/optee_os-3.20.0/core/include/tee/ |
A D | tee_fs_rpc.h | 34 TEE_Result tee_fs_rpc_read_init(struct tee_fs_rpc_operation *op, 37 TEE_Result tee_fs_rpc_read_final(struct tee_fs_rpc_operation *op, 40 TEE_Result tee_fs_rpc_write_init(struct tee_fs_rpc_operation *op, 43 TEE_Result tee_fs_rpc_write_final(struct tee_fs_rpc_operation *op);
|
A D | tadb.h | 37 TEE_Result (*read_init)(struct tee_fs_rpc_operation *op, int fd, 39 TEE_Result (*read_final)(struct tee_fs_rpc_operation *op, 42 TEE_Result (*write_init)(struct tee_fs_rpc_operation *op, int fd, 44 TEE_Result (*write_final)(struct tee_fs_rpc_operation *op);
|
A D | fs_htree.h | 89 TEE_Result (*rpc_read_init)(void *aux, struct tee_fs_rpc_operation *op, 92 TEE_Result (*rpc_read_final)(struct tee_fs_rpc_operation *op, 94 TEE_Result (*rpc_write_init)(void *aux, struct tee_fs_rpc_operation *op, 97 TEE_Result (*rpc_write_final)(struct tee_fs_rpc_operation *op);
|
A D | cache.h | 10 TEE_Result cache_operation(enum utee_cache_operation op, void *va, size_t len);
|
A D | svc_cache.h | 12 TEE_Result syscall_cache_operation(void *va, size_t len, unsigned long op);
|
/optee_os-3.20.0/core/arch/arm/crypto/ |
A D | sha1_armv8a_ce_a64.S | 33 .macro add_only, op, ev, rc, s0, dg1 38 sha1\op dg0q, \dg1, t0.4s 40 sha1\op dg0q, dg1s, t0.4s 47 sha1\op dg0q, dg2s, t1.4s 51 .macro add_update, op, ev, rc, s0, s1, s2, s3, dg1 53 add_only \op, \ev, \rc, \s1, \dg1
|
A D | sha1_armv8a_ce_a32.S | 33 .macro add_only, op, ev, rc, s0, dg1 39 sha1\op\().32 dg0, dg1a\ev, ta\ev 41 sha1\op\().32 dg0, \dg1, ta\ev 45 .macro add_update, op, ev, rc, s0, s1, s2, s3, dg1 47 add_only \op, \ev, \rc, \s1, \dg1
|
/optee_os-3.20.0/core/arch/arm/tee/ |
A D | svc_cache.c | 12 TEE_Result syscall_cache_operation(void *va, size_t len, unsigned long op) in syscall_cache_operation() argument 37 return cache_operation(op, va, len); in syscall_cache_operation()
|
A D | cache.c | 18 TEE_Result cache_operation(enum utee_cache_operation op, void *va, size_t len) in cache_operation() argument 27 switch (op) { in cache_operation()
|
/optee_os-3.20.0/scripts/ |
A D | checkpatch.sh | 34 op=${1:---working} 35 case "$op" in
|
/optee_os-3.20.0/core/pta/tests/ |
A D | fs_htree.c | 103 memset(op, 0, sizeof(*op)); in test_read_init() 104 op->params[0].u.value.a = (vaddr_t)aux; in test_read_init() 105 op->params[0].u.value.b = offs; in test_read_init() 106 op->params[0].u.value.c = sz; in test_read_init() 121 struct test_aux *a = uint_to_ptr(op->params[0].u.value.a); in test_read_final() 122 size_t offs = op->params[0].u.value.b; in test_read_final() 123 size_t sz = op->params[0].u.value.c; in test_read_final() 140 return test_read_init(aux, op, type, idx, vers, data); in test_write_init() 145 struct test_aux *a = uint_to_ptr(op->params[0].u.value.a); in test_write_final() 146 size_t offs = op->params[0].u.value.b; in test_write_final() [all …]
|
/optee_os-3.20.0/core/drivers/ |
A D | zynqmp_pm.c | 102 static TEE_Result efuse_op(enum efuse_op op, uint8_t *buf, size_t buf_sz, in efuse_op() argument 132 if (op == EFUSE_WRITE) in efuse_op() 139 efuse_op->flag = op; in efuse_op() 157 if (op == EFUSE_READ) { in efuse_op()
|
/optee_os-3.20.0/core/arch/arm/mm/ |
A D | core_mmu.c | 64 TEE_Result cache_op_inner(enum cache_op op, void *va, size_t len) in cache_op_inner() argument 66 switch (op) { in cache_op_inner() 98 TEE_Result cache_op_outer(enum cache_op op, paddr_t pa, size_t len) in cache_op_outer() argument 104 switch (op) { in cache_op_outer()
|
/optee_os-3.20.0/core/include/kernel/ |
A D | pm.h | 65 typedef TEE_Result (*pm_callback)(enum pm_op op, uint32_t pm_hint, 167 TEE_Result pm_change_state(enum pm_op op, uint32_t pm_hint);
|
/optee_os-3.20.0/core/arch/arm/include/mm/ |
A D | core_mmu_arch.h | 186 TEE_Result cache_op_inner(enum cache_op op, void *va, size_t len); 188 TEE_Result cache_op_outer(enum cache_op op, paddr_t pa, size_t len); 190 static inline TEE_Result cache_op_outer(enum cache_op op __unused, in cache_op_outer()
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | cache_helpers_a64.S | 28 .macro do_dcache_maintenance_by_mva op 33 loop_\op: 34 dc \op, x0 37 b.lo loop_\op
|