Lines Matching refs:big

563  * Copy the big integer attribute value from template to a biginteger_t struct.
566 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template)
572 big->big_value = malloc(template->ulValueLen);
573 if (big->big_value == NULL) {
577 (void) memcpy(big->big_value, template->pValue,
579 big->big_value_len = template->ulValueLen;
581 big->big_value = NULL;
582 big->big_value_len = 0;
590 * Copy the big integer attribute value from a biginteger_t struct in the
594 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template)
598 template->ulValueLen = big->big_value_len;
602 if (big->big_value == NULL) {
607 if (template->ulValueLen >= big->big_value_len) {
612 (void) memcpy(template->pValue, big->big_value,
613 big->big_value_len);
614 template->ulValueLen = big->big_value_len;
730 * Copy the big integer attribute value from source's biginteger_t to
761 * Since the value is already in the big endian, just check byte by byte
828 * Release the storage allocated for object attribute with big integer
832 bigint_attr_cleanup(biginteger_t *big)
835 if (big == NULL)
838 if (big->big_value) {
839 (void) memset(big->big_value, 0, big->big_value_len);
840 free(big->big_value);
841 big->big_value = NULL;
842 big->big_value_len = 0;
848 * Clean up and release all the storage allocated to hold the big integer
1023 * storage to hold the big integer value for the supplied attributes
1155 * Copyin big integer attribute from template
1272 * Copy big integer attribute value to the
1400 * storage to hold the big integer value for the supplied attributes
1567 * Copyin big integer attribute from template
1724 * Copy big integer attribute value to the
1884 * - Build the Secret Key object. Allocate storage to hold the big integer