Home
last modified time | relevance | path

Searched refs:EMSG (Results 1 – 25 of 51) sorted by relevance

123

/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_test/
H A Drktest_crypto.c29 EMSG("Malloc context memory FAILED!"); in handle_crypto_sha()
35 EMSG("rk_hash_begin FAILED! return value: 0x%x", res); in handle_crypto_sha()
41 EMSG("rk_hash_update FAILED! return value: 0x%x", res); in handle_crypto_sha()
47 EMSG("rk_hash_finish FAILED! return value: 0x%x", res); in handle_crypto_sha()
54 EMSG("SHA256 compare ERR!"); in handle_crypto_sha()
101 EMSG("rk_cipher_crypto FAILED! return value: 0x%x", res); in handle_crypto_aes()
111 EMSG("rk_cipher_crypto FAILED! return value: 0x%x", res); in handle_crypto_aes()
118 EMSG("AES CBC test ERR!"); in handle_crypto_aes()
128 EMSG("Malloc context memory FAILED!"); in handle_crypto_aes()
136 EMSG("rk_cipher_begin FAILED! return value: 0x%x", res); in handle_crypto_aes()
[all …]
H A Drktest_storage.c39 EMSG("CreatePersistentObject ERR: 0x%x.", res); in handle_storage()
48 EMSG("SeekObjectData ERR: 0x%x.", res); in handle_storage()
54 EMSG("WriteObjectData ERR: 0x%x.", res); in handle_storage()
65 EMSG("OpenPersistentObject ERR: 0x%x.", res); in handle_storage()
72 EMSG("ReadObjectData ERR: 0x%x.", res); in handle_storage()
79 EMSG("Read data != write data. ERR!"); in handle_storage()
H A Drktest_socket.c30 EMSG("socket open fail!"); in handle_socket()
38 EMSG("socket recv fail!"); in handle_socket()
47 EMSG("socket send fail!"); in handle_socket()
53 EMSG("socket protocol error!"); in handle_socket()
59 EMSG("socket close fail!"); in handle_socket()
H A Drktest_otp.c24 EMSG("Malloc context memory FAILED!"); in handle_otp_read()
29 EMSG("rk_otp_read failed with code 0x%x", res); in handle_otp_read()
51 EMSG("rk_otp_write failed with code 0x%x", res); in handle_otp_write()
65 EMSG("rk_otp_size failed with code 0x%x", res); in handle_otp_size()
H A Drktest_property.c23 EMSG("AllocatePropertyEnumerator ERR: 0x%x.", res); in handle_property()
35 EMSG("GetPropertyName ERR: 0x%x.", res); in handle_property()
42 EMSG("GetPropertyAsString ERR: 0x%x.", res); in handle_property()
54 EMSG("GetNextProperty ERR: 0x%x.", res); in handle_property()
H A Drktest_storage_speed.c49 EMSG("CreatePersistentObject ERR: 0x%x.", res); in handle_storage_speed()
59 EMSG("SeekObjectData ERR: 0x%x.", res); in handle_storage_speed()
67 EMSG("WriteObjectData ERR: 0x%x.", res); in handle_storage_speed()
77 EMSG("SeekObjectData ERR: 0x%x.", res); in handle_storage_speed()
85 EMSG("ReadObjectData ERR: 0x%x.", res); in handle_storage_speed()
H A Drktest_crypto_hw.c71 EMSG("TEE_OpenTASession failed\n"); in rk_user_ta_cipher()
90 EMSG("TEE_InvokeTACommand returned 0x%x\n", res); in rk_user_ta_cipher()
139 EMSG("test rk_user_ta_cipher fail! 0x%08x", res); in handle_crypto_hw()
154 EMSG("test rk_user_ta_cipher fail! 0x%08x", res); in handle_crypto_hw()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_test/
H A Drktest_crypto.c30 EMSG("Malloc context memory FAILED!"); in handle_crypto_sha()
36 EMSG("rk_hash_begin FAILED! return value: 0x%x", res); in handle_crypto_sha()
42 EMSG("rk_hash_update FAILED! return value: 0x%x", res); in handle_crypto_sha()
48 EMSG("rk_hash_finish FAILED! return value: 0x%x", res); in handle_crypto_sha()
55 EMSG("SHA256 compare ERR!"); in handle_crypto_sha()
103 EMSG("rk_cipher_crypto FAILED! return value: 0x%x", res); in handle_crypto_aes()
113 EMSG("rk_cipher_crypto FAILED! return value: 0x%x", res); in handle_crypto_aes()
120 EMSG("AES CBC test ERR!"); in handle_crypto_aes()
130 EMSG("Malloc context memory FAILED!"); in handle_crypto_aes()
138 EMSG("rk_cipher_begin FAILED! return value: 0x%x", res); in handle_crypto_aes()
[all …]
H A Drktest_storage.c39 EMSG("CreatePersistentObject ERR: 0x%x.", res); in handle_storage()
48 EMSG("SeekObjectData ERR: 0x%x.", res); in handle_storage()
54 EMSG("WriteObjectData ERR: 0x%x.", res); in handle_storage()
65 EMSG("OpenPersistentObject ERR: 0x%x.", res); in handle_storage()
72 EMSG("ReadObjectData ERR: 0x%x.", res); in handle_storage()
79 EMSG("Read data != write data. ERR!"); in handle_storage()
H A Drktest_otp.c25 EMSG("Malloc context memory FAILED!"); in handle_otp_read()
30 EMSG("rk_otp_read failed with code 0x%x", res); in handle_otp_read()
52 EMSG("rk_otp_write failed with code 0x%x", res); in handle_otp_write()
66 EMSG("rk_otp_size failed with code 0x%x", res); in handle_otp_size()
H A Drktest_storage_speed.c42 EMSG("CreatePersistentObject ERR: 0x%x.", res); in handle_storage_speed()
52 EMSG("SeekObjectData ERR: 0x%x.", res); in handle_storage_speed()
60 EMSG("WriteObjectData ERR: 0x%x.", res); in handle_storage_speed()
70 EMSG("SeekObjectData ERR: 0x%x.", res); in handle_storage_speed()
78 EMSG("ReadObjectData ERR: 0x%x.", res); in handle_storage_speed()
H A Drktest_property.c23 EMSG("AllocatePropertyEnumerator ERR: 0x%x.", res); in handle_property()
35 EMSG("GetPropertyName ERR: 0x%x.", res); in handle_property()
42 EMSG("GetPropertyAsString ERR: 0x%x.", res); in handle_property()
54 EMSG("GetNextProperty ERR: 0x%x.", res); in handle_property()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/os_test/include/
H A Dtb_asserts.h19 EMSG("Assertion failed at line %d in file:\n%s\n", \
21 EMSG("Message: %s\n", str); \
32 EMSG("Assertion failed at line %d in file:\n%s\n", \
44 EMSG("Assertion failed at line %d in file:\n%s\n", \
46 EMSG("short == 0, but size != 0\n"); \
49 EMSG("Assertion failed at line %d in file:\n%s\n", \
51 EMSG("size > 1, cannot be equal to a short.\n"); \
56 EMSG("Assertion failed at line %d in file:\n%s\n", \
58 EMSG("short == %d, but src == %d\n", (short), \
71 EMSG("Assertion failed %s != %s\n", (a), (b)); \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_public_api/
H A Drk_crypto_api.c60 EMSG("TEE_AllocateTransientObject failed with code 0x%x", res); in rk_gen_rsa_key()
66 EMSG("TEE_GenerateKey failed with code 0x%x", res); in rk_gen_rsa_key()
74 EMSG("TEE_GetObjectBufferAttribute for RSA_n failed with code 0x%x", res); in rk_gen_rsa_key()
82 EMSG("TEE_GetObjectBufferAttribute for RSA_e failed with code 0x%x", res); in rk_gen_rsa_key()
91 EMSG("TEE_GetObjectBufferAttribute for RSA_d failed with code 0x%x", res); in rk_gen_rsa_key()
100 EMSG("TEE_GetObjectBufferAttribute for RSA_p failed with code 0x%x", res); in rk_gen_rsa_key()
109 EMSG("TEE_GetObjectBufferAttribute for RSA_q failed with code 0x%x", res); in rk_gen_rsa_key()
118 EMSG("TEE_GetObjectBufferAttribute for RSA_dp failed with code 0x%x", res); in rk_gen_rsa_key()
127 EMSG("TEE_GetObjectBufferAttribute for RSA_dq failed with code 0x%x", res); in rk_gen_rsa_key()
136 EMSG("TEE_GetObjectBufferAttribute for RSA_iq failed with code 0x%x", res); in rk_gen_rsa_key()
[all …]
H A Drk_oem_otp_api.c30 EMSG("TEE_OpenTASession failed with code 0x%x origin 0x%x", in rk_otp_read()
47 EMSG("TEE_InvokeTACommand failed with code 0x%x origin 0x%x\n", in rk_otp_read()
75 EMSG("TEE_OpenTASession failed with code 0x%x origin 0x%x", in rk_otp_write()
92 EMSG("TEE_InvokeTACommand failed with code 0x%x origin 0x%x\n", in rk_otp_write()
120 EMSG("TEE_OpenTASession failed with code 0x%x origin 0x%x", in rk_otp_size()
134 EMSG("TEE_InvokeTACommand failed with code 0x%x origin 0x%x\n", in rk_otp_size()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_public_api/
H A Drk_crypto_api.c60 EMSG("TEE_AllocateTransientObject failed with code 0x%x", res); in rk_gen_rsa_key()
66 EMSG("TEE_GenerateKey failed with code 0x%x", res); in rk_gen_rsa_key()
74 EMSG("TEE_GetObjectBufferAttribute for RSA_n failed with code 0x%x", res); in rk_gen_rsa_key()
82 EMSG("TEE_GetObjectBufferAttribute for RSA_e failed with code 0x%x", res); in rk_gen_rsa_key()
91 EMSG("TEE_GetObjectBufferAttribute for RSA_d failed with code 0x%x", res); in rk_gen_rsa_key()
100 EMSG("TEE_GetObjectBufferAttribute for RSA_p failed with code 0x%x", res); in rk_gen_rsa_key()
109 EMSG("TEE_GetObjectBufferAttribute for RSA_q failed with code 0x%x", res); in rk_gen_rsa_key()
118 EMSG("TEE_GetObjectBufferAttribute for RSA_dp failed with code 0x%x", res); in rk_gen_rsa_key()
127 EMSG("TEE_GetObjectBufferAttribute for RSA_dq failed with code 0x%x", res); in rk_gen_rsa_key()
136 EMSG("TEE_GetObjectBufferAttribute for RSA_iq failed with code 0x%x", res); in rk_gen_rsa_key()
[all …]
H A Drk_oem_otp_api.c28 EMSG("TEE_OpenTASession failed with code 0x%x origin 0x%x", in rk_otp_read()
46 EMSG("TEE_InvokeTACommand failed with code 0x%x origin 0x%x\n", in rk_otp_read()
71 EMSG("TEE_OpenTASession failed with code 0x%x origin 0x%x", in rk_otp_write()
89 EMSG("TEE_InvokeTACommand failed with code 0x%x origin 0x%x\n", in rk_otp_write()
114 EMSG("TEE_OpenTASession failed with code 0x%x origin 0x%x", in rk_otp_size()
128 EMSG("TEE_InvokeTACommand failed with code 0x%x origin 0x%x\n", in rk_otp_size()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/
H A Dmbedtls_taf.c45 EMSG("mbedtls_%s_self_test: failed", #x); \ in ta_entry_mbedtls_self_tests()
88 EMSG("mbedtls_x509_crt_parse: failed: %#x", ret); in ta_entry_mbedtls_check_cert()
95 EMSG("mbedtls_x509_crt_parse: failed: %#x", ret); in ta_entry_mbedtls_check_cert()
103 EMSG("mbedtls_x509_crt_verify: failed: %#x", ret); in ta_entry_mbedtls_check_cert()
133 EMSG("mbedtls_x509write_crt_pem: failed: %#x", ret); in write_cert()
153 EMSG("mbedtls_x509write_crt_pem: failed: %#x", ret); in write_cert()
173 EMSG("mbedtls_x509_crt_parse: failed: %#x", ret); in parse_issuer_cert()
193 EMSG("mbedtls_pk_parse_key: failed: %#x", ret); in parse_issuer_key()
235 EMSG("mbedtls_mpi_read_string: failed: %#x", ret); in ta_entry_mbedtls_sign_cert()
243 EMSG("mbedtls_x509_csr_parse: failed: %#x", ret); in ta_entry_mbedtls_sign_cert()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/os_test/
H A Dos_test.c41 EMSG("From line %d (property name=%s): return_res=0x%x vs expected_res=0x%x", in check_returned_prop()
47 EMSG("From line %d (property name=%s): return_len=%u vs expected_res=%u", in check_returned_prop()
60 EMSG("Size error (size=%zu, bblen=%zu)", size, bblen); in check_binprop_ones()
64 EMSG("Unexpected content"); in check_binprop_ones()
85 EMSG("TEE_GetPropertyAsBinaryBlock() size query returned 0x%x", in get_binblock_property()
96 EMSG("TEE_GetPropertyAsBinaryBlock(\"%s\") returned 0x%x", in get_binblock_property()
127 EMSG("TEE_GetPropertyName returned 0x%x\n", in print_properties()
132 EMSG("Name has wrong size: %u vs %zu", nblen, strlen(nbuf) + 1); in print_properties()
175 EMSG("String of \"%s\" differs\n", nbuf); in print_properties()
208 EMSG("TEE_GetPropertyAsString(\"%s\") is truncated - returned \"%s\"\n", in print_properties()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/sdp_basic/
H A Dta_sdp_basic.c35 EMSG("bad parameters %x", (unsigned)types); in cmd_inject()
56 EMSG("TEE_CheckMemoryAccessRights(nsec) failed %x", rc); in cmd_inject()
66 EMSG("TEE_CheckMemoryAccessRights(secure) failed %x", rc); in cmd_inject()
81 EMSG("TEE_CacheFlush(%p, %x) failed: 0x%x", in cmd_inject()
97 EMSG("TEE_CacheFlush(%p, %x) failed: 0x%x", in cmd_inject()
135 EMSG("TEE_CheckMemoryAccessRights(secure) failed %x", rc); in cmd_transform()
150 EMSG("TEE_CacheFlush(%p, %x) failed: 0x%x", in cmd_transform()
167 EMSG("TEE_CacheFlush(%p, %x) failed: 0x%x", in cmd_transform()
207 EMSG("TEE_CheckMemoryAccessRights(nsec) failed %x", rc); in cmd_dump()
217 EMSG("TEE_CheckMemoryAccessRights(secure) failed %x", rc); in cmd_dump()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/storage_benchmark/
H A Dbenchmark.c79 EMSG("Failed to create persistent object, res=0x%08x", in prepare_test_file()
93 EMSG("Failed to write data, res=0x%08x", res); in prepare_test_file()
125 EMSG("Failed to write data, res=0x%08x", res); in test_write()
167 EMSG("Failed to read data, res=0x%08x", res); in test_read()
213 EMSG("Failed to read data, res=0x%08x", res); in test_rewrite()
218 EMSG("Partial data read, bytes=%u", read_bytes); in test_rewrite()
227 EMSG("Failed to seek to previous offset"); in test_rewrite()
234 EMSG("Failed to write data, res=0x%08x", res); in test_rewrite()
262 EMSG("Failed to seek to offset 0"); in verify_file_data()
275 EMSG("Failed to read data, res=0x%08x", res); in verify_file_data()
[all …]
/OK3568_Linux_fs/buildroot/package/rockchip/tee-user-app/extra_app/ta/
H A Dkeybox.c118 EMSG("rk_get_trng failed with code 0x%x", res); in TA_InvokeCommandEntryPoint()
156 EMSG("rk_get_trng failed with code 0x%x", res); in TA_InvokeCommandEntryPoint()
163 EMSG("OpenPersistentObject ERR: 0x%x.", res); in TA_InvokeCommandEntryPoint()
170 EMSG("ReadObjectData ERR: 0x%x.", res); in TA_InvokeCommandEntryPoint()
204 EMSG("SeekObjectData ERR: 0x%x.", res); in TA_InvokeCommandEntryPoint()
210 EMSG("WriteObjectData ERR: 0x%x.", res); in TA_InvokeCommandEntryPoint()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/socket/
H A Dta_entry.c57 EMSG("got param_types 0x%x, expected 0x%x", in ta_entry_tcp_open()
96 EMSG("got param_types 0x%x, expected 0x%x", in ta_entry_udp_open()
132 EMSG("got param_types 0x%x, expected 0x%x", in ta_entry_close()
154 EMSG("got param_types 0x%x, expected 0x%x", in ta_entry_send()
178 EMSG("got param_types 0x%x, expected 0x%x", in ta_entry_recv()
201 EMSG("got param_types 0x%x, expected 0x%x", in ta_entry_error()
224 EMSG("got param_types 0x%x, expected 0x%x", in ta_entry_ioctl()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/tpm_log_test/
H A Dta_entry.c68 EMSG("PCRIndex must be 0"); in test_with_right_parameters()
81 EMSG("EventType must be 3 (EV_NO_ACTION)"); in test_with_right_parameters()
93 EMSG("Digest byte %i must be 0", i); in test_with_right_parameters()
128 EMSG("Buf is expected to be all zeroed"); in test_short_buffer()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/storage/
H A Dstorage.c434 EMSG("Failed to Allocate transient object handle : 0x%x", in ta_storage_cmd_key_in_persistent()
441 EMSG("Failed to generate a transient key: 0x%x", result); in ta_storage_cmd_key_in_persistent()
451 EMSG("Failed to create a persistent key: 0x%x", result); in ta_storage_cmd_key_in_persistent()
458 EMSG("keyInfo and keyInfo2 are different"); in ta_storage_cmd_key_in_persistent()
468 EMSG("Failed to open persistent key: 0x%x", result); in ta_storage_cmd_key_in_persistent()
475 EMSG("keyInfo2 and keyInfo3 are different"); in ta_storage_cmd_key_in_persistent()
482 EMSG("Failed to allocate an operation: 0x%x", result); in ta_storage_cmd_key_in_persistent()
488 EMSG("Failed to set operation key: 0x%x", result); in ta_storage_cmd_key_in_persistent()
494 EMSG("Out of memory for IV."); in ta_storage_cmd_key_in_persistent()
536 EMSG("FAIL"); in ta_storage_cmd_loop()
[all …]

123