Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_import_pkcs8.c57 unsigned char *buf1 = NULL, *buf2 = NULL; in rsa_import_pkcs8() local
79 buf2 = XMALLOC(buf2len); in rsa_import_pkcs8()
80 if (buf2 == NULL) { err = CRYPT_MEM; goto LBL_FREE1; } in rsa_import_pkcs8()
128 XFREE(buf2); in rsa_import_pkcs8()
/optee_os/core/lib/libtomcrypt/src/encauth/ccm/
A Dccm_test.c116 unsigned char buf[64], buf2[64], tag[16], tag2[16], tag3[16], zero[64]; in ccm_test()
193 buf2, tests[x].ptlen, in ccm_test()
208 if ((err = ccm_process(&ccm, buf2, tests[x].ptlen, buf, CCM_DECRYPT)) != CRYPT_OK) { in ccm_test()
217 …if (compare_testvector(buf2, tests[x].ptlen, tests[x].pt, tests[x].ptlen, "CCM decrypt data", x)) { in ccm_test()
230 buf2, tests[x].ptlen, in ccm_test()
235 … if (compare_testvector(buf2, tests[x].ptlen, zero, tests[x].ptlen, "CCM decrypt wrong tag", x)) { in ccm_test()

Completed in 3 milliseconds