Home
last modified time | relevance | path

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

/titanic_44/usr/src/common/crypto/aes/
H A Daes_impl.c104 const uint32_t cipherKey[], int keyBits);
106 const uint32_t cipherKey[], int keyBits);
114 const uint32_t cipherKey[], uint64_t keyBits);
116 const uint32_t cipherKey[], uint64_t keyBits);
876 rijndael_key_setup_enc_raw(uint32_t rk[], const uint32_t cipherKey[], in rijndael_key_setup_enc_raw() argument
882 rk[0] = cipherKey[0]; in rijndael_key_setup_enc_raw()
883 rk[1] = cipherKey[1]; in rijndael_key_setup_enc_raw()
884 rk[2] = cipherKey[2]; in rijndael_key_setup_enc_raw()
885 rk[3] = cipherKey[3]; in rijndael_key_setup_enc_raw()
907 rk[4] = cipherKey[4]; in rijndael_key_setup_enc_raw()
[all …]
H A Daes_impl.h131 extern void aes_init_keysched(const uint8_t *cipherKey, uint_t keyBits,
/titanic_44/usr/src/common/crypto/des/
H A Ddes_impl.c845 des_init_keysched(uint8_t *cipherKey, des_strength_t strength, void *ks) in des_init_keysched() argument
877 if (IS_P2ALIGNED(cipherKey, sizeof (uint64_t))) { in des_init_keysched()
880 key_uint64[i] = *((uint64_t *)&cipherKey[j]); in des_init_keysched()
888 htonll(*(uint64_t *)(void *)&cipherKey[j]); in des_init_keysched()
890 key_uint64[i] = (((uint64_t)cipherKey[j] << 56) | in des_init_keysched()
891 ((uint64_t)cipherKey[j + 1] << 48) | in des_init_keysched()
892 ((uint64_t)cipherKey[j + 2] << 40) | in des_init_keysched()
893 ((uint64_t)cipherKey[j + 3] << 32) | in des_init_keysched()
894 ((uint64_t)cipherKey[j + 4] << 24) | in des_init_keysched()
895 ((uint64_t)cipherKey[j + 5] << 16) | in des_init_keysched()
[all …]
/titanic_44/usr/src/common/crypto/aes/amd64/
H A Daeskey.c214 rijndael_key_setup_enc_amd64(uint32_t rk[], const uint32_t cipherKey[], in rijndael_key_setup_enc_amd64() argument
219 aes_encrypt_key128((unsigned char *)&cipherKey[0], rk); in rijndael_key_setup_enc_amd64()
222 aes_encrypt_key192((unsigned char *)&cipherKey[0], rk); in rijndael_key_setup_enc_amd64()
225 aes_encrypt_key256((unsigned char *)&cipherKey[0], rk); in rijndael_key_setup_enc_amd64()
562 rijndael_key_setup_dec_amd64(uint32_t rk[], const uint32_t cipherKey[], in rijndael_key_setup_dec_amd64() argument
567 aes_decrypt_key128((unsigned char *)&cipherKey[0], rk); in rijndael_key_setup_dec_amd64()
570 aes_decrypt_key192((unsigned char *)&cipherKey[0], rk); in rijndael_key_setup_dec_amd64()
573 aes_decrypt_key256((unsigned char *)&cipherKey[0], rk); in rijndael_key_setup_dec_amd64()
H A Daes_intel.s168 rijndael_key_setup_enc_intel(uint32_t rk[], const uint32_t cipherKey[],
174 rijndael_key_setup_dec_intel(uint32_t rk[], const uint32_t cipherKey[],
/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c262 uint8_t *cipherKey; in get_symmetric_key_value() local
268 cipherKey = malloc(OBJ_SEC(key_p)->sk_value_len); in get_symmetric_key_value()
269 if (cipherKey == NULL) in get_symmetric_key_value()
272 (void) memcpy(cipherKey, OBJ_SEC(key_p)->sk_value, in get_symmetric_key_value()
275 return (cipherKey); in get_symmetric_key_value()