Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/librkcrypto/demo/
H A Ddemo_otpkey.c71 config.operation = RK_OP_CIPHER_ENC; in demo_otpkey()
136 config.operation = RK_OP_CIPHER_ENC; in demo_otpkey_virt()
H A Ddemo_cipher.c61 config.operation = RK_OP_CIPHER_ENC; in demo_cipher()
143 config.operation = RK_OP_CIPHER_ENC; in demo_cipher_virt()
H A Ddemo_ae.c103 res = set_ae_config(&config, algo, mode, RK_OP_CIPHER_ENC, key_0, sizeof(key_0), iv, in demo_ae()
209 res = set_ae_config(&config, algo, mode, RK_OP_CIPHER_ENC, key_0, sizeof(key_0), iv, in demo_ae_virt()
/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_throughput.c111 RK_OP_CIPHER_ENC, in test_otp_key_virt_tp()
162 RK_OP_CIPHER_ENC, in test_otp_key_fd_tp()
337 .op = {RK_OP_CIPHER_ENC, RK_OP_CIPHER_DEC}, in test_cipher_tp()
348 .op = {RK_OP_CIPHER_ENC, RK_OP_CIPHER_DEC}, in test_cipher_tp()
361 .op = {RK_OP_CIPHER_ENC, RK_OP_CIPHER_DEC}, in test_cipher_tp()
374 .op = {RK_OP_CIPHER_ENC, RK_OP_CIPHER_DEC}, in test_cipher_tp()
494 config.operation = RK_OP_CIPHER_ENC; in test_ae_item_tp()
H A Dcmode_adapter.c13 int is_enc = (operation == RK_OP_CIPHER_ENC) ? 1 : 0; in soft_cipher()
98 int is_enc = (operation == RK_OP_CIPHER_ENC) ? 1 : 0; in soft_ae()
H A Dtest_utils.c97 {RK_OP_CIPHER_ENC, "ENCRYPT"},
H A Dtest_cipher.c91 uint32_t ops[] = {RK_OP_CIPHER_ENC, RK_OP_CIPHER_DEC}; in test_cipher_item_virt()
246 uint32_t ops[] = {RK_OP_CIPHER_ENC, RK_OP_CIPHER_DEC}; in test_cipher_item_fd()
H A Dtest_multi.c63 cipher_cfg.operation = RK_OP_CIPHER_ENC; in test_nosupport_multi()
H A Dtest_otp_key_crypto.c75 RK_OP_CIPHER_ENC,
96 RK_OP_CIPHER_ENC,
H A Dtest_ae.c102 operation = RK_OP_CIPHER_ENC; in test_ae_item_virt()
319 operation = RK_OP_CIPHER_ENC; in test_ae_item_fd()
/OK3568_Linux_fs/external/security/librkcrypto/include/
H A Drkcrypto_common.h45 #define RK_OP_CIPHER_ENC 1 macro
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_otp_key.c244 RK_CRYPTO_CHECK_PARAM(config->operation != RK_OP_CIPHER_ENC && in rk_oem_otp_key_cipher_virt()
348 RK_CRYPTO_CHECK_PARAM(config->operation != RK_OP_CIPHER_ENC && in rk_oem_otp_key_cipher()
H A Drkcrypto_core.c34 ((rkop == RK_OP_CIPHER_ENC) ? COP_ENCRYPT : COP_DECRYPT)