Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/audio/utilities/
H A DResample.cc63 double *coef) // filter coefficients in sinc_coef() argument
74 coef[i] = sin(bandwidth * alpha) / (M_PI * alpha); in sinc_coef()
79 coef[i] = sin(bandwidth * alpha) / (M_PI * alpha); in sinc_coef()
81 coef[i++] = bandwidth / M_PI; in sinc_coef()
84 coef[i] = coef[order - i]; in sinc_coef()
99 poly_conv(double *coef, // filter coef array in poly_conv() argument
109 double *coef_end = coef + order; in poly_conv()
111 while ((coef <= coef_end) && (data < data_end)) { in poly_conv()
112 sum += *coef * *--data_end; in poly_conv()
113 coef += inc_coef; in poly_conv()
[all …]
H A DFir.cc131 coef = new double[order + 1]; in Fir()
138 delete coef; in ~Fir()
157 memcpy(coef, coef_in, (order + 1) * sizeof (double)); in putCoef()
163 memcpy(coef_out, coef, (order + 1) * sizeof (double)); in getCoef()
185 *out_ptr++ = double2short(convolve(coef, in_buf, i) + in filter_noadjust()
186 convolve(coef + i, state_ptr++, init_order--)); in filter_noadjust()
192 double2short(convolve(coef, state_ptr++, order + 1)); in filter_noadjust()
/titanic_44/usr/src/cmd/audio/include/
H A DFir.h56 double *coef; // (order + 1) filter coeffs. variable
/titanic_44/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.c1344 biginteger_t coef; in soft_unpack_object() local
1362 (void) memset(&coef, 0x0, sizeof (biginteger_t)); in soft_unpack_object()
1591 if ((rv = soft_unpack_obj_attribute(buf, &coef, in soft_unpack_object()
1595 copy_bigint_attr(&coef, KEY_PRI_RSA_COEF(pvk)); in soft_unpack_object()
1839 bigint_attr_cleanup(&coef); in soft_unpack_object()
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);
/titanic_44/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()
/titanic_44/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()
/titanic_44/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()
3390 if (rawkey->rawdata.rsa.coef.val != NULL) { in store_raw_key()
3392 rawkey->rawdata.rsa.coef.val, in store_raw_key()
3393 rawkey->rawdata.rsa.coef.len); in store_raw_key()
/titanic_44/usr/src/lib/libkmf/include/
H A Dkmftypes.h189 KMF_BIGINT coef; member
/titanic_44/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c887 if ((ret = sslBN2KMFBN(COEF, &rsa.coef)) != KMF_OK) in readAltFormatPrivateKey()
3170 if (key->coef.val != NULL) in ImportRawRSAKey()
3171 if ((rsa->iqmp = BN_bin2bn(key->coef.val, key->coef.len, in ImportRawRSAKey()
4110 if ((rv = sslBN2KMFBN(rsa->iqmp, &kmfkey->coef)) != KMF_OK) in exportRawRSAKey()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm_create.c145 priv_key_bignums[7] = rsa->rawdata.rsa.coef; in kmf_to_kssl()
/titanic_44/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c2282 rsa->coef.val, rsa->coef.len) == -1) in DerEncodeRSAPrivateKey()
/titanic_44/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c1345 kmf_free_bigint(&key->coef); in free_raw_rsa()