Home
last modified time | relevance | path

Searched refs:datalen (Results 1 – 9 of 9) sorted by relevance

/arch/s390/crypto/
Dcrc32-vx.c50 unsigned char const *data, size_t datalen) \
55 if (datalen < VX_MIN_LEN + VX_ALIGN_MASK) \
56 return ___crc32_sw(crc, data, datalen); \
61 datalen -= prealign; \
66 aligned = datalen & ~VX_ALIGN_MASK; \
67 remaining = datalen & VX_ALIGN_MASK; \
187 unsigned int datalen, u8 *out) \
190 data, datalen, out); \
211 unsigned int datalen) \
214 ctx->crc = func(ctx->crc, data, datalen); \
Dprng.c224 int datalen; in prng_tdes_instantiate() local
231 datalen = sizeof(struct prng_data_s) + prng_chunk_size; in prng_tdes_instantiate()
232 prng_data = kzalloc(datalen, GFP_KERNEL); in prng_tdes_instantiate()
370 int ret, datalen, seedlen; in prng_sha512_instantiate() local
378 datalen = sizeof(struct prng_data_s) + prng_chunk_size; in prng_sha512_instantiate()
380 datalen += prng_chunk_size; in prng_sha512_instantiate()
381 prng_data = kzalloc(datalen, GFP_KERNEL); in prng_sha512_instantiate()
/arch/powerpc/platforms/pseries/
Dplpks-secvar.c95 var.datalen = *data_size; in plpks_get_variable()
102 *data_size = var.datalen; in plpks_get_variable()
141 var.datalen = data_size - sizeof(flags); in plpks_set_variable()
170 var.datalen = 1; in plpks_secvar_format()
Dplpks.c437 if (!var->data || var->datalen <= 0 || var->namelen > PLPKS_MAX_NAME_SIZE) in plpks_signed_update_var()
461 virt_to_phys(var->data), var->datalen, in plpks_signed_update_var()
491 if (!var.component || !var.data || var.datalen <= 0 || in plpks_write_var()
492 var.namelen > PLPKS_MAX_NAME_SIZE || var.datalen > PLPKS_MAX_DATA_SIZE) in plpks_write_var()
510 virt_to_phys(var.data), var.datalen); in plpks_write_var()
602 if (!var->data || var->datalen > retbuf[0]) in plpks_read_var()
603 var->datalen = retbuf[0]; in plpks_read_var()
608 memcpy(var->data, output, var->datalen); in plpks_read_var()
/arch/s390/include/uapi/asm/
Dmonwriter.h27 unsigned short datalen; member
/arch/powerpc/include/asm/
Dplpks.h56 u16 datalen; member
Dsmu.h490 u8 datalen; /* length of transfer */ member
/arch/s390/kernel/
Dcert_store.c146 seq_printf(m, ": %u", key->datalen); in cert_store_key_describe()
/arch/powerpc/platforms/powermac/
Dlow_i2c.c855 cmd->info.datalen = len; in smu_i2c_xfer()