Home
last modified time | relevance | path

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

/titanic_44/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
673 iv_bytes = km_params->ulIVSizeInBits / 8; in soft_ssl_key_and_mac_derive()
675 if ((iv_bytes > 0) && in soft_ssl_key_and_mac_derive()
692 if ((isExport) && (iv_bytes > 0)) { in soft_ssl_key_and_mac_derive()
697 if (iv_bytes > MD5_HASH_SIZE) in soft_ssl_key_and_mac_derive()
708 bcopy(key_block, kmo->pIVClient, iv_bytes); in soft_ssl_key_and_mac_derive()
716 bcopy(key_block, kmo->pIVServer, iv_bytes); in soft_ssl_key_and_mac_derive()
720 if (iv_bytes != 8) in soft_ssl_key_and_mac_derive()
732 iv_bytes = 0; 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()
[all …]