Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/crypto/ecc/
H A Dsecitem.c97 result->data = PORT_Alloc(len, kmflag); in SECITEM_AllocItem()
142 to->data = (unsigned char*) PORT_Alloc(from->len, kmflag); in SECITEM_CopyItem()
H A Decc_impl.h76 #define PORT_Alloc(n, f) kmem_alloc((n), (f)) macro
82 #define PORT_Alloc(n, f) malloc((n))
H A Dec.c397 if ((privKeyBytes = PORT_Alloc(2*len, kmflag)) == NULL) goto cleanup; in ec_GenerateRandomPrivateKey()
581 if ((pointQ.data = PORT_Alloc(2*len + 1, kmflag)) == NULL) goto cleanup; in ECDH_Derive()
707 kGpoint.data = PORT_Alloc(2*flen + 1, kmflag); in ECDSA_SignDigestWithSeed()