Home
last modified time | relevance | path

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

/openbmc/linux/lib/crypto/
H A Daes.c260 const u32 *rkp = ctx->key_enc + 4; in aes_encrypt() local
281 for (round = 0;; round += 2, rkp += 8) { in aes_encrypt()
282 st1[0] = mix_columns(subshift(st0, 0)) ^ rkp[0]; in aes_encrypt()
283 st1[1] = mix_columns(subshift(st0, 1)) ^ rkp[1]; in aes_encrypt()
284 st1[2] = mix_columns(subshift(st0, 2)) ^ rkp[2]; in aes_encrypt()
285 st1[3] = mix_columns(subshift(st0, 3)) ^ rkp[3]; in aes_encrypt()
290 st0[0] = mix_columns(subshift(st1, 0)) ^ rkp[4]; in aes_encrypt()
291 st0[1] = mix_columns(subshift(st1, 1)) ^ rkp[5]; in aes_encrypt()
292 st0[2] = mix_columns(subshift(st1, 2)) ^ rkp[6]; in aes_encrypt()
311 const u32 *rkp = ctx->key_dec + 4; in aes_decrypt() local
[all …]
/openbmc/linux/arch/arm64/crypto/
H A Daes-neon.S98 .macro do_block, enc, in, rounds, rk, rkp, i
100 add \rkp, \rk, #16
107 ld1 {v15.4s}, [\rkp], #16
114 .macro encrypt_block, in, rounds, rk, rkp, i
115 do_block 1, \in, \rounds, \rk, \rkp, \i
118 .macro decrypt_block, in, rounds, rk, rkp, i
119 do_block 0, \in, \rounds, \rk, \rkp, \i
207 add \rkp, \rk, #16
220 ld1 {v15.4s}, [\rkp], #16
232 do_block_4x 1, \in0, \in1, \in2, \in3, \rounds, \rk, \rkp, \i
[all …]
/openbmc/linux/arch/arm/crypto/
H A Dghash-ce-core.S397 .macro aes_encrypt, rkp, rounds, regs:vararg
398 vld1.8 {ek0-ek1}, [\rkp, :128]!
403 vld1.8 {ek0}, [\rkp, :128]!
405 vld1.8 {ek1}, [\rkp, :128]!
410 vld1.8 {ek0}, [\rkp, :128]!
412 vld1.8 {ek1}, [\rkp, :128]!
416 vld1.8 {ek0}, [\rkp, :128]!
418 vld1.8 {ek1}, [\rkp, :128]!
422 vld1.8 {ek0}, [\rkp, :128]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_btree.c2393 rkp = xfs_btree_key_addr(cur, 1, right); in xfs_btree_lshift()
2402 xfs_btree_copy_keys(cur, lkp, rkp, 1); in xfs_btree_lshift()
2524 union xfs_btree_key *rkp; /* right btree key */ in xfs_btree_rshift() local
2581 rkp = xfs_btree_key_addr(cur, 1, right); in xfs_btree_rshift()
2590 xfs_btree_shift_keys(cur, rkp, 1, rrecs); in xfs_btree_rshift()
2598 xfs_btree_copy_keys(cur, rkp, lkp, 1); in xfs_btree_rshift()
2604 ASSERT(cur->bc_ops->keys_inorder(cur, rkp, in xfs_btree_rshift()
2766 rkp = xfs_btree_key_addr(cur, 1, right); in __xfs_btree_split()
2776 xfs_btree_copy_keys(cur, rkp, lkp, rrecs); in __xfs_btree_split()
4139 rkp = xfs_btree_key_addr(cur, 1, right); in xfs_btree_delrec()
[all …]