Home
last modified time | relevance | path

Searched refs:ckey_len (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/crypto/
H A Dpaes_s390.c446 unsigned int ckey_len, key_len; in xts_paes_set_key() local
471 ckey_len = (ctx->pk[0].type == PKEY_KEYTYPE_AES_128) ? in xts_paes_set_key()
473 memcpy(ckey, ctx->pk[0].protkey, ckey_len); in xts_paes_set_key()
474 memcpy(ckey + ckey_len, ctx->pk[1].protkey, ckey_len); in xts_paes_set_key()
475 return xts_verify_key(tfm, ckey, 2*ckey_len); in xts_paes_set_key()
/kernel/linux/linux-6.6/arch/s390/crypto/
H A Dpaes_s390.c461 unsigned int ckey_len, key_len; in xts_paes_set_key() local
486 ckey_len = (ctx->pk[0].type == PKEY_KEYTYPE_AES_128) ? in xts_paes_set_key()
488 memcpy(ckey, ctx->pk[0].protkey, ckey_len); in xts_paes_set_key()
489 memcpy(ckey + ckey_len, ctx->pk[1].protkey, ckey_len); in xts_paes_set_key()
490 return xts_verify_key(tfm, ckey, 2*ckey_len); in xts_paes_set_key()

Completed in 3 milliseconds