Home
last modified time | relevance | path

Searched refs:out_size (Results 1 – 19 of 19) sorted by relevance

/optee_os/ta/pkcs11/src/
A Dprocessing_digest.c115 uint32_t out_size = 0; in step_digest_operation() local
129 out_size = params[2].memref.size; in step_digest_operation()
130 if (out_size && !out_buf) in step_digest_operation()
206 &out_size); in step_digest_operation()
210 params[2].memref.size = out_size; in step_digest_operation()
A Dprocessing_symm.c725 uint32_t out_size = 0; in step_symm_operation() local
748 out_size = params[2].memref.size; in step_symm_operation()
749 if (out_size && !out_buf) in step_symm_operation()
828 out_buf, &out_size); in step_symm_operation()
861 &out_size); in step_symm_operation()
893 if (out_size < hmac_len) { in step_symm_operation()
895 out_size = hmac_len; in step_symm_operation()
912 out_size = hmac_len; in step_symm_operation()
963 out_buf, &out_size); in step_symm_operation()
1014 *out_size = in_size; in derive_key_by_symm_enc()
[all …]
A Dprocessing_asymm.c418 uint32_t out_size = 0; in step_asymm_operation() local
442 out_size = params[2].memref.size; in step_asymm_operation()
443 if (out_size && !out_buf) in step_asymm_operation()
669 out_buf, &out_size); in step_asymm_operation()
680 out_buf, &out_size); in step_asymm_operation()
692 out_buf, &out_size); in step_asymm_operation()
734 out_buf, &out_size); in step_asymm_operation()
764 params[2].memref.size = out_size; in step_asymm_operation()
A Dprocessing.c811 uint32_t out_size = 0; in entry_processing_key() local
971 &out_size); in entry_processing_key()
975 &out_buf, &out_size); in entry_processing_key()
987 rc = set_key_data(&head, out_buf, out_size); in entry_processing_key()
1094 uint32_t out_size = params[2].memref.size; in entry_wrap_key() local
1098 (out_size && !out_buf)) in entry_wrap_key()
1236 &out_size); in entry_wrap_key()
1242 params[2].memref.size = out_size; in entry_wrap_key()
A Dpersistent_token.c340 size_t out_size = *size; in get_persistent_objects_list() local
344 if (out_size < *size) in get_persistent_objects_list()
A Dpkcs11_token.c242 const size_t out_size = sizeof(token_id) * TOKEN_COUNT; in entry_ck_slot_list() local
249 if (out->memref.size < out_size) { in entry_ck_slot_list()
250 out->memref.size = out_size; in entry_ck_slot_list()
262 out->memref.size = out_size; in entry_ck_slot_list()
/optee_os/core/drivers/scmi-msg/
A Dentry.c18 assert(msg->out && msg->out_size >= sizeof(int32_t)); in scmi_status_response()
31 assert(payload && size >= sizeof(int32_t) && size <= msg->out_size && in scmi_write_response()
32 msg->out && msg->out_size >= sizeof(int32_t)); in scmi_write_response()
A Dsmt.c136 msg.out_size = chan->shm_size - sizeof(*smt_hdr); in scmi_process_smt()
138 assert(msg.out && msg.out_size >= sizeof(int32_t)); in scmi_process_smt()
A Dcommon.h79 size_t out_size; member
A Dbase.c150 assert(msg->out_size > sizeof(outargs)); in discover_list_protocols()
/optee_os/core/drivers/
A Dstm32_rng.c156 size_t out_size = 0; in stm32_rng_read() local
165 while (out_size < size) { in stm32_rng_read()
167 size_t sz = size - out_size; in stm32_rng_read()
178 out_size += sz; in stm32_rng_read()
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dnist_kw.h138 unsigned char *output, size_t* out_len, size_t out_size );
165 unsigned char *output, size_t* out_len, size_t out_size);
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dnist_kw.h138 unsigned char *output, size_t* out_len, size_t out_size );
165 unsigned char *output, size_t* out_len, size_t out_size);
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dnist_kw.h138 unsigned char *output, size_t* out_len, size_t out_size );
165 unsigned char *output, size_t* out_len, size_t out_size);
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dnist_kw.h138 unsigned char *output, size_t* out_len, size_t out_size );
165 unsigned char *output, size_t* out_len, size_t out_size);
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dnist_kw.h138 unsigned char *output, size_t* out_len, size_t out_size );
165 unsigned char *output, size_t* out_len, size_t out_size);
/optee_os/lib/libmbedtls/mbedtls/library/
A Dnist_kw.c183 unsigned char *output, size_t *out_len, size_t out_size ) in mbedtls_nist_kw_wrap() argument
199 if( out_size < in_len + KW_SEMIBLOCK_LENGTH ) in mbedtls_nist_kw_wrap()
227 if( out_size < in_len + KW_SEMIBLOCK_LENGTH + padlen ) in mbedtls_nist_kw_wrap()
387 unsigned char *output, size_t *out_len, size_t out_size ) in mbedtls_nist_kw_unwrap() argument
395 if( out_size < in_len - KW_SEMIBLOCK_LENGTH ) in mbedtls_nist_kw_unwrap()
/optee_os/core/tee/
A Dfs_htree.c509 size_t out_size = len; in authenc_decrypt_final() local
511 res = crypto_authenc_dec_final(ctx, crypt, len, plain, &out_size, tag, in authenc_decrypt_final()
516 if (res == TEE_SUCCESS && out_size != len) in authenc_decrypt_final()
529 size_t out_size = len; in authenc_encrypt_final() local
532 res = crypto_authenc_enc_final(ctx, plain, len, crypt, &out_size, tag, in authenc_encrypt_final()
538 (out_size != len || out_tag_size != TEE_FS_HTREE_TAG_SIZE)) in authenc_encrypt_final()
A Dtee_fs_key_manager.c170 static TEE_Result sha256(uint8_t *out, size_t out_size, const uint8_t *in, in sha256() argument
174 out, out_size); in sha256()

Completed in 25 milliseconds