Searched refs:buf1 (Results 1 – 3 of 3) sorted by relevance
| /optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
| H A D | rsa_import_pkcs8.c | 49 unsigned char *buf1 = NULL, *buf2 = NULL; in rsa_import_pkcs8() local 68 buf1 = XMALLOC(buf1len); in rsa_import_pkcs8() 69 if (buf1 == NULL) { err = CRYPT_MEM; goto LBL_NOFREE; } in rsa_import_pkcs8() 89 LTC_SET_ASN1(top_seq, 2, LTC_ASN1_OCTET_STRING, buf1, buf1len); in rsa_import_pkcs8() 98 if ((err = rsa_import_pkcs1(buf1, top_seq[2].size, key)) != CRYPT_OK) { in rsa_import_pkcs8() 111 XFREE(buf1); in rsa_import_pkcs8()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | entropy.c | 554 unsigned char buf1[2 * sizeof(unsigned long long int)]; in mbedtls_entropy_source_self_test() local 561 memset(buf1, 0x00, sizeof(buf1)); in mbedtls_entropy_source_self_test() 566 if ((ret = mbedtls_entropy_source_self_test_gather(buf1, sizeof(buf1))) != 0) { in mbedtls_entropy_source_self_test() 574 if ((ret = mbedtls_entropy_source_self_test_check_bits(buf1, sizeof(buf1))) != 0) { in mbedtls_entropy_source_self_test() 580 ret = memcmp(buf0, buf1, sizeof(buf0)) == 0; in mbedtls_entropy_source_self_test()
|
| /optee_os/lib/libutee/ |
| H A D | tee_api.c | 237 static bool bufs_intersect(void *buf1, size_t sz1, void *buf2, size_t sz2) in bufs_intersect() argument 239 vaddr_t b1 = (vaddr_t)buf1; in bufs_intersect()
|