Searched refs:coef (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/audio/utilities/
H A DResample.cc63 double *coef) // filter coefficients
74 coef[i] = sin(bandwidth * alpha) / (M_PI * alpha);
79 coef[i] = sin(bandwidth * alpha) / (M_PI * alpha);
81 coef[i++] = bandwidth / M_PI;
84 coef[i] = coef[order - i];
88 * poly_conv() = coef[0] * data[length - 1] +
89 * coef[inc_coef] * data[length - 2] +
91 * coef[(length - 1) * inc_coef] * data[0] +
93 * convolution of coef[orde
61 sinc_coef(int fold, int order, double *coef) argument
99 poly_conv(double *coef, int order, int inc_coef, double *data, int length) argument
[all...]
H A DFir.cc43 * returns the convolution of coef[length] and in_buf[length]:
45 * convolution = coef[0] * in_buf[length - 1] +
46 * coef[1] * in_buf[length - 2] +
48 * coef[length - 1] * in_buf[0]
131 coef = new double[order + 1];
138 delete coef;
157 memcpy(coef, coef_in, (order + 1) * sizeof (double));
163 memcpy(coef_out, coef, (order + 1) * sizeof (double));
185 *out_ptr++ = double2short(convolve(coef, in_buf, i) +
186 convolve(coef
[all...]
/illumos-gate/usr/src/cmd/audio/include/
H A DFir.h40 * output = coef[0] * input +
41 * coef[1] * state[order - 1] +
42 * coef[2] * state[order - 2] +
44 * coef[order] * state[0]
56 double *coef; // (order + 1) filter coeffs. member in class:Fir
70 virtual void putCoef(double *coef_in); // put coef_in in filter coef
71 virtual void getCoef(double *coef_out); // get filter coef
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c99 uchar_t coef[MAX_KEY_ATTR_BUFLEN]; local
105 uint32_t coef_len = sizeof (coef);
153 rv = soft_get_private_value(key, CKA_COEFFICIENT, coef, &coef_len);
173 k.coeff = coef;
H A DsoftKeystore.c641 * expo2_len + expo2 + coef_len + coef
1056 /* coef_len + coef */
1344 biginteger_t coef; local
1362 (void) memset(&coef, 0x0, sizeof (biginteger_t));
1590 /* coef */
1591 if ((rv = soft_unpack_obj_attribute(buf, &coef,
1595 copy_bigint_attr(&coef, KEY_PRI_RSA_COEF(pvk));
1839 bigint_attr_cleanup(&coef);
H A DsoftAttributeUtil.c1891 biginteger_t coef; local
1911 (void) memset(&coef, 0x0, sizeof (biginteger_t));
2096 rv = get_bigint_attr_from_template(&coef,
2285 copy_bigint_attr(&coef, KEY_PRI_RSA_COEF(pvk));
2484 bigint_attr_cleanup(&coef);
/illumos-gate/usr/src/uts/common/crypto/io/
H A Drsa.c794 uchar_t *modulus, *prime1, *prime2, *expo1, *expo2, *coef; local
820 (crypto_get_key_attr(key, SUN_CKA_COEFFICIENT, &coef, &coef_len)
835 k.coeff = coef;
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c1408 biginteger_t coef; local
1426 (void) memset(&coef, 0x0, sizeof (biginteger_t));
1588 rv = get_bigint_attr_from_template(&coef,
1720 copy_bigint_attr(&coef, KEY_PRI_RSA_COEF(pvk));
1810 bigint_attr_cleanup(&coef);
/illumos-gate/usr/src/lib/libkmf/include/
H A Dkmftypes.h189 KMF_BIGINT coef; member in struct:__anon3428
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c2517 rv = get_bigint_attr(sess, obj, CKA_COEFFICIENT, &rawrsa->coef);
2537 if (rawrsa->coef.val)
2538 free(rawrsa->coef.val);
3390 if (rawkey->rawdata.rsa.coef.val != NULL) {
3392 rawkey->rawdata.rsa.coef.val,
3393 rawkey->rawdata.rsa.coef.len);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm_create.c145 priv_key_bignums[7] = rsa->rawdata.rsa.coef;
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c887 if ((ret = sslBN2KMFBN(COEF, &rsa.coef)) != KMF_OK)
3168 if (key->coef.val != NULL)
3169 if ((rsa->iqmp = BN_bin2bn(key->coef.val, key->coef.len,
4108 if ((rv = sslBN2KMFBN(rsa->iqmp, &kmfkey->coef)) != KMF_OK)
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c2282 rsa->coef.val, rsa->coef.len) == -1)
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c1345 kmf_free_bigint(&key->coef);

Completed in 137 milliseconds