Searched refs:new_bigint (Results 1 – 2 of 2) sorted by relevance
3270 copy_bigint(biginteger_t *new_bigint, biginteger_t *old_bigint) in copy_bigint() argument3272 new_bigint->big_value = in copy_bigint()3273 malloc((sizeof (CK_BYTE) * new_bigint->big_value_len)); in copy_bigint()3275 if (new_bigint->big_value == NULL) { in copy_bigint()3279 (void) memcpy(new_bigint->big_value, old_bigint->big_value, in copy_bigint()3280 (sizeof (CK_BYTE) * new_bigint->big_value_len)); in copy_bigint()
5729 copy_bigint(biginteger_t *new_bigint, biginteger_t *old_bigint) argument5731 new_bigint->big_value =5732 malloc((sizeof (CK_BYTE) * new_bigint->big_value_len));5734 if (new_bigint->big_value == NULL) {5738 (void) memcpy(new_bigint->big_value, old_bigint->big_value,5739 (sizeof (CK_BYTE) * new_bigint->big_value_len));