Home
last modified time | relevance | path

Searched refs:bs (Results 1 – 14 of 14) sorted by relevance

/arch/s390/crypto/
A Dhmac_s390.c53 #define SHA2_CV_SIZE(bs) ((bs) >> 1) argument
54 #define SHA2_IMBL_SIZE(bs) ((bs) >> 3) argument
56 #define SHA2_IMBL_OFFSET(bs) (SHA2_CV_SIZE(bs)) argument
57 #define SHA2_KEY_OFFSET(bs) (SHA2_CV_SIZE(bs) + SHA2_IMBL_SIZE(bs)) argument
176 if (keylen > bs) in s390_hmac_sha2_setkey()
190 tfm_ctx->key, bs); in s390_hmac_sha2_init()
275 unsigned int bs; in s390_hmac_export_zero() local
280 for (i = 0; i < bs; i++) in s390_hmac_export_zero()
292 unsigned int ds = bs / 2; in s390_hmac_export()
305 lo += bs; in s390_hmac_export()
[all …]
A Dphmac_s390.c110 #define SHA2_CV_SIZE(bs) ((bs) >> 1) argument
111 #define SHA2_IMBL_SIZE(bs) ((bs) >> 3) argument
113 #define SHA2_IMBL_OFFSET(bs) (SHA2_CV_SIZE(bs)) argument
114 #define SHA2_KEY_OFFSET(bs) (SHA2_CV_SIZE(bs) + SHA2_IMBL_SIZE(bs)) argument
413 offset = ctx->buflen[0] % bs; in phmac_kmac_update()
414 if (offset + hwh->walkbytes < bs) in phmac_kmac_update()
419 n = bs - offset; in phmac_kmac_update()
424 if (likely(k == bs)) in phmac_kmac_update()
459 while (hwh->walkbytes >= bs) { in phmac_kmac_update()
460 n = (hwh->walkbytes / bs) * bs; in phmac_kmac_update()
[all …]
/arch/arm64/crypto/
A Dsha3-ce-glue.c39 unsigned int bs, ds; in sha3_update() local
43 bs = crypto_shash_blocksize(tfm); in sha3_update()
44 blocks = len / bs; in sha3_update()
45 len -= blocks * bs; in sha3_update()
52 data += (blocks - rem) * bs; in sha3_update()
65 unsigned int bs, ds; in sha3_finup() local
69 bs = crypto_shash_blocksize(tfm); in sha3_finup()
73 memset(block + len, 0, bs - len); in sha3_finup()
74 block[bs - 1] |= 0x80; in sha3_finup()
A DMakefile56 obj-$(CONFIG_CRYPTO_AES_ARM64_BS) += aes-neon-bs.o
57 aes-neon-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
/arch/powerpc/include/asm/
A Dbitops.h48 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) argument
56 #define PPC_BITMASK32(bs, be) ((PPC_BIT32(bs) - PPC_BIT32(be))|PPC_BIT32(bs)) argument
60 #define PPC_BITMASK8(bs, be) ((PPC_BIT8(bs) - PPC_BIT8(be))|PPC_BIT8(bs)) argument
/arch/powerpc/lib/
A Drheap.c175 bs = blk->start; in attach_free_block()
176 be = bs + blk->size; in attach_free_block()
184 if (e == bs) in attach_free_block()
398 bs = blk->start; in rh_detach_region()
400 if (s >= bs && e <= be) in rh_detach_region()
418 if (bs == s) in rh_detach_region()
424 blk->size = s - bs; in rh_detach_region()
555 bs = blk->start; in rh_alloc_fixed()
557 if (s >= bs && e <= be) in rh_alloc_fixed()
580 if (bs == s) in rh_alloc_fixed()
[all …]
/arch/mips/txx9/generic/
A Dmem_tx4927.c43 unsigned int bs = 0; in tx4927_process_sdccr() local
58 bs = 2 << sdccr_bs; in tx4927_process_sdccr()
64 return rs * cs * mw * bs; in tx4927_process_sdccr()
/arch/x86/boot/
A Dgenimage.sh211 $dd if=/dev/zero of="$FIMAGE" bs=1024 count=1440 2>/dev/null
219 $dd if=/dev/zero of="$FIMAGE" bs=1024 count=2880 2>/dev/null
238 $dd if=/dev/zero of="$FIMAGE" bs=$((1024*1024)) count=$megs 2>/dev/null
240 $dd if="$mbr" of="$FIMAGE" bs=440 count=1 conv=notrunc 2>/dev/null
A DMakefile62 cmd_image = (dd if=$< bs=4k conv=sync status=none; cat $(filter-out $<,$(real-prereqs))) >$@
/arch/arm/crypto/
A DMakefile7 obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o
16 aes-arm-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
/arch/s390/include/asm/
A Deadm.h47 u16 bs:4; member
A Dap.h108 unsigned int bs : 2; /* SE bind/assoc */ member
/arch/arm/boot/dts/xilinx/
A Dzynq-cc108.dts67 label = "qspi-fsbl-uboot-bs";
/arch/powerpc/boot/
A Dwrapper560 count=$overlay_size bs=1
564 count=$overlay_size bs=1

Completed in 40 milliseconds