Home
last modified time | relevance | path

Searched refs:cra_blkcipher (Results 1 – 23 of 23) sorted by relevance

/linux-4.4.14/arch/x86/crypto/
Dfpu.c126 inst->alg.cra_blkcipher.ivsize = alg->cra_blkcipher.ivsize; in crypto_fpu_alloc()
127 inst->alg.cra_blkcipher.min_keysize = alg->cra_blkcipher.min_keysize; in crypto_fpu_alloc()
128 inst->alg.cra_blkcipher.max_keysize = alg->cra_blkcipher.max_keysize; in crypto_fpu_alloc()
132 inst->alg.cra_blkcipher.setkey = crypto_fpu_setkey; in crypto_fpu_alloc()
133 inst->alg.cra_blkcipher.encrypt = crypto_fpu_encrypt; in crypto_fpu_alloc()
134 inst->alg.cra_blkcipher.decrypt = crypto_fpu_decrypt; in crypto_fpu_alloc()
/linux-4.4.14/crypto/
Dblkcipher.c378 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey_unaligned()
399 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey()
422 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_encrypt()
436 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_decrypt()
449 struct blkcipher_alg *cipher = &alg->cra_blkcipher; in crypto_blkcipher_ctxsize()
464 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_async()
482 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_sync()
500 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops()
517 strncpy(rblkcipher.geniv, alg->cra_blkcipher.geniv ?: "<default>", in crypto_blkcipher_report()
521 rblkcipher.min_keysize = alg->cra_blkcipher.min_keysize; in crypto_blkcipher_report()
[all …]
Dcts.c309 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in crypto_cts_alloc()
310 inst->alg.cra_blkcipher.min_keysize = alg->cra_blkcipher.min_keysize; in crypto_cts_alloc()
311 inst->alg.cra_blkcipher.max_keysize = alg->cra_blkcipher.max_keysize; in crypto_cts_alloc()
318 inst->alg.cra_blkcipher.setkey = crypto_cts_setkey; in crypto_cts_alloc()
319 inst->alg.cra_blkcipher.encrypt = crypto_cts_encrypt; in crypto_cts_alloc()
320 inst->alg.cra_blkcipher.decrypt = crypto_cts_decrypt; in crypto_cts_alloc()
Decb.c143 inst->alg.cra_blkcipher.min_keysize = alg->cra_cipher.cia_min_keysize; in crypto_ecb_alloc()
144 inst->alg.cra_blkcipher.max_keysize = alg->cra_cipher.cia_max_keysize; in crypto_ecb_alloc()
151 inst->alg.cra_blkcipher.setkey = crypto_ecb_setkey; in crypto_ecb_alloc()
152 inst->alg.cra_blkcipher.encrypt = crypto_ecb_encrypt; in crypto_ecb_alloc()
153 inst->alg.cra_blkcipher.decrypt = crypto_ecb_decrypt; in crypto_ecb_alloc()
Dkeywrap.c372 inst->alg.cra_blkcipher.ivsize = SEMIBSIZE; in crypto_kw_alloc()
373 inst->alg.cra_blkcipher.min_keysize = alg->cra_cipher.cia_min_keysize; in crypto_kw_alloc()
374 inst->alg.cra_blkcipher.max_keysize = alg->cra_cipher.cia_max_keysize; in crypto_kw_alloc()
381 inst->alg.cra_blkcipher.setkey = crypto_kw_setkey; in crypto_kw_alloc()
382 inst->alg.cra_blkcipher.encrypt = crypto_kw_encrypt; in crypto_kw_alloc()
383 inst->alg.cra_blkcipher.decrypt = crypto_kw_decrypt; in crypto_kw_alloc()
Dpcbc.c252 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in crypto_pcbc_alloc()
253 inst->alg.cra_blkcipher.min_keysize = alg->cra_cipher.cia_min_keysize; in crypto_pcbc_alloc()
254 inst->alg.cra_blkcipher.max_keysize = alg->cra_cipher.cia_max_keysize; in crypto_pcbc_alloc()
261 inst->alg.cra_blkcipher.setkey = crypto_pcbc_setkey; in crypto_pcbc_alloc()
262 inst->alg.cra_blkcipher.encrypt = crypto_pcbc_encrypt; in crypto_pcbc_alloc()
263 inst->alg.cra_blkcipher.decrypt = crypto_pcbc_decrypt; in crypto_pcbc_alloc()
Dcbc.c246 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in crypto_cbc_alloc()
247 inst->alg.cra_blkcipher.min_keysize = alg->cra_cipher.cia_min_keysize; in crypto_cbc_alloc()
248 inst->alg.cra_blkcipher.max_keysize = alg->cra_cipher.cia_max_keysize; in crypto_cbc_alloc()
255 inst->alg.cra_blkcipher.setkey = crypto_cbc_setkey; in crypto_cbc_alloc()
256 inst->alg.cra_blkcipher.encrypt = crypto_cbc_encrypt; in crypto_cbc_alloc()
257 inst->alg.cra_blkcipher.decrypt = crypto_cbc_decrypt; in crypto_cbc_alloc()
Dxts.c317 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in alloc()
318 inst->alg.cra_blkcipher.min_keysize = in alloc()
320 inst->alg.cra_blkcipher.max_keysize = in alloc()
328 inst->alg.cra_blkcipher.setkey = setkey; in alloc()
329 inst->alg.cra_blkcipher.encrypt = encrypt; in alloc()
330 inst->alg.cra_blkcipher.decrypt = decrypt; in alloc()
Dlrw.c355 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in alloc()
356 inst->alg.cra_blkcipher.min_keysize = in alloc()
358 inst->alg.cra_blkcipher.max_keysize = in alloc()
366 inst->alg.cra_blkcipher.setkey = setkey; in alloc()
367 inst->alg.cra_blkcipher.encrypt = encrypt; in alloc()
368 inst->alg.cra_blkcipher.decrypt = decrypt; in alloc()
Dctr.c215 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in crypto_ctr_alloc()
216 inst->alg.cra_blkcipher.min_keysize = alg->cra_cipher.cia_min_keysize; in crypto_ctr_alloc()
217 inst->alg.cra_blkcipher.max_keysize = alg->cra_cipher.cia_max_keysize; in crypto_ctr_alloc()
224 inst->alg.cra_blkcipher.setkey = crypto_ctr_setkey; in crypto_ctr_alloc()
225 inst->alg.cra_blkcipher.encrypt = crypto_ctr_crypt; in crypto_ctr_alloc()
226 inst->alg.cra_blkcipher.decrypt = crypto_ctr_crypt; in crypto_ctr_alloc()
228 inst->alg.cra_blkcipher.geniv = "chainiv"; in crypto_ctr_alloc()
Dskcipher.c73 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_encrypt_blkcipher()
82 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_decrypt_blkcipher()
121 skcipher->has_setkey = calg->cra_blkcipher.max_keysize; in crypto_init_skcipher_ops_blkcipher()
Dablkcipher.c523 CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize : in crypto_default_geniv()
577 geniv = alg->cra_blkcipher.geniv; in crypto_givcipher_default()
635 CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize : in crypto_lookup_skcipher()
655 CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize : in crypto_lookup_skcipher()
Dcryptd.c376 inst->alg.cra_ablkcipher.ivsize = alg->cra_blkcipher.ivsize; in cryptd_create_blkcipher()
377 inst->alg.cra_ablkcipher.min_keysize = alg->cra_blkcipher.min_keysize; in cryptd_create_blkcipher()
378 inst->alg.cra_ablkcipher.max_keysize = alg->cra_blkcipher.max_keysize; in cryptd_create_blkcipher()
380 inst->alg.cra_ablkcipher.geniv = alg->cra_blkcipher.geniv; in cryptd_create_blkcipher()
Dalgboss.c254 CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize : in cryptomgr_schedule_test()
/linux-4.4.14/arch/arm64/crypto/
Daes-glue.c294 .cra_blkcipher = {
313 .cra_blkcipher = {
332 .cra_blkcipher = {
351 .cra_blkcipher = {
/linux-4.4.14/arch/arm/crypto/
Daes-ce-glue.c364 .cra_blkcipher = {
383 .cra_blkcipher = {
402 .cra_blkcipher = {
421 .cra_blkcipher = {
Daesbs-glue.c311 .cra_blkcipher = {
330 .cra_blkcipher = {
349 .cra_blkcipher = {
/linux-4.4.14/drivers/crypto/nx/
Dnx-aes-ecb.c142 .cra_blkcipher = {
Dnx-aes-cbc.c142 .cra_blkcipher = {
Dnx-aes-ctr.c158 .cra_blkcipher = {
/linux-4.4.14/drivers/crypto/vmx/
Daes_ctr.c177 .cra_blkcipher = {
Daes_cbc.c193 .cra_blkcipher = {
/linux-4.4.14/include/linux/
Dcrypto.h362 #define cra_blkcipher cra_u.blkcipher macro
1184 return &crypto_blkcipher_tfm(tfm)->__crt_alg->cra_blkcipher; in crypto_blkcipher_alg()