Searched refs:new_bigint (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c3270 copy_bigint(biginteger_t *new_bigint, biginteger_t *old_bigint) argument
3272 new_bigint->big_value =
3273 malloc((sizeof (CK_BYTE) * new_bigint->big_value_len));
3275 if (new_bigint->big_value == NULL) {
3279 (void) memcpy(new_bigint->big_value, old_bigint->big_value,
3280 (sizeof (CK_BYTE) * new_bigint->big_value_len));
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c5729 copy_bigint(biginteger_t *new_bigint, biginteger_t *old_bigint) argument
5731 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));

Completed in 67 milliseconds