Home
last modified time | relevance | path

Searched refs:rk_handle (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/external/security/librkcrypto/include/
H A Drkcrypto_core.h13 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 Drkcrypto_common.h11 typedef uint32_t rk_handle; typedef
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_core.c307 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 Drkcrypto_rsa_helper.c498 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 Ddemo_hash.c44 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 Ddemo_cipher.c35 rk_handle handle = 0; in demo_cipher()
133 rk_handle handle = 0; in demo_cipher_virt()
H A Ddemo_ae.c70 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 Dtest_hash.c52 rk_handle hash_hdl = 0; in test_hash_item_virt()
144 rk_handle hash_hdl = 0; in test_hash_item_fd()
H A Dtest_cipher.c93 rk_handle cipher_hdl = 0; in test_cipher_item_virt()
248 rk_handle cipher_hdl = 0; in test_cipher_item_fd()
H A Dtest_multi.c57 rk_handle hdl_cipher1, hdl_cipher2, hdl_hash1, hdl_hash2; in test_nosupport_multi()
H A Dtest_ae.c43 rk_handle handle = 0; in test_ae_item_virt()
260 rk_handle handle = 0; in test_ae_item_fd()
H A Dtest_throughput.c229 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 Dtest_rsa.c575 rk_handle hash_hdl = 0; in calc_padding_digest()