/freebsd/contrib/wpa/src/crypto/ |
H A D | aes-internal.c | 779 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits) in rijndaelKeySetupEnc() argument 784 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc() 785 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc() 786 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc() 787 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc() 802 rk[4] = GETU32(cipherKey + 16); in rijndaelKeySetupEnc() 803 rk[5] = GETU32(cipherKey + 20); in rijndaelKeySetupEnc() 821 rk[6] = GETU32(cipherKey + 24); in rijndaelKeySetupEnc() 822 rk[7] = GETU32(cipherKey + 28); in rijndaelKeySetupEnc()
|
H A D | aes-internal-dec.c | 28 static int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits) in rijndaelKeySetupDec() argument 34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits); in rijndaelKeySetupDec()
|
H A D | aes_i.h | 123 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits);
|
/freebsd/sys/dev/qat/qat/ |
H A D | qat_ocf_utils.c | 112 Cpa8U *cipherKey; in qat_ocf_handle_session_update() local 128 cipherKey = crp->crp_cipher_key; in qat_ocf_handle_session_update() 145 if (!cipherKey) in qat_ocf_handle_session_update() 146 cipherKey = csp->csp_cipher_key; in qat_ocf_handle_session_update() 149 authKey = cipherKey; in qat_ocf_handle_session_update() 156 cipherKey, in qat_ocf_handle_session_update() 163 cipherKey, in qat_ocf_handle_session_update()
|
/freebsd/sys/contrib/openzfs/module/icp/algs/aes/ |
H A D | aes_impl_generic.c | 790 rijndael_key_setup_enc(uint32_t rk[], const uint32_t cipherKey[], in rijndael_key_setup_enc() argument 796 rk[0] = cipherKey[0]; in rijndael_key_setup_enc() 797 rk[1] = cipherKey[1]; in rijndael_key_setup_enc() 798 rk[2] = cipherKey[2]; in rijndael_key_setup_enc() 799 rk[3] = cipherKey[3]; in rijndael_key_setup_enc() 821 rk[4] = cipherKey[4]; in rijndael_key_setup_enc() 822 rk[5] = cipherKey[5]; in rijndael_key_setup_enc() 847 rk[6] = cipherKey[6]; in rijndael_key_setup_enc() 848 rk[7] = cipherKey[7]; in rijndael_key_setup_enc() 895 rijndael_key_setup_dec(uint32_t rk[], const uint32_t cipherKey[], int keyBits) in rijndael_key_setup_dec() argument [all …]
|
H A D | aes_impl.c | 42 aes_init_keysched(const uint8_t *cipherKey, uint_t keyBits, void *keysched) in aes_init_keysched() argument 78 if (IS_P2ALIGNED(cipherKey, sizeof (uint64_t))) { in aes_init_keysched() 81 keyarr.ka64[i] = *((uint64_t *)&cipherKey[j]); in aes_init_keysched() 84 memcpy(keyarr.ka32, cipherKey, keysize); in aes_init_keysched() 90 htonl(*(uint32_t *)(void *)&cipherKey[j]); in aes_init_keysched()
|
H A D | aes_impl_aesni.c | 33 const uint32_t cipherKey[], uint64_t keyBits); 35 const uint32_t cipherKey[], uint64_t keyBits);
|
/freebsd/sys/contrib/openzfs/module/icp/include/aes/ |
H A D | aes_impl.h | 128 extern void aes_init_keysched(const uint8_t *cipherKey, uint_t keyBits, 190 const uint32_t cipherKey[], int keyBits); 192 const uint32_t cipherKey[], int keyBits);
|
/freebsd/crypto/openssh/ |
H A D | rijndael.c | 630 rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) in rijndaelKeySetupEnc() argument 635 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc() 636 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc() 637 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc() 638 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc() 657 rk[4] = GETU32(cipherKey + 16); in rijndaelKeySetupEnc() 658 rk[5] = GETU32(cipherKey + 20); in rijndaelKeySetupEnc() 679 rk[6] = GETU32(cipherKey + 24); in rijndaelKeySetupEnc() 680 rk[7] = GETU32(cipherKey + 28); in rijndaelKeySetupEnc() 718 rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) [all …]
|
/freebsd/sys/crypto/rijndael/ |
H A D | rijndael-alg-fst.c | 733 int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) { in rijndaelKeySetupEnc() argument 739 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc() 740 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc() 741 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc() 742 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc() 761 rk[4] = GETU32(cipherKey + 16); in rijndaelKeySetupEnc() 762 rk[5] = GETU32(cipherKey + 20); in rijndaelKeySetupEnc() 783 rk[6] = GETU32(cipherKey + 24); in rijndaelKeySetupEnc() 784 rk[7] = GETU32(cipherKey + 28); in rijndaelKeySetupEnc() 821 int rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) { in rijndaelKeySetupDec() argument [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/ |
H A D | aeskey.c | 214 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 D | aes_aesni.S | 168 rijndael_key_setup_enc_intel(uint32_t rk[], const uint32_t cipherKey[], 170 (void) rk, (void) cipherKey, (void) keyBits; 174 rijndael_key_setup_dec_intel(uint32_t rk[], const uint32_t cipherKey[], 176 (void) rk, (void) cipherKey, (void) keyBits;
|