/drivers/s390/crypto/ |
D | pkey_api.c | 95 int keysize; in pkey_clr2protkey() local 100 keysize = 16; in pkey_clr2protkey() 104 keysize = 24; in pkey_clr2protkey() 108 keysize = 32; in pkey_clr2protkey() 131 memcpy(paramblock, clrkey->clrkey, keysize); in pkey_clr2protkey() 138 protkey->len = keysize + 32; in pkey_clr2protkey() 139 memcpy(protkey->protkey, paramblock, keysize + 32); in pkey_clr2protkey() 313 int keysize; in pkey_genprotkey() local 318 keysize = 16; in pkey_genprotkey() 321 keysize = 24; in pkey_genprotkey() [all …]
|
D | zcrypt_ccamisc.c | 180 const u8 *token, size_t keysize, in cca_check_sececckeytoken() argument 193 if (t->len > keysize) { in cca_check_sececckeytoken() 196 __func__, (int)t->len, keysize); in cca_check_sececckeytoken() 300 int i, rc, keysize; in cca_genseckey() local 356 keysize = 16; in cca_genseckey() 361 keysize = 24; in cca_genseckey() 366 keysize = 32; in cca_genseckey() 422 prepparm->lv3.keyblock.tok, 8 * keysize); in cca_genseckey() 443 int rc, keysize, seckeysize; in cca_clr2seckey() local 497 keysize = 16; in cca_clr2seckey() [all …]
|
D | zcrypt_ep11misc.c | 878 const u8 *key, size_t keysize, in ep11_cryptsingle() argument 913 if (keysize > 0xFFFF || inbufsize > 0xFFFF) in ep11_cryptsingle() 918 + ASN1TAGLEN(keysize) + ASN1TAGLEN(inbufsize); in ep11_cryptsingle() 936 p += asn1tag_write(p, 0x04, key, keysize); in ep11_cryptsingle() 1174 const u8 *key, size_t keysize, in ep11_wrapkey() argument 1217 keysize = min_t(size_t, kb->head.len, keysize); in ep11_wrapkey() 1222 + ASN1TAGLEN(keysize) + 4; in ep11_wrapkey() 1243 p += asn1tag_write(p, 0x04, key, keysize); in ep11_wrapkey() 1246 kb = (struct ep11keyblob *)(p - keysize); in ep11_wrapkey()
|
D | zcrypt_ccamisc.h | 53 u16 keysize; /* key byte size */ member 156 const u8 *token, size_t keysize,
|
/drivers/crypto/ux500/cryp/ |
D | cryp.c | 119 *control_register |= (cryp_config->keysize << CRYP_CR_KEYSIZE_POS); in cryp_set_configuration() 314 switch (config->keysize) { in cryp_save_device_context() 364 switch (config->keysize) { in cryp_restore_device_context()
|
D | cryp.h | 90 int keysize; member
|
D | cryp_core.c | 952 ctx->config.keysize = CRYP_KEY_SIZE_128; in aes_skcipher_setkey() 956 ctx->config.keysize = CRYP_KEY_SIZE_192; in aes_skcipher_setkey() 960 ctx->config.keysize = CRYP_KEY_SIZE_256; in aes_skcipher_setkey()
|
/drivers/crypto/ |
D | hifn_795x.c | 617 unsigned int keysize; member 1145 if (ctx->keysize) in hifn_setup_cmd_desc() 1169 if (ctx->keysize != 16) in hifn_setup_cmd_desc() 1175 if (ctx->keysize != 24) in hifn_setup_cmd_desc() 1181 if (ctx->keysize != 32) in hifn_setup_cmd_desc() 1187 if (ctx->keysize != 24) in hifn_setup_cmd_desc() 1192 if (ctx->keysize != 8) in hifn_setup_cmd_desc() 1201 nbytes, nbytes, ctx->key, ctx->keysize, in hifn_setup_cmd_desc() 1587 ctx->key, ctx->keysize, in hifn_setup_session() 1956 ctx->keysize = len; in hifn_setkey() [all …]
|
D | talitos.c | 2225 unsigned int keysize = keylen; in ahash_setkey() local 2230 memcpy(ctx->key, key, keysize); in ahash_setkey() 2238 keysize = digestsize; in ahash_setkey() 2245 ctx->keylen = keysize; in ahash_setkey() 2246 ctx->dma_key = dma_map_single(dev, ctx->key, keysize, DMA_TO_DEVICE); in ahash_setkey()
|
/drivers/char/tpm/ |
D | tpm-sysfs.c | 24 __be32 keysize; member 69 be32_to_cpu(out->keysize)); in pubek_show()
|
/drivers/input/keyboard/ |
D | lm8323.c | 323 int keysize = (lm->size_x << 4) | lm->size_y; in lm8323_configure() local 337 lm8323_write(lm, 2, LM8323_CMD_SET_KEY_SIZE, keysize); in lm8323_configure()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu.h | 170 u8 keysize; /* MCAM keysize 112/224/448 bits */ member
|
D | rvu_npc.c | 199 if (mcam->keysize == NPC_MCAM_KEY_X2) in npc_get_bank() 1856 mcam->keysize = cfg; in npc_mcam_rsrcs_init()
|