Home
last modified time | relevance | path

Searched refs:sbox (Results 1 – 11 of 11) sorted by relevance

/third_party/openssl/crypto/aes/asm/
Daes-x86_64.pl71 $sbox="%r14";
108 mov 0($sbox,$acc0,8),$t0
109 mov 0($sbox,$acc1,8),$t1
110 mov 0($sbox,$acc2,8),$t2
115 xor 3($sbox,$acc0,8),$t0
116 xor 3($sbox,$acc1,8),$t1
117 mov 0($sbox,$acc2,8),$t3
122 xor 3($sbox,$acc0,8),$t2
124 xor 3($sbox,$acc2,8),$t3
133 xor 2($sbox,$acc0,8),$t0
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c193 const struct pipe_box *sbox = &info->src.box; in emit_blit_buffer() local
204 assert((sbox->y == 0) && (sbox->height == 1)); in emit_blit_buffer()
206 assert((sbox->z == 0) && (sbox->depth == 1)); in emit_blit_buffer()
208 assert(sbox->width == dbox->width); in emit_blit_buffer()
230 sshift = sbox->x & 0x3f; in emit_blit_buffer()
233 for (unsigned off = 0; off < sbox->width; off += (0x4000 - 0x40)) { in emit_blit_buffer()
236 soff = (sbox->x + off) & ~0x3f; in emit_blit_buffer()
239 w = MIN2(sbox->width - off, (0x4000 - 0x40)); in emit_blit_buffer()
308 const struct pipe_box *sbox = &info->src.box; in emit_blit() local
343 sx1 = sbox->x; in emit_blit()
[all …]
/third_party/ffmpeg/libavutil/
Daes.c40 static uint8_t sbox[256]; variable
118 static inline void aes_crypt(AVAES *a, int s, const uint8_t *sbox, in aes_crypt() argument
128 subshift(&a->state[0], s, sbox); in aes_crypt()
138 aes_crypt(a, 2, sbox, enc_multbl); in aes_encrypt()
171 const uint8_t *sbox) in init_multbl2() argument
176 int x = sbox[i]; in init_multbl2()
220 sbox[i] = j; in av_aes_init()
225 log8, alog8, sbox); in av_aes_init()
238 tk[0][i] ^= sbox[tk[KC - 1][(i + 1) & 3]]; in av_aes_init()
247 tk[j][i] ^= sbox[tk[j - 1][i]]; in av_aes_init()
[all …]
/third_party/openssl/crypto/des/asm/
Ddes_enc.m4106 ! The macro also loads address sbox 1 to 5 to global 1 to 5, address
107 ! sbox 6 to local6, and address sbox 8 to out3.
109 ! Rotates the halves 3 left to bring the sbox bits in convenient positions.
153 nop !sethi %hi(DES_SPtrans), global1 ! sbox addr
157 nop !or global1, %lo(DES_SPtrans), global1 ! sbox addr
205 add global1, 1280, local6 ! address sbox 8
208 add global1, 1792, out3 ! address sbox 8
242 ! except that calculations for sbox 1 and sbox 5 begin before
257 ! The bits for each sbox are xor-ed with the key bits for that box.
259 ! the sbox table. Each sbox entry contains the 4 output bits permuted
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_blitter.c304 const struct pipe_box *sbox = &info->src.box; in emit_blit_buffer() local
320 assert((sbox->y == 0) && (sbox->height == 1)); in emit_blit_buffer()
322 assert((sbox->z == 0) && (sbox->depth == 1)); in emit_blit_buffer()
324 assert(sbox->width == dbox->width); in emit_blit_buffer()
346 sshift = sbox->x & 0x3f; in emit_blit_buffer()
351 for (unsigned off = 0; off < sbox->width; off += (0x4000 - 0x40)) { in emit_blit_buffer()
354 soff = (sbox->x + off) & ~0x3f; in emit_blit_buffer()
357 w = MIN2(sbox->width - off, (0x4000 - 0x40)); in emit_blit_buffer()
630 const struct pipe_box *sbox = &info->src.box; in emit_blit_texture() local
645 sx1 = sbox->x * nr_samples; in emit_blit_texture()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c678 struct pipe_box sbox, dstbox; in r600_resource_copy_region() local
730 sbox.x = util_format_get_nblocksx(src->format, src_box->x); in r600_resource_copy_region()
731 sbox.y = util_format_get_nblocksy(src->format, src_box->y); in r600_resource_copy_region()
732 sbox.z = src_box->z; in r600_resource_copy_region()
733 sbox.width = util_format_get_nblocksx(src->format, src_box->width); in r600_resource_copy_region()
734 sbox.height = util_format_get_nblocksy(src->format, src_box->height); in r600_resource_copy_region()
735 sbox.depth = src_box->depth; in r600_resource_copy_region()
736 src_box = &sbox; in r600_resource_copy_region()
751 sbox = *src_box; in r600_resource_copy_region()
752 sbox.x = util_format_get_nblocksx(src->format, src_box->x); in r600_resource_copy_region()
[all …]
Dr600_texture.c158 struct pipe_box sbox; in r600_copy_from_staging_texture() local
160 u_box_3d(0, 0, 0, transfer->box.width, transfer->box.height, transfer->box.depth, &sbox); in r600_copy_from_staging_texture()
165 src, 0, &sbox); in r600_copy_from_staging_texture()
171 src, 0, &sbox); in r600_copy_from_staging_texture()
/third_party/nghttp2/bpf/
Dreuseport_kern.c71 static const __u8 sbox[256] = { variable
126 #define getSBoxValue(num) (sbox[(num)])
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c879 struct pipe_box sbox; in i915_texture_transfer_unmap() local
881 u_box_origin_2d(itransfer->b.box.width, itransfer->b.box.height, &sbox); in i915_texture_transfer_unmap()
885 itransfer->staging_texture, 0, &sbox); in i915_texture_transfer_unmap()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c109 struct pipe_box sbox; in si_copy_from_staging_texture() local
111 u_box_3d(0, 0, 0, transfer->box.width, transfer->box.height, transfer->box.depth, &sbox); in si_copy_from_staging_texture()
118 transfer->box.z, src, 0, &sbox); in si_copy_from_staging_texture()
123 sbox.width = util_format_get_nblocksx(dst->format, sbox.width); in si_copy_from_staging_texture()
124 sbox.height = util_format_get_nblocksx(dst->format, sbox.height); in si_copy_from_staging_texture()
128 transfer->box.z, src, 0, &sbox); in si_copy_from_staging_texture()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c2421 struct pipe_box box, sbox; in handle_copy_buffer_to_image() local
2427 sbox.x = copycmd->pRegions[i].bufferOffset; in handle_copy_buffer_to_image()
2428 sbox.y = 0; in handle_copy_buffer_to_image()
2429 sbox.z = 0; in handle_copy_buffer_to_image()
2430 sbox.width = lvp_buffer_from_handle(copycmd->srcBuffer)->bo->width0; in handle_copy_buffer_to_image()
2431 sbox.height = 1; in handle_copy_buffer_to_image()
2432 sbox.depth = 1; in handle_copy_buffer_to_image()
2437 &sbox, in handle_copy_buffer_to_image()