Lines Matching refs:big

699  * Copy the big integer attribute value from template to a biginteger_t struct.
702 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template)
708 big->big_value = malloc(template->ulValueLen);
709 if (big->big_value == NULL) {
713 (void) memcpy(big->big_value, template->pValue,
715 big->big_value_len = template->ulValueLen;
717 big->big_value = NULL;
718 big->big_value_len = 0;
726 * Copy the big integer attribute value from a biginteger_t struct in the
730 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template)
734 template->ulValueLen = big->big_value_len;
738 if (big->big_value == NULL) {
743 if (template->ulValueLen >= big->big_value_len) {
748 (void) memcpy(template->pValue, big->big_value,
749 big->big_value_len);
750 template->ulValueLen = big->big_value_len;
871 * Copy the big integer attribute value from source's biginteger_t to
960 * If the template attribute is not big enough, set the ulValueLen=-1
999 * Release the storage allocated for object attribute with big integer
1003 bigint_attr_cleanup(biginteger_t *big)
1006 if (big == NULL)
1009 if (big->big_value) {
1010 (void) memset(big->big_value, 0, big->big_value_len);
1011 free(big->big_value);
1012 big->big_value = NULL;
1013 big->big_value_len = 0;
1019 * Clean up and release all the storage allocated to hold the big integer
1279 * storage to hold the big integer value for the supplied attributes
1425 * Copyin big integer attribute from template
1603 * big integer attribute value to the
1627 * Copy big integer attribute value to the
1648 * Copy big integer attribute value to the
1845 * storage to hold the big integer value for the supplied attributes
2023 * Copyin big integer attribute from template
2252 * Copy big integer attribute value to the
2511 * - Build the Secret Key object. Allocate storage to hold the big integer
3168 * storage to hold the big integer value for the supplied attributes
3229 * Copyin big integer attribute from template
3307 * Copy big integer attribute value to the