Searched refs:u (Results 1 – 9 of 9) sorted by relevance
| /crypto/ |
| A D | essiv.c | 45 } u; member 54 } u; member 74 crypto_skcipher_set_flags(tctx->u.skcipher, in essiv_skcipher_setkey() 246 aead_request_set_tfm(subreq, tctx->u.aead); in essiv_aead_crypt() 318 tctx->u.skcipher = skcipher; in essiv_skcipher_init_tfm() 351 tctx->u.aead = aead; in essiv_aead_init_tfm() 359 crypto_free_skcipher(tctx->u.skcipher); in essiv_skcipher_exit_tfm() 368 crypto_free_aead(tctx->u.aead); in essiv_aead_exit_tfm() 385 crypto_drop_aead(&ictx->u.aead_spawn); in essiv_aead_free_instance() 492 &ictx->u.skcipher_spawn); in essiv_create() [all …]
|
| A D | adiantum.c | 105 } u; member 253 struct shash_desc *hash_desc = &rctx->u.hash_desc; in adiantum_hash_message() 299 rctx->u.hash_desc.tfm = tctx->hash; in adiantum_finish() 306 err = crypto_shash_digest(&rctx->u.hash_desc, virt, bulk_len, in adiantum_finish() 361 rctx->u.hash_desc.tfm = tctx->hash; in adiantum_crypt() 410 skcipher_request_set_callback(&rctx->u.streamcipher_req, in adiantum_crypt() 413 return crypto_skcipher_encrypt(&rctx->u.streamcipher_req) ?: in adiantum_crypt() 458 BUILD_BUG_ON(offsetofend(struct adiantum_request_ctx, u) != in adiantum_init_tfm() 461 u.hash_desc) + in adiantum_init_tfm() 464 u.streamcipher_req) + in adiantum_init_tfm() [all …]
|
| A D | hctr2.c | 73 } u; member 175 struct shash_desc *hash_desc = &rctx->u.hash_desc; in hctr2_hash_tweak() 198 struct shash_desc *hash_desc = &rctx->u.hash_desc; in hctr2_hash_message() 235 struct shash_desc *hash_desc = &rctx->u.hash_desc; in hctr2_finish() 313 skcipher_request_set_tfm(&rctx->u.xctr_req, tctx->xctr); in hctr2_crypt() 314 skcipher_request_set_crypt(&rctx->u.xctr_req, rctx->bulk_part_src, in hctr2_crypt() 317 skcipher_request_set_callback(&rctx->u.xctr_req, in hctr2_crypt() 320 return crypto_skcipher_encrypt(&rctx->u.xctr_req) ?: in hctr2_crypt() 365 BUILD_BUG_ON(offsetofend(struct hctr2_request_ctx, u) != in hctr2_init_tfm() 369 sizeof_field(struct hctr2_request_ctx, u.xctr_req) + in hctr2_init_tfm() [all …]
|
| A D | streebog_generic.c | 984 } u = {}; in streebog_stage3() local 987 memcpy(u.buffer, src, len); in streebog_stage3() 988 u.buffer[len] = 1; in streebog_stage3() 990 streebog_g(&ctx->h, &ctx->N, &u.m); in streebog_stage3() 992 streebog_add512(&ctx->Sigma, &u.m, &ctx->Sigma); in streebog_stage3() 993 memzero_explicit(&u, sizeof(u)); in streebog_stage3()
|
| A D | ecc.c | 1054 vli_clear(u, ndigits); in vli_mod_inv() 1055 u[0] = 1; in vli_mod_inv() 1064 if (!EVEN(u)) in vli_mod_inv() 1065 carry = vli_add(u, u, mod, ndigits); in vli_mod_inv() 1067 vli_rshift1(u, ndigits); in vli_mod_inv() 1084 vli_add(u, u, mod, ndigits); in vli_mod_inv() 1086 vli_sub(u, u, v, ndigits); in vli_mod_inv() 1087 if (!EVEN(u)) in vli_mod_inv() 1088 carry = vli_add(u, u, mod, ndigits); in vli_mod_inv() 1090 vli_rshift1(u, ndigits); in vli_mod_inv() [all …]
|
| A D | chacha20poly1305.c | 53 } u; member 103 struct chacha_req *creq = &rctx->u.chacha; in chacha_decrypt() 207 struct chacha_req *creq = &rctx->u.chacha; in poly_genkey() 245 struct chacha_req *creq = &rctx->u.chacha; in chacha_encrypt() 348 align + offsetof(struct chachapoly_req_ctx, u) + in chachapoly_init()
|
| A D | gcm.c | 72 } u; member 179 struct skcipher_request *skreq = &pctx->u.skreq; in crypto_gcm_init_crypt() 204 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash_update() 222 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash_len() 395 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash() 448 struct skcipher_request *skreq = &pctx->u.skreq; in crypto_gcm_encrypt() 487 struct skcipher_request *skreq = &pctx->u.skreq; in gcm_dec_hash_continue() 540 align + offsetof(struct crypto_gcm_req_priv_ctx, u) + in crypto_gcm_init_tfm()
|
| A D | fcrypt.c | 225 union lc4 { __be32 l; u8 c[4]; } u; \ 226 u.l = sched ^ R; \ 227 L ^= sbox0[u.c[0]] ^ sbox1[u.c[1]] ^ sbox2[u.c[2]] ^ sbox3[u.c[3]]; \
|
| A D | drbg.c | 971 } u; in drbg_hash_generate() local 1000 u.req_int = cpu_to_be64(drbg->reseed_ctr); in drbg_hash_generate() 1001 drbg_add_buf(drbg->V, drbg_statelen(drbg), u.req, 8); in drbg_hash_generate()
|
Completed in 30 milliseconds