Home
last modified time | relevance | path

Searched refs:CRYPTO_TRACE (Results 1 – 12 of 12) sorted by relevance

/optee_os/core/drivers/crypto/crypto_api/acipher/
A Decc.c60 CRYPTO_TRACE("Algo 0x%" PRIx32 " curve 0x%" PRIx32 in algo_is_valid()
84 CRYPTO_TRACE("ECC Public Key free"); in ecc_free_public_key()
105 CRYPTO_TRACE("Parameters error key is NULL"); in ecc_generate_keypair()
142 CRYPTO_TRACE("Input parameters reference error"); in ecc_sign()
155 CRYPTO_TRACE("Length (%zu) too short expected %zu bytes", in ecc_sign()
162 CRYPTO_TRACE("Parameter \"sig\" reference error"); in ecc_sign()
214 CRYPTO_TRACE("Input parameters reference error"); in ecc_verify()
227 CRYPTO_TRACE("Length (%zu) is invalid expected %zu bytes", in ecc_verify()
272 CRYPTO_TRACE("Input parameters reference error"); in ecc_shared_secret()
292 CRYPTO_TRACE("Parameter \"secret\" reference error"); in ecc_shared_secret()
[all …]
A Drsa.c65 CRYPTO_TRACE("RSA Public Key free"); in crypto_acipher_free_rsa_public_key()
78 CRYPTO_TRACE("RSA Keypair free"); in crypto_acipher_free_rsa_keypair()
115 CRYPTO_TRACE("Parameters error (key @%p)\n" in crypto_acipher_rsanopad_decrypt()
154 CRYPTO_TRACE("Parameters error (key @%p)\n" in crypto_acipher_rsanopad_encrypt()
209 CRYPTO_TRACE("Parameters error (key @%p)\n" in crypto_acipher_rsaes_decrypt()
269 CRYPTO_TRACE("Parameters error (key @%p\n" in crypto_acipher_rsaes_encrypt()
353 CRYPTO_TRACE("Input parameters reference error"); in crypto_acipher_rsassa_sign()
390 CRYPTO_TRACE("Parameter \"sig\" reference error"); in crypto_acipher_rsassa_sign()
418 CRYPTO_TRACE("Encode signature algo (0x%" PRIx32 in crypto_acipher_rsassa_sign()
435 CRYPTO_TRACE("Input parameters reference error"); in crypto_acipher_rsassa_verify()
[all …]
A Ddsa.c46 CRYPTO_TRACE("Param error key @0x%" PRIxPTR " size %zu bits", in crypto_acipher_alloc_dsa_keypair()
74 CRYPTO_TRACE("Param error key @0x%" PRIxPTR " size %zu bits", in crypto_acipher_alloc_dsa_public_key()
88 CRYPTO_TRACE("DSA Public Key (%zu bits) alloc ret = 0x%" PRIx32, in crypto_acipher_alloc_dsa_public_key()
101 CRYPTO_TRACE("Param error key @0x%" PRIxPTR " size %zu bits", in crypto_acipher_gen_dsa_key()
115 CRYPTO_TRACE("DSA Keypair (%zu bits) generate ret = 0x%" PRIx32, in crypto_acipher_gen_dsa_key()
132 CRYPTO_TRACE("Input parameters reference error"); in crypto_acipher_dsa_sign()
146 CRYPTO_TRACE("Length (%zu) too short expected %zu bytes", in crypto_acipher_dsa_sign()
153 CRYPTO_TRACE("Parameter \"sig\" reference error"); in crypto_acipher_dsa_sign()
175 CRYPTO_TRACE("Sign algo (0x%" PRIx32 ") returned 0x%" PRIx32, algo, in crypto_acipher_dsa_sign()
192 CRYPTO_TRACE("Input parameters reference error"); in crypto_acipher_dsa_verify()
[all …]
A Ddh.c19 CRYPTO_TRACE("Param error key @%#" PRIxPTR " size %zu bits", in crypto_acipher_alloc_dh_keypair()
28 CRYPTO_TRACE("DH Keypair (%zu bits) alloc ret = 0x%" PRIx32, size_bits, in crypto_acipher_alloc_dh_keypair()
40 CRYPTO_TRACE("Parameters error key is NULL"); in crypto_acipher_gen_dh_key()
51 CRYPTO_TRACE("DH Keypair (%zu bits) generate ret = 0x%" PRIx32, in crypto_acipher_gen_dh_key()
67 CRYPTO_TRACE("Input parameters reference error"); in crypto_acipher_dh_shared_secret()
94 CRYPTO_TRACE("Shared Secret returned 0x%" PRIx32, ret); in crypto_acipher_dh_shared_secret()
A Drsassa.c52 CRYPTO_TRACE("PS size = %zu (n %zu)", ps_size, ssa_data->key.n_size); in emsa_pkcs1_v1_5_encode()
353 CRYPTO_TRACE("PS Len = %zu, DB Len = %zu, M' Len = %zu", ps_size, in emsa_pss_encode()
388 CRYPTO_TRACE("Get salt of %zu bytes (ret = 0x%08" PRIx32 ")", in emsa_pss_encode()
407 CRYPTO_TRACE("H = hash(M') returned 0x%08" PRIx32, ret); in emsa_pss_encode()
556 CRYPTO_TRACE("rigthmost octet != 0xbc (0x%" PRIX8 ")", in emsa_pss_verify()
568 CRYPTO_TRACE("Error leftmost octet maskedDB not 0's"); in emsa_pss_verify()
569 CRYPTO_TRACE("EM[0] = 0x%" PRIX8 in emsa_pss_verify()
696 CRYPTO_TRACE("H' = hash(M') returned 0x%08" PRIx32, ret); in emsa_pss_verify()
755 CRYPTO_TRACE("EMSA PSS Encode returned 0x%08" PRIx32, ret); in rsassa_pss_sign()
853 CRYPTO_TRACE("EMSA PSS Verify returned 0x%08" PRIx32, ret); in rsassa_pss_verify()
[all …]
A Drsamgf.c25 CRYPTO_TRACE("Generate Mask (%zu bytes) with seed of %zu bytes", in drvcrypt_rsa_mgf1()
45 CRYPTO_TRACE("Nb Loop (%zu bytes) = %zu, last Block = %zu bytes", in drvcrypt_rsa_mgf1()
72 CRYPTO_TRACE("Last Block = %zu bytes", lastBlock_size); in drvcrypt_rsa_mgf1()
103 CRYPTO_TRACE("return 0x%08" PRIx32, ret); in drvcrypt_rsa_mgf1()
/optee_os/core/drivers/crypto/crypto_api/authenc/
A Dauthenc.c85 CRYPTO_TRACE("One of the key is not correct"); in authenc_init()
86 CRYPTO_TRACE("key @%p-%zu bytes", key, key_len); in authenc_init()
107 CRYPTO_TRACE("authenc ret 0x%" PRIx32, ret); in authenc_init()
125 CRYPTO_TRACE("Bad data @%p-%zu bytes", data, len); in authenc_update_aad()
139 CRYPTO_TRACE("authenc ret 0x%" PRIx32, ret); in authenc_update_aad()
160 CRYPTO_TRACE("Destination buffer error"); in authenc_update_payload()
165 CRYPTO_TRACE("Bad data @%p-%zu bytes", data, len); in authenc_update_payload()
182 CRYPTO_TRACE("authenc ret 0x%" PRIx32, ret); in authenc_update_payload()
231 CRYPTO_TRACE("authenc ret 0x%" PRIx32, ret); in authenc_enc_final()
259 CRYPTO_TRACE("Bad data @%p-%zu bytes", data, len); in authenc_dec_final()
[all …]
/optee_os/core/drivers/crypto/crypto_api/cipher/
A Dcipher.c83 CRYPTO_TRACE("One of the key is not correct"); in cipher_init()
84 CRYPTO_TRACE("key1 @%p-%zu bytes", key1, key1_len); in cipher_init()
85 CRYPTO_TRACE("key2 @%p-%zu bytes", key1, key1_len); in cipher_init()
86 CRYPTO_TRACE("iv @%p-%zu bytes", iv, iv_len); in cipher_init()
105 CRYPTO_TRACE("cipher ret 0x%" PRIX32, ret); in cipher_init()
125 CRYPTO_TRACE("Destination buffer error"); in cipher_update()
130 CRYPTO_TRACE("Bad data data @%p-%zu bytes", data, len); in cipher_update()
147 CRYPTO_TRACE("cipher ret 0x%" PRIX32, ret); in cipher_update()
178 CRYPTO_TRACE("Cipher alloc_ctx algo 0x%" PRIX32, algo); in drvcrypt_cipher_alloc_ctx()
197 CRYPTO_TRACE("Cipher alloc_ctx ret 0x%" PRIX32, ret); in drvcrypt_cipher_alloc_ctx()
/optee_os/core/drivers/crypto/crypto_api/
A Ddrvcrypt.c16 CRYPTO_TRACE("Registering module id %d with 0x%p", algo_id, in drvcrypt_register()
22 CRYPTO_TRACE("Fail to register module id %d with 0x%p", algo_id, ops); in drvcrypt_register()
28 CRYPTO_TRACE("Change registered module id %d with 0x%p", algo_id, ops); in drvcrypt_register_change()
/optee_os/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt.h23 #define CRYPTO_TRACE DMSG macro
25 #define CRYPTO_TRACE(...) macro
32 CRYPTO_TRACE("%s @%p: %zu", title, _buf, _len); \
/optee_os/core/drivers/crypto/crypto_api/hash/
A Dhash.c18 CRYPTO_TRACE("hash alloc_ctx algo 0x%" PRIX32, algo); in drvcrypt_hash_alloc_ctx()
27 CRYPTO_TRACE("hash alloc_ctx ret 0x%" PRIX32, ret); in drvcrypt_hash_alloc_ctx()
/optee_os/core/drivers/crypto/crypto_api/mac/
A Dmac.c19 CRYPTO_TRACE("mac alloc_ctx algo 0x%" PRIX32, algo); in drvcrypt_mac_alloc_ctx()
31 CRYPTO_TRACE("mac alloc_ctx ret 0x%" PRIX32, ret); in drvcrypt_mac_alloc_ctx()

Completed in 15 milliseconds