Lines Matching defs:tmp

188 			CK_ATTRIBUTE tmp;
190 tmp.type = CKA_PRIME;
191 tmp.pValue = NULL;
194 if (kernel_get_attribute(basekey_p, &tmp) != CKR_OK) {
197 *key_len = tmp.ulValueLen;
1983 CK_ATTRIBUTE tmp;
2015 tmp.type = CKA_EC_PARAMS;
2016 tmp.pValue = NULL;
2019 rv = kernel_get_attribute(base_key, &tmp);
2024 tmp.pValue = malloc(tmp.ulValueLen);
2025 if (tmp.pValue == NULL) {
2029 rv = kernel_get_attribute(base_key, &tmp);
2031 free(tmp.pValue);
2034 attrs[0].oa_type = tmp.type;
2035 attrs[0].oa_value = tmp.pValue;
2036 attrs[0].oa_value_len = tmp.ulValueLen;
2041 tmp.type = CKA_EC_POINT;
2046 tmp.type = CKA_VALUE;
2053 tmp.ulValueLen = big->big_value_len;
2054 tmp.pValue = malloc(tmp.ulValueLen);
2055 if (tmp.pValue == NULL) {
2059 rv = kernel_get_attribute(base_key, &tmp);
2061 free(tmp.pValue);
2064 attrs[1].oa_type = tmp.type;
2065 attrs[1].oa_value = tmp.pValue;
2066 attrs[1].oa_value_len = tmp.ulValueLen;
2091 tmp.type = CKA_BASE;
2092 tmp.pValue = NULL;
2095 rv = kernel_get_attribute(base_key, &tmp);
2100 tmp.pValue = malloc(tmp.ulValueLen);
2101 if (tmp.pValue == NULL) {
2105 rv = kernel_get_attribute(base_key, &tmp);
2107 free(tmp.pValue);
2110 attrs[0].oa_type = tmp.type;
2111 attrs[0].oa_value = tmp.pValue;
2112 attrs[0].oa_value_len = tmp.ulValueLen;
2114 tmp.type = CKA_PRIME;
2115 tmp.pValue = NULL;
2118 rv = kernel_get_attribute(base_key, &tmp);
2123 tmp.pValue = malloc(tmp.ulValueLen);
2124 if (tmp.pValue == NULL) {
2128 rv = kernel_get_attribute(base_key, &tmp);
2130 free(tmp.pValue);
2133 attrs[1].oa_type = tmp.type;
2134 attrs[1].oa_value = tmp.pValue;
2135 attrs[1].oa_value_len = tmp.ulValueLen;
2138 tmp.type = CKA_VALUE;
2140 tmp.ulValueLen = big->big_value_len;
2141 tmp.pValue = malloc(tmp.ulValueLen);
2142 if (tmp.pValue == NULL) {
2146 rv = kernel_get_attribute(base_key, &tmp);
2148 free(tmp.pValue);
2151 attrs[2].oa_type = tmp.type;
2152 attrs[2].oa_value = tmp.pValue;
2153 attrs[2].oa_value_len = tmp.ulValueLen;