Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_cpw.c414 krb5_data * saltdata; local
416 db_entry->princ), &saltdata)))
419 key_salt.data = *saltdata;
420 krb5_xfree(saltdata);
439 krb5_data * saltdata;
441 db_entry->princ), &saltdata))
444 key_salt.data = *saltdata;
446 krb5_xfree(saltdata);
/illumos-gate/usr/src/uts/common/io/
H A Dcryptmod.c1763 uchar_t saltdata[CRYPT_ARCFOUR_KEYBYTES]; in arcfour_hmac_md5_decrypt() local
1791 bcopy(ARCFOUR_EXP_SALT, saltdata, strlen(ARCFOUR_EXP_SALT)); in arcfour_hmac_md5_decrypt()
1792 saltdata[9] = 0; in arcfour_hmac_md5_decrypt()
1793 saltdata[10] = usage & 0xff; in arcfour_hmac_md5_decrypt()
1794 saltdata[11] = (usage >> 8) & 0xff; in arcfour_hmac_md5_decrypt()
1795 saltdata[12] = (usage >> 16) & 0xff; in arcfour_hmac_md5_decrypt()
1796 saltdata[13] = (usage >> 24) & 0xff; in arcfour_hmac_md5_decrypt()
1799 saltdata[0] = usage & 0xff; in arcfour_hmac_md5_decrypt()
1800 saltdata[1] = (usage >> 8) & 0xff; in arcfour_hmac_md5_decrypt()
1801 saltdata[2] = (usage >> 16) & 0xff; in arcfour_hmac_md5_decrypt()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.h93 CK_BYTE **saltdata);
95 CK_RV soft_gen_hmac_key(uchar_t *pPIN, soft_object_t **key, CK_BYTE **saltdata);
H A DsoftKeystore.c1994 soft_gen_crypt_key(uchar_t *pPIN, soft_object_t **key, CK_BYTE **saltdata) in soft_gen_crypt_key() argument
2037 if (*saltdata == NULL) { in soft_gen_crypt_key()
2040 *saltdata = malloc(PBKD2_SALT_SIZE); in soft_gen_crypt_key()
2041 if (*saltdata == NULL) in soft_gen_crypt_key()
2043 (void) memcpy(*saltdata, salt, PBKD2_SALT_SIZE); in soft_gen_crypt_key()
2046 (void) memcpy(salt, *saltdata, PBKD2_SALT_SIZE); in soft_gen_crypt_key()
2116 soft_gen_hmac_key(uchar_t *pPIN, soft_object_t **key, CK_BYTE **saltdata) in soft_gen_hmac_key() argument
2159 if (*saltdata == NULL) { in soft_gen_hmac_key()
2162 *saltdata = malloc(PBKD2_SALT_SIZE); in soft_gen_hmac_key()
2163 if (*saltdata == NULL) in soft_gen_hmac_key()
[all …]