Lines Matching refs:alg_type
214 if (unlikely(ctx->alg_type == SEC_SKCIPHER)) {
220 } else if (unlikely(ctx->alg_type == SEC_AEAD)) {
445 if (ctx->alg_type == SEC_AEAD) {
465 if (ctx->alg_type == SEC_AEAD)
468 if (ctx->alg_type == SEC_AEAD)
484 if (ctx->alg_type == SEC_AEAD) {
713 ctx->alg_type = SEC_SKCIPHER;
902 if (ctx->alg_type == SEC_AEAD)
913 if (!c_req->encrypt && ctx->alg_type == SEC_AEAD) {
935 if (ctx->alg_type == SEC_AEAD)
979 if (ctx->alg_type == SEC_AEAD) {
992 if (ctx->alg_type == SEC_AEAD) {
1008 if (!c_req->encrypt && ctx->alg_type == SEC_AEAD) {
1388 static void sec_update_iv(struct sec_req *req, enum sec_alg_type alg_type)
1399 sgl = alg_type == SEC_SKCIPHER ? sk_req->dst : aead_req->dst;
1401 sgl = alg_type == SEC_SKCIPHER ? sk_req->src : aead_req->src;
1403 if (alg_type == SEC_SKCIPHER) {
1786 sec_update_iv(req, ctx->alg_type);
1800 if (ctx->alg_type == SEC_SKCIPHER)
1885 ctx->alg_type = SEC_AEAD;