Lines Matching refs:big

565  * Copy the big integer attribute value from template to a biginteger_t struct.
568 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template)
574 big->big_value = malloc(template->ulValueLen);
575 if (big->big_value == NULL) {
579 (void) memcpy(big->big_value, template->pValue,
581 big->big_value_len = template->ulValueLen;
583 big->big_value = NULL;
584 big->big_value_len = 0;
592 * Copy the big integer attribute value from a biginteger_t struct in the
596 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template)
600 template->ulValueLen = big->big_value_len;
604 if (big->big_value == NULL) {
609 if (template->ulValueLen >= big->big_value_len) {
614 (void) memcpy(template->pValue, big->big_value,
615 big->big_value_len);
616 template->ulValueLen = big->big_value_len;
732 * Copy the big integer attribute value from source's biginteger_t to
799 * Release the storage allocated for object attribute with big integer
803 bigint_attr_cleanup(biginteger_t *big)
806 if (big == NULL)
809 if (big->big_value) {
810 (void) memset(big->big_value, 0, big->big_value_len);
811 free(big->big_value);
812 big->big_value = NULL;
813 big->big_value_len = 0;
819 * Clean up and release all the storage allocated to hold the big integer
994 * storage to hold the big integer value for the supplied attributes
1127 * Copyin big integer attribute from template
1244 * Copy big integer attribute value to the
1362 * storage to hold the big integer value for the supplied attributes
1529 * Copyin big integer attribute from template
1686 * Copy big integer attribute value to the
1835 * - Build the Secret Key object. Allocate storage to hold the big integer