Home
last modified time | relevance | path

Searched refs:size_bytes (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Decc.c168 size_t size_bytes = 0; in ecc_sign() local
179 size_bytes = get_ecc_key_size_bytes(key->curve); in ecc_sign()
180 if (!size_bytes) in ecc_sign()
184 if (*sig_len < 2 * size_bytes) { in ecc_sign()
186 *sig_len, 2 * size_bytes); in ecc_sign()
187 *sig_len = 2 * size_bytes; in ecc_sign()
203 sdata.size_sec = size_bytes; in ecc_sign()
240 size_t size_bytes = 0; in ecc_verify() local
251 size_bytes = get_ecc_key_size_bytes(key->curve); in ecc_verify()
252 if (!size_bytes) in ecc_verify()
[all …]
/optee_os/core/lib/libtomcrypt/
H A Decc.c36 size_t size_bytes = 0; in ecc_get_curve_info() local
52 size_bytes = 24; in ecc_get_curve_info()
60 size_bytes = 28; in ecc_get_curve_info()
68 size_bytes = 32; in ecc_get_curve_info()
76 size_bytes = 48; in ecc_get_curve_info()
84 size_bytes = 66; in ecc_get_curve_info()
92 size_bytes = 32; in ecc_get_curve_info()
104 *key_size_bytes = size_bytes; in ecc_get_curve_info()
/optee_os/core/kernel/
H A Dldelf_syscalls.c27 size_t size_bytes; member
191 res = binh->op->get_size(binh->h, &binh->size_bytes); in ldelf_syscall_open_bin()
233 if (binh->offs_bytes < binh->size_bytes) in ldelf_syscall_close_bin()
235 binh->size_bytes - binh->offs_bytes); in ldelf_syscall_close_bin()
268 if (next_offs > binh->size_bytes) { in binh_copy_to()
269 size_t rb = binh->size_bytes - binh->offs_bytes; in binh_copy_to()
283 binh->offs_bytes = binh->size_bytes; in binh_copy_to()
/optee_os/core/drivers/crypto/se050/core/
H A Decc.c696 static TEE_Result do_gen_keypair(struct ecc_keypair *key, size_t size_bytes) in do_gen_keypair() argument
698 return gen_keypair(key, size_bytes); in do_gen_keypair()