Home
last modified time | relevance | path

Searched refs:secretkey_len (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/common/crypto/dh/
H A Ddh_impl.c251 uchar_t *secretkey, uint32_t *secretkey_len, /* derived secret */ in dh_key_derive() argument
347 *secretkey_len = DES_KEYSIZE; in dh_key_derive()
350 *secretkey_len = DES2_KEYSIZE; in dh_key_derive()
353 *secretkey_len = DES3_KEYSIZE; in dh_key_derive()
366 if (*secretkey_len == 0) { in dh_key_derive()
367 *secretkey_len = s_bytes; in dh_key_derive()
370 if (*secretkey_len > s_bytes) { in dh_key_derive()
379 (void) memcpy(secretkey, (s + s_bytes - *secretkey_len), in dh_key_derive()
380 *secretkey_len); in dh_key_derive()
H A Ddh_impl.h93 uchar_t *secretkey, uint32_t *secretkey_len, int flag);