Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_throughput.c1013 uint8_t *data_plain = NULL, *data_enc = NULL, *data_dec = NULL; in test_rsa_item_tp() local
1022 data_plain = malloc(nbytes); in test_rsa_item_tp()
1023 if (!data_plain) { in test_rsa_item_tp()
1043 res = rk_get_random(data_plain, nbytes); in test_rsa_item_tp()
1050 data_plain[0] = 0x00; in test_rsa_item_tp()
1060 data_plain, nbytes, data_enc, &out_len); in test_rsa_item_tp()
1078 if (nbytes != out_len || memcmp(data_dec, data_plain, nbytes)) { in test_rsa_item_tp()
1081 test_dump_hex("expect", data_plain, nbytes); in test_rsa_item_tp()
1100 if (data_plain) in test_rsa_item_tp()
1101 free(data_plain); in test_rsa_item_tp()