Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 75) sorted by relevance

123

/optee_os/core/lib/zlib/
A Dinffast.c114 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 Dinftrees.c119 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/core/tee/
A Dtee_fs_rpc.c49 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/core/drivers/crypto/crypto_api/authenc/
A Dauthenc.c40 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/core/drivers/crypto/crypto_api/cipher/
A Dcipher.c40 if (cipher->op && cipher->op->free_ctx) in cipher_free_ctx()
41 cipher->op->free_ctx(cipher->ctx); in cipher_free_ctx()
58 if (cipher_src->op && cipher_src->op->copy_state) in cipher_copy_state()
90 if (cipher->op && cipher->op->init) { in cipher_init()
102 ret = cipher->op->init(&dinit); in cipher_init()
134 if (cipher->op && cipher->op->update) { in cipher_update()
144 ret = cipher->op->update(&dupdate); in cipher_update()
160 if (cipher->op && cipher->op->final) in cipher_final()
161 cipher->op->final(cipher->ctx); in cipher_final()
186 cipher->op = drvcrypt_get_ops(CRYPTO_CIPHER); in drvcrypt_cipher_alloc_ctx()
[all …]
/optee_os/core/kernel/
A Dpm.c62 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 Dldelf_syscalls.c22 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/lib/libutee/
A Dtee_api_operations.c272 op = TEE_Malloc(sizeof(*op), TEE_MALLOC_FILL_ZERO); in TEE_AllocateOperation()
273 if (!op) in TEE_AllocateOperation()
329 (unsigned long)op->key2, &op->state); in TEE_AllocateOperation()
355 if (op) { in TEE_AllocateOperation()
904 if (op->buffer_offs < op->block_size) in tee_buffer_update()
905 l = MIN(slen, op->block_size - op->buffer_offs); in tee_buffer_update()
908 memcpy(op->buffer + op->buffer_offs, src, l); in tee_buffer_update()
912 if ((op->buffer_offs % op->block_size) != 0) in tee_buffer_update()
934 memcpy(op->buffer, op->buffer + l, buffer_size - l); in tee_buffer_update()
935 memcpy(op->buffer + op->buffer_offs, src, slen); in tee_buffer_update()
[all …]
A Dtee_api_arith_mpi.c237 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/core/include/tee/
A Dtee_fs_rpc.h34 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 Dtadb.h37 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 Dfs_htree.h89 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);
/optee_os/core/pta/tests/
A Dfs_htree.c103 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/out/arm/export-ta_arm32/host_include/
A Dfs_htree.h89 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 Dtee_api.h370 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal);
372 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op,
385 void TEE_BigIntNeg(TEE_BigInt *dest, const TEE_BigInt *op);
390 void TEE_BigIntSquare(TEE_BigInt *dest, const TEE_BigInt *op);
397 void TEE_BigIntMod(TEE_BigInt *dest, const TEE_BigInt *op,
409 void TEE_BigIntSquareMod(TEE_BigInt *dest, const TEE_BigInt *op,
412 void TEE_BigIntInvMod(TEE_BigInt *dest, const TEE_BigInt *op,
423 int32_t TEE_BigIntIsProbablePrime(const TEE_BigInt *op,
/optee_os/out/arm/export-ta_arm64/host_include/
A Dfs_htree.h89 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 Dtee_api.h370 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal);
372 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op,
385 void TEE_BigIntNeg(TEE_BigInt *dest, const TEE_BigInt *op);
390 void TEE_BigIntSquare(TEE_BigInt *dest, const TEE_BigInt *op);
397 void TEE_BigIntMod(TEE_BigInt *dest, const TEE_BigInt *op,
409 void TEE_BigIntSquareMod(TEE_BigInt *dest, const TEE_BigInt *op,
412 void TEE_BigIntInvMod(TEE_BigInt *dest, const TEE_BigInt *op,
423 int32_t TEE_BigIntIsProbablePrime(const TEE_BigInt *op,
/optee_os/core/arch/arm/crypto/
A Dsha1_armv8a_ce_a64.S33 .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 Dsha1_armv8a_ce_a32.S33 .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/out/arm/export-ta_arm64/include/
A Dtee_api.h370 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal);
372 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op,
385 void TEE_BigIntNeg(TEE_BigInt *dest, const TEE_BigInt *op);
390 void TEE_BigIntSquare(TEE_BigInt *dest, const TEE_BigInt *op);
397 void TEE_BigIntMod(TEE_BigInt *dest, const TEE_BigInt *op,
409 void TEE_BigIntSquareMod(TEE_BigInt *dest, const TEE_BigInt *op,
412 void TEE_BigIntInvMod(TEE_BigInt *dest, const TEE_BigInt *op,
423 int32_t TEE_BigIntIsProbablePrime(const TEE_BigInt *op,
/optee_os/lib/libutee/include/
A Dtee_api.h370 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal);
372 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op,
385 void TEE_BigIntNeg(TEE_BigInt *dest, const TEE_BigInt *op);
390 void TEE_BigIntSquare(TEE_BigInt *dest, const TEE_BigInt *op);
397 void TEE_BigIntMod(TEE_BigInt *dest, const TEE_BigInt *op,
409 void TEE_BigIntSquareMod(TEE_BigInt *dest, const TEE_BigInt *op,
412 void TEE_BigIntInvMod(TEE_BigInt *dest, const TEE_BigInt *op,
423 int32_t TEE_BigIntIsProbablePrime(const TEE_BigInt *op,
/optee_os/out/arm/export-ta_arm32/include/
A Dtee_api.h370 int32_t TEE_BigIntCmpS32(const TEE_BigInt *op, int32_t shortVal);
372 void TEE_BigIntShiftRight(TEE_BigInt *dest, const TEE_BigInt *op,
385 void TEE_BigIntNeg(TEE_BigInt *dest, const TEE_BigInt *op);
390 void TEE_BigIntSquare(TEE_BigInt *dest, const TEE_BigInt *op);
397 void TEE_BigIntMod(TEE_BigInt *dest, const TEE_BigInt *op,
409 void TEE_BigIntSquareMod(TEE_BigInt *dest, const TEE_BigInt *op,
412 void TEE_BigIntInvMod(TEE_BigInt *dest, const TEE_BigInt *op,
423 int32_t TEE_BigIntIsProbablePrime(const TEE_BigInt *op,
/optee_os/core/arch/arm/tee/
A Dsvc_cache.c12 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()
/optee_os/
A DMAINTAINERS36 R: Linaro <op-tee@linaro.org> [@OP-TEE/linaro]
42 R: Linaro <op-tee@linaro.org> [@OP-TEE/linaro]
105 R: Linaro <op-tee@linaro.org> [@OP-TEE/linaro]
110 R: Linaro <op-tee@linaro.org> [@OP-TEE/linaro]
116 R: Linaro <op-tee@linaro.org> [@OP-TEE/linaro]
196 R: Linaro <op-tee@linaro.org> [@OP-TEE/linaro]
201 R: Linaro <op-tee@linaro.org> [@OP-TEE/linaro]
221 R: Linaro <op-tee@linaro.org> [@OP-TEE/linaro]
226 R: Rockchip <op-tee@rock-chips.com>
233 R: Linaro <op-tee@linaro.org> [@OP-TEE/linaro]
[all …]
/optee_os/scripts/
A Dcheckpatch.sh34 op=${1:---working}
35 case "$op" in

Completed in 25 milliseconds

123