Home
last modified time | relevance | path

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

/openbmc/linux/net/tls/
H A Dtls_sw.c198 int aead_size; in tls_decrypt_done() local
211 aead_size = sizeof(*aead_req) + crypto_aead_reqsize(aead); in tls_decrypt_done()
212 aead_size = ALIGN(aead_size, __alignof__(*dctx)); in tls_decrypt_done()
213 dctx = (void *)((u8 *)aead_req + aead_size); in tls_decrypt_done()
1468 int n_sgin, n_sgout, aead_size, err, pages = 0; in tls_decrypt_sg() local
1512 aead_size = sizeof(*aead_req) + crypto_aead_reqsize(ctx->aead_recv); in tls_decrypt_sg()
1513 aead_size = ALIGN(aead_size, __alignof__(*dctx)); in tls_decrypt_sg()
1514 mem = kmalloc(aead_size + struct_size(dctx, sg, size_add(n_sgin, n_sgout)), in tls_decrypt_sg()
1523 dctx = (struct tls_decrypt_ctx *)(mem + aead_size); in tls_decrypt_sg()