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

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c88 static void P_MD5(uchar_t *secret, uint_t secretlen, uchar_t *label,
91 static void P_SHA1(uchar_t *secret, uint_t secretlen, uchar_t *label,
99 uint_t secretlen, uchar_t *rand1, uint_t rand1len, uchar_t *rand2,
109 soft_ssl3_churn(uchar_t *secret, uint_t secretlen, uchar_t *rand1, argument
122 SHA1Update(&sha1_ctx, secret, secretlen);
128 MD5Update(&md5_ctx, secret, secretlen);
144 soft_tls_prf(uchar_t *secret, uint_t secretlen, uchar_t *label, uint_t labellen, argument
162 L_S = roundup(secretlen, 2) / 2;
166 S2 = secret + (secretlen / 2); /* Possible overlap of S1 and S2. */
217 P_MD5(uchar_t *secret, uint_t secretlen, uchar_ argument
297 P_SHA1(uchar_t *secret, uint_t secretlen, uchar_t *label, uint_t labellen, uchar_t *rand1, uint_t rand1len, uchar_t *rand2, uint_t rand2len, uchar_t *result, uint_t resultlen, boolean_t xor_it) argument
1060 soft_ssl_weaken_key(CK_MECHANISM_PTR mech, uchar_t *secret, uint_t secretlen, uchar_t *rand1, uint_t rand1len, uchar_t *rand2, uint_t rand2len, uchar_t *result, boolean_t isclient) argument
[all...]

Completed in 208 milliseconds