Home
last modified time | relevance | path

Searched refs:coef (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/audio/utilities/
H A DResample.cc61 double *coef) // filter coefficients in sinc_coef() argument
72 coef[i] = sin(bandwidth * alpha) / (M_PI * alpha); in sinc_coef()
79 coef[i++] = bandwidth / M_PI; in sinc_coef()
82 coef[i] = coef[order - i]; in sinc_coef()
97 poly_conv(double *coef, // filter coef array in poly_conv() argument
107 double *coef_end = coef + order; in poly_conv()
109 while ((coef <= coef_end) && (data < data_end)) { in poly_conv()
110 sum += *coef * *--data_end; in poly_conv()
111 coef += inc_coef; in poly_conv()
154 coef = new double[order + 1]; in ResampleFilter()
[all …]
H A DFir.cc129 coef = new double[order + 1]; in Fir()
136 delete coef; in ~Fir()
155 memcpy(coef, coef_in, (order + 1) * sizeof (double)); in putCoef()
161 memcpy(coef_out, coef, (order + 1) * sizeof (double)); in getCoef()
183 *out_ptr++ = double2short(convolve(coef, in_buf, i) + in filter_noadjust()
184 convolve(coef + i, state_ptr++, init_order--)); in filter_noadjust()
190 double2short(convolve(coef, state_ptr++, order + 1)); in filter_noadjust()
/illumos-gate/usr/src/cmd/audio/include/
H A DFir.h54 double *coef; // (order + 1) filter coeffs. variable
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c99 uchar_t coef[MAX_KEY_ATTR_BUFLEN]; in soft_rsa_decrypt() local
105 uint32_t coef_len = sizeof (coef); in soft_rsa_decrypt()
153 rv = soft_get_private_value(key, CKA_COEFFICIENT, coef, &coef_len); in soft_rsa_decrypt()
173 k.coeff = coef; in soft_rsa_decrypt()
H A DsoftKeystore.c1361 biginteger_t coef; in soft_unpack_object() local
1379 (void) memset(&coef, 0x0, sizeof (biginteger_t)); in soft_unpack_object()
1608 if ((rv = soft_unpack_obj_attribute(buf, &coef, in soft_unpack_object()
1612 copy_bigint_attr(&coef, KEY_PRI_RSA_COEF(pvk)); in soft_unpack_object()
1856 bigint_attr_cleanup(&coef); in soft_unpack_object()
H A DsoftAttributeUtil.c1880 biginteger_t coef; local
1900 (void) memset(&coef, 0x0, sizeof (biginteger_t));
2085 rv = get_bigint_attr_from_template(&coef,
2274 copy_bigint_attr(&coef, KEY_PRI_RSA_COEF(pvk));
2473 bigint_attr_cleanup(&coef);
/illumos-gate/usr/src/uts/common/crypto/io/
H A Drsa.c794 uchar_t *modulus, *prime1, *prime2, *expo1, *expo2, *coef; in core_rsa_decrypt() local
820 (crypto_get_key_attr(key, SUN_CKA_COEFFICIENT, &coef, &coef_len) in core_rsa_decrypt()
835 k.coeff = coef; in core_rsa_decrypt()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c1408 biginteger_t coef; in kernel_build_private_key_object() local
1426 (void) memset(&coef, 0x0, sizeof (biginteger_t)); in kernel_build_private_key_object()
1588 rv = get_bigint_attr_from_template(&coef, in kernel_build_private_key_object()
1720 copy_bigint_attr(&coef, KEY_PRI_RSA_COEF(pvk)); in kernel_build_private_key_object()
1810 bigint_attr_cleanup(&coef); in kernel_build_private_key_object()
/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); in get_raw_rsa()
2537 if (rawrsa->coef.val) in get_raw_rsa()
2538 free(rawrsa->coef.val); in get_raw_rsa()
3391 if (rawkey->rawdata.rsa.coef.val != NULL) { in store_raw_key()
3393 rawkey->rawdata.rsa.coef.val, in store_raw_key()
3394 rawkey->rawdata.rsa.coef.len); in store_raw_key()
/illumos-gate/usr/src/lib/libkmf/include/
H A Dkmftypes.h189 KMF_BIGINT coef; member
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c870 if ((ret = sslBN2KMFBN(COEF, &rsa.coef)) != KMF_OK) in readAltFormatPrivateKey()
3202 if (key->coef.val != NULL && in ImportRawRSAKey()
3203 (iqmp = BN_bin2bn(key->coef.val, key->coef.len, NULL)) == NULL) in ImportRawRSAKey()
4153 if ((rv = sslBN2KMFBN((BIGNUM *)iqmp, &kmfkey->coef)) != KMF_OK) in exportRawRSAKey()
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c2282 rsa->coef.val, rsa->coef.len) == -1) in DerEncodeRSAPrivateKey()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c1345 kmf_free_bigint(&key->coef); in free_raw_rsa()