Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/s390/crypto/
H A Daes_s390.c380 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); in xts_fallback_setkey() local
382 crypto_skcipher_clear_flags(xts_ctx->fallback, CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()
383 crypto_skcipher_set_flags(xts_ctx->fallback, in xts_fallback_setkey()
386 return crypto_skcipher_setkey(xts_ctx->fallback, key, len); in xts_fallback_setkey()
392 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); in xts_aes_set_key() local
409 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in xts_aes_set_key()
410 if (!xts_ctx->fc) in xts_aes_set_key()
415 xts_ctx->key_len = key_len; in xts_aes_set_key()
416 memcpy(xts_ctx->key, in_key, key_len); in xts_aes_set_key()
417 memcpy(xts_ctx in xts_aes_set_key()
424 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); xts_aes_crypt() local
492 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); xts_fallback_init() local
509 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); xts_fallback_exit() local
[all...]
/kernel/linux/linux-6.6/arch/s390/crypto/
H A Daes_s390.c381 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); in xts_fallback_setkey() local
383 crypto_skcipher_clear_flags(xts_ctx->fallback, CRYPTO_TFM_REQ_MASK); in xts_fallback_setkey()
384 crypto_skcipher_set_flags(xts_ctx->fallback, in xts_fallback_setkey()
387 return crypto_skcipher_setkey(xts_ctx->fallback, key, len); in xts_fallback_setkey()
393 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); in xts_aes_set_key() local
406 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in xts_aes_set_key()
407 if (!xts_ctx->fc) in xts_aes_set_key()
412 xts_ctx->key_len = key_len; in xts_aes_set_key()
413 memcpy(xts_ctx->key, in_key, key_len); in xts_aes_set_key()
414 memcpy(xts_ctx in xts_aes_set_key()
421 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); xts_aes_crypt() local
489 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); xts_fallback_init() local
506 struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm); xts_fallback_exit() local
[all...]

Completed in 3 milliseconds