Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c3270 copy_bigint(biginteger_t *new_bigint, biginteger_t *old_bigint) in copy_bigint() argument
3272 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()
/titanic_41/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));