Lines Matching refs:big
703 * Copy the big integer attribute value from template to a biginteger_t struct.
706 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template)
712 big->big_value = malloc(template->ulValueLen);
713 if (big->big_value == NULL) {
717 (void) memcpy(big->big_value, template->pValue,
719 big->big_value_len = template->ulValueLen;
721 big->big_value = NULL;
722 big->big_value_len = 0;
730 * Copy the big integer attribute value from a biginteger_t struct in the
734 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template)
738 template->ulValueLen = big->big_value_len;
742 if (big->big_value == NULL) {
747 if (template->ulValueLen >= big->big_value_len) {
752 (void) memcpy(template->pValue, big->big_value,
753 big->big_value_len);
754 template->ulValueLen = big->big_value_len;
875 * Copy the big integer attribute value from source's biginteger_t to
905 * Since the value is already in the big endian, just check byte by byte
995 * If the template attribute is not big enough, set the ulValueLen=-1
1034 * Release the storage allocated for object attribute with big integer
1038 bigint_attr_cleanup(biginteger_t *big)
1041 if (big == NULL)
1044 if (big->big_value) {
1045 (void) memset(big->big_value, 0, big->big_value_len);
1046 free(big->big_value);
1047 big->big_value = NULL;
1048 big->big_value_len = 0;
1054 * Clean up and release all the storage allocated to hold the big integer
1315 * storage to hold the big integer value for the supplied attributes
1461 * Copyin big integer attribute from template
1642 * big integer attribute value to the
1666 * Copy big integer attribute value to the
1687 * Copy big integer attribute value to the
1884 * storage to hold the big integer value for the supplied attributes
2062 * Copyin big integer attribute from template
2294 * Copy big integer attribute value to the
2559 * - Build the Secret Key object. Allocate storage to hold the big integer
3219 * storage to hold the big integer value for the supplied attributes
3280 * Copyin big integer attribute from template
3358 * Copy big integer attribute value to the