Searched refs:PORT_Alloc (Results 1 – 3 of 3) sorted by relevance
97 result->data = PORT_Alloc(len, kmflag); in SECITEM_AllocItem()142 to->data = (unsigned char*) PORT_Alloc(from->len, kmflag); in SECITEM_CopyItem()
76 #define PORT_Alloc(n, f) kmem_alloc((n), (f)) macro82 #define PORT_Alloc(n, f) malloc((n))
397 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()