Lines Matching refs:key

276 	CipherKeyBF *key, sal_uInt32 *xl, sal_uInt32 *xr);
281 CipherKeyBF *key, sal_uInt32 *xl, sal_uInt32 *xr);
286 CipherKeyBF *key, sal_uInt32 x);
662 CipherKeyBF *key; in __rtl_cipherBF_init() local
666 key = &(ctx->m_key); in __rtl_cipherBF_init()
668 rtl_copyMemory (key, &__rtl_cipherBF_key, sizeof (CipherKeyBF)); in __rtl_cipherBF_init()
682 key->m_P[i] ^= D; in __rtl_cipherBF_init()
690 __rtl_cipherBF_encode (key, &DL, &DR); in __rtl_cipherBF_init()
691 key->m_P[i ] = DL; in __rtl_cipherBF_init()
692 key->m_P[i + 1] = DR; in __rtl_cipherBF_init()
699 __rtl_cipherBF_encode (key, &DL, &DR); in __rtl_cipherBF_init()
700 key->m_S[i][k ] = DL; in __rtl_cipherBF_init()
701 key->m_S[i][k + 1] = DR; in __rtl_cipherBF_init()
790 CipherKeyBF *key; in __rtl_cipherBF_updateECB() local
793 key = &(ctx->m_key); in __rtl_cipherBF_updateECB()
798 __rtl_cipherBF_encode (key, &DL, &DR); in __rtl_cipherBF_updateECB()
808 __rtl_cipherBF_decode (key, &DL, &DR); in __rtl_cipherBF_updateECB()
825 CipherKeyBF *key; in __rtl_cipherBF_updateCBC() local
828 key = &(ctx->m_key); in __rtl_cipherBF_updateCBC()
836 __rtl_cipherBF_encode (key, &DL, &DR); in __rtl_cipherBF_updateCBC()
854 __rtl_cipherBF_decode (key, &DL, &DR); in __rtl_cipherBF_updateCBC()
915 CipherKeyBF *key, sal_uInt32 *xl, sal_uInt32 *xr) in __rtl_cipherBF_encode() argument
925 XL ^= key->m_P[i]; in __rtl_cipherBF_encode()
926 XR ^= __rtl_cipherBF (key, XL); in __rtl_cipherBF_encode()
937 XR ^= key->m_P[CIPHER_ROUNDS_BF ]; in __rtl_cipherBF_encode()
938 XL ^= key->m_P[CIPHER_ROUNDS_BF + 1]; in __rtl_cipherBF_encode()
950 CipherKeyBF *key, sal_uInt32 *xl, sal_uInt32 *xr) in __rtl_cipherBF_decode() argument
960 XL ^= key->m_P[i]; in __rtl_cipherBF_decode()
961 XR ^= __rtl_cipherBF (key, XL); in __rtl_cipherBF_decode()
972 XR ^= key->m_P[1]; in __rtl_cipherBF_decode()
973 XL ^= key->m_P[0]; in __rtl_cipherBF_decode()
984 static sal_uInt32 __rtl_cipherBF (CipherKeyBF *key, sal_uInt32 x) in __rtl_cipherBF() argument
997 y = key->m_S[0][a]; in __rtl_cipherBF()
998 y += key->m_S[1][b]; in __rtl_cipherBF()
999 y ^= key->m_S[2][c]; in __rtl_cipherBF()
1000 y += key->m_S[3][d]; in __rtl_cipherBF()