Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/librkcrypto/demo/
H A Ddemo_ae.c82 in = rk_crypto_mem_alloc(data_len); in demo_ae()
89 out = rk_crypto_mem_alloc(data_len); in demo_ae()
96 aad = rk_crypto_mem_alloc(aad_len); in demo_ae()
H A Ddemo_otpkey.c55 in = rk_crypto_mem_alloc(len); in demo_otpkey()
62 out = rk_crypto_mem_alloc(len); in demo_otpkey()
H A Ddemo_cipher.c45 in = rk_crypto_mem_alloc(data_len); in demo_cipher()
52 out = rk_crypto_mem_alloc(data_len); in demo_cipher()
H A Ddemo_hash.c56 in = rk_crypto_mem_alloc(data_len); in demo_hash()
179 in = rk_crypto_mem_alloc(data_len); in demo_hmac()
/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_ae.c268 plain = rk_crypto_mem_alloc(TEST_DATA_MAX); in test_ae_item_fd()
274 ae_soft = rk_crypto_mem_alloc(TEST_DATA_MAX); in test_ae_item_fd()
280 ae_hard = rk_crypto_mem_alloc(TEST_DATA_MAX); in test_ae_item_fd()
286 aad = rk_crypto_mem_alloc(TEST_AAD_MAX); in test_ae_item_fd()
H A Dtest_cipher.c254 plain = rk_crypto_mem_alloc(data_len); in test_cipher_item_fd()
260 cipher_soft = rk_crypto_mem_alloc(data_len); in test_cipher_item_fd()
266 cipher_hard = rk_crypto_mem_alloc(data_len); in test_cipher_item_fd()
H A Dtest_throughput.c171 in_out = rk_crypto_mem_alloc(TEST_OTP_BLOCK_SIZE); in test_otp_key_fd_tp()
384 in_out_fd = rk_crypto_mem_alloc(TEST_BLOCK_SIZE); in test_cipher_tp()
688 in_fd = rk_crypto_mem_alloc(TEST_BLOCK_SIZE); in test_ae_tp()
695 out_fd = rk_crypto_mem_alloc(TEST_BLOCK_SIZE); in test_ae_tp()
702 aad_fd = rk_crypto_mem_alloc(aad_buff_len); in test_ae_tp()
938 input_fd = rk_crypto_mem_alloc(buffer_len); in test_hash_tp()
H A Dtest_crypto_mem.c25 mem[count] = rk_crypto_mem_alloc(BLOCK_SIZE); in test_crypto_mem()
H A Dtest_hash.c241 mem_buf = rk_crypto_mem_alloc(buffer_len); in test_hash()
284 mem_buf = rk_crypto_mem_alloc(buffer_len); in test_hmac()
H A Dtest_otp_key_crypto.c300 plain = rk_crypto_mem_alloc(item->data_len); in test_otp_key_item_fd()
307 cipher_hard = rk_crypto_mem_alloc(item->data_len); in test_otp_key_item_fd()
/OK3568_Linux_fs/external/security/librkcrypto/include/
H A Drkcrypto_mem.h16 rk_crypto_mem *rk_crypto_mem_alloc(size_t size);
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_mem.c338 rk_crypto_mem *rk_crypto_mem_alloc(size_t size) in rk_crypto_mem_alloc() function