Lines Matching refs:data_sz
1031 void *data, uint32_t data_sz, in wrap_data_by_symm_enc() argument
1038 uint32_t in_sz = data_sz; in wrap_data_by_symm_enc()
1045 align = data_sz % TEE_AES_BLOCK_SIZE; in wrap_data_by_symm_enc()
1047 in_sz = data_sz + (TEE_AES_BLOCK_SIZE - align); in wrap_data_by_symm_enc()
1055 if (data_sz > TEE_AES_BLOCK_SIZE) { in wrap_data_by_symm_enc()
1056 in_sz = data_sz - align; in wrap_data_by_symm_enc()
1079 in_sz = data_sz; in wrap_data_by_symm_enc()
1102 uint32_t data_sz, void **out_buf, in unwrap_key_by_symm() argument
1108 if (input_data_size_is_valid(proc, PKCS11_FUNCTION_DECRYPT, data_sz)) in unwrap_key_by_symm()
1115 res = TEE_CipherDoFinal(proc->tee_op_handle, data, data_sz, in unwrap_key_by_symm()
1126 res = TEE_CipherDoFinal(proc->tee_op_handle, data, data_sz, in unwrap_key_by_symm()