Searched refs:rk_handle (Results 1 – 13 of 13) sorted by relevance
| /OK3568_Linux_fs/external/security/librkcrypto/include/ |
| H A D | rkcrypto_core.h | 13 RK_RES rk_cipher_init(const rk_cipher_config *config, rk_handle *handle); 14 RK_RES rk_cipher_crypt(rk_handle handle, int in_fd, int out_fd, uint32_t len); 15 RK_RES rk_cipher_crypt_virt(rk_handle handle, const uint8_t *in, uint8_t *out, uint32_t len); 16 RK_RES rk_cipher_final(rk_handle handle); 18 RK_RES rk_ae_init(const rk_ae_config *config, rk_handle *handle); 19 RK_RES rk_ae_set_aad(rk_handle handle, int aad_fd); 20 RK_RES rk_ae_set_aad_virt(rk_handle handle, uint8_t *aad_virt); 21 RK_RES rk_ae_crypt(rk_handle handle, int in_fd, int out_fd, uint32_t len, uint8_t *tag); 22 RK_RES rk_ae_crypt_virt(rk_handle handle, const uint8_t *in, uint8_t *out, uint32_t len, 24 RK_RES rk_ae_final(rk_handle handle); [all …]
|
| H A D | rkcrypto_common.h | 11 typedef uint32_t rk_handle; typedef
|
| /OK3568_Linux_fs/external/security/librkcrypto/src/ |
| H A D | rkcrypto_core.c | 307 const void *config, void *priv, rk_handle *handle) in rk_create_session() 330 static RK_RES rk_destroy_session(rk_handle handle) in rk_destroy_session() 456 RK_RES rk_cipher_init(const rk_cipher_config *config, rk_handle *handle) in rk_cipher_init() 482 RK_RES rk_cipher_crypt(rk_handle handle, int in_fd, int out_fd, uint32_t len) in rk_cipher_crypt() 525 RK_RES rk_cipher_crypt_virt(rk_handle handle, const uint8_t *in, uint8_t *out, uint32_t len) in rk_cipher_crypt_virt() 568 RK_RES rk_cipher_final(rk_handle handle) in rk_cipher_final() 575 RK_RES rk_ae_init(const rk_ae_config *config, rk_handle *handle) in rk_ae_init() 610 static RK_RES ae_set_aad(rk_handle handle, int aad_fd, uint8_t *aad_virt) in ae_set_aad() 631 RK_RES rk_ae_set_aad(rk_handle handle, int aad_fd) in rk_ae_set_aad() 636 RK_RES rk_ae_set_aad_virt(rk_handle handle, uint8_t *aad_virt) in rk_ae_set_aad_virt() [all …]
|
| H A D | rkcrypto_rsa_helper.c | 498 rk_handle hash_hdl = 0; in calc_padding_digest() 541 rk_handle hash_hdl; in mgf_mask() 864 rk_handle hash_hdl; in rsa_padding_add_pss_type() 972 rk_handle hash_hdl; in rk_rsa_padding_check_pss_type()
|
| /OK3568_Linux_fs/external/security/librkcrypto/demo/ |
| H A D | demo_hash.c | 44 rk_handle hash_hdl = 0; in demo_hash() 105 rk_handle hash_hdl = 0; in demo_hash_virt() 168 rk_handle hash_hdl = 0; in demo_hmac() 230 rk_handle hash_hdl = 0; in demo_hmac_virt()
|
| H A D | demo_cipher.c | 35 rk_handle handle = 0; in demo_cipher() 133 rk_handle handle = 0; in demo_cipher_virt()
|
| H A D | demo_ae.c | 70 rk_handle handle = 0; in demo_ae() 201 rk_handle handle = 0; in demo_ae_virt()
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/ |
| H A D | test_hash.c | 52 rk_handle hash_hdl = 0; in test_hash_item_virt() 144 rk_handle hash_hdl = 0; in test_hash_item_fd()
|
| H A D | test_cipher.c | 93 rk_handle cipher_hdl = 0; in test_cipher_item_virt() 248 rk_handle cipher_hdl = 0; in test_cipher_item_fd()
|
| H A D | test_multi.c | 57 rk_handle hdl_cipher1, hdl_cipher2, hdl_hash1, hdl_hash2; in test_nosupport_multi()
|
| H A D | test_ae.c | 43 rk_handle handle = 0; in test_ae_item_virt() 260 rk_handle handle = 0; in test_ae_item_fd()
|
| H A D | test_throughput.c | 229 rk_handle handle = 0; in test_cipher_item_tp() 463 rk_handle handle = 0; in test_ae_item_tp() 807 rk_handle hash_hdl = 0; in test_hash_item_tp()
|
| H A D | test_rsa.c | 575 rk_handle hash_hdl = 0; in calc_padding_digest()
|