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

/illumos-gate/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);
872 * cipherKey User key
876 rijndael_key_setup_enc_raw(uint32_t rk[], const uint32_t cipherKey[], argument
882 rk[0] = cipherKey[0];
883 rk[1] = cipherKey[1];
884 rk[2] = cipherKey[2];
885 rk[3] = cipherKey[
987 rijndael_key_setup_enc(uint64_t rk[], const uint32_t cipherKey[], int keyBits) argument
1028 rijndael_key_setup_dec_raw(uint32_t rk[], const uint32_t cipherKey[], int keyBits) argument
1083 rijndael_key_setup_dec(uint64_t rk[], const uint32_t cipherKey[], int keyBits) argument
1231 rijndael_key_setup_dec(uint32_t rk[], const uint32_t cipherKey[], int keyBits) argument
1569 aes_init_keysched(const uint8_t *cipherKey, uint_t keyBits, void *keysched) argument
[all...]
H A Daes_impl.h131 extern void aes_init_keysched(const uint8_t *cipherKey, uint_t keyBits,
/illumos-gate/usr/src/common/crypto/des/
H A Ddes_impl.c845 des_init_keysched(uint8_t *cipherKey, des_strength_t strength, void *ks) argument
877 if (IS_P2ALIGNED(cipherKey, sizeof (uint64_t))) {
880 key_uint64[i] = *((uint64_t *)&cipherKey[j]);
888 htonll(*(uint64_t *)(void *)&cipherKey[j]);
890 key_uint64[i] = (((uint64_t)cipherKey[j] << 56) |
891 ((uint64_t)cipherKey[j + 1] << 48) |
892 ((uint64_t)cipherKey[j + 2] << 40) |
893 ((uint64_t)cipherKey[j + 3] << 32) |
894 ((uint64_t)cipherKey[j + 4] << 24) |
895 ((uint64_t)cipherKey[
[all...]
/illumos-gate/usr/src/common/crypto/aes/amd64/
H A Daeskey.c210 * cipherKey User key
214 rijndael_key_setup_enc_amd64(uint32_t rk[], const uint32_t cipherKey[], argument
219 aes_encrypt_key128((unsigned char *)&cipherKey[0], rk);
222 aes_encrypt_key192((unsigned char *)&cipherKey[0], rk);
225 aes_encrypt_key256((unsigned char *)&cipherKey[0], rk);
558 * cipherKey User key
562 rijndael_key_setup_dec_amd64(uint32_t rk[], const uint32_t cipherKey[], argument
567 aes_decrypt_key128((unsigned char *)&cipherKey[0], rk);
570 aes_decrypt_key192((unsigned char *)&cipherKey[0], rk);
573 aes_decrypt_key256((unsigned char *)&cipherKey[
[all...]
H A Daes_intel.s122 * const uint32_t cipherKey[], uint64_t keyBits);
124 * const uint32_t cipherKey[], uint64_t keyBits);
168 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[],
393 * int rijndael_key_setup_enc_intel(uint32_t rk[], const uint32_t cipherKey[],
595 * int rijndael_key_setup_dec_intel(uint32_t rk[], const uint32_t cipherKey[],
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c262 uint8_t *cipherKey; local
268 cipherKey = malloc(OBJ_SEC(key_p)->sk_value_len);
269 if (cipherKey == NULL)
272 (void) memcpy(cipherKey, OBJ_SEC(key_p)->sk_value,
275 return (cipherKey);

Completed in 71 milliseconds