Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c636 ulong_t newattrcount, mac_key_bytes, secret_key_bytes, iv_bytes; in soft_ssl_key_and_mac_derive() local
672 secret_key_bytes = km_params->ulKeySizeInBits / 8; in soft_ssl_key_and_mac_derive()
739 size = (uint_t)((mac_key_bytes + secret_key_bytes + iv_bytes) * 2); in soft_ssl_key_and_mac_derive()
741 size = (mac_key_bytes + secret_key_bytes + iv_bytes) * 2; in soft_ssl_key_and_mac_derive()
812 extra_attr_count = (secret_key_bytes == 0) ? 6 : 5; in soft_ssl_key_and_mac_derive()
833 if (secret_key_bytes == 0) { in soft_ssl_key_and_mac_derive()
855 if (secret_key_bytes > 0) { in soft_ssl_key_and_mac_derive()
857 if (secret_key_bytes > MD5_HASH_SIZE) { in soft_ssl_key_and_mac_derive()
867 soft_ssl_weaken_key(mech, kb, (uint_t)secret_key_bytes, in soft_ssl_key_and_mac_derive()
869 soft_ssl_weaken_key(mech, kb, secret_key_bytes, in soft_ssl_key_and_mac_derive()
[all …]