crypto: qat - remove unneeded semicolon
A semicolon is not needed after a switch statement. Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
76bb6a7b5b
commit
cc9a99fb89
@ -105,7 +105,7 @@ static int qat_get_inter_state_size(enum icp_qat_hw_auth_algo qat_hash_alg)
|
|||||||
return ICP_QAT_HW_SHA512_STATE1_SZ;
|
return ICP_QAT_HW_SHA512_STATE1_SZ;
|
||||||
default:
|
default:
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
};
|
}
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ static unsigned long qat_dh_fn_id(unsigned int len, bool g2)
|
|||||||
return g2 ? PKE_DH_G2_4096 : PKE_DH_4096;
|
return g2 ? PKE_DH_G2_4096 : PKE_DH_4096;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int qat_dh_compute_value(struct kpp_request *req)
|
static int qat_dh_compute_value(struct kpp_request *req)
|
||||||
@ -572,7 +572,7 @@ static unsigned long qat_rsa_enc_fn_id(unsigned int len)
|
|||||||
return PKE_RSA_EP_4096;
|
return PKE_RSA_EP_4096;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#define PKE_RSA_DP1_512 0x1c161b3c
|
#define PKE_RSA_DP1_512 0x1c161b3c
|
||||||
@ -601,7 +601,7 @@ static unsigned long qat_rsa_dec_fn_id(unsigned int len)
|
|||||||
return PKE_RSA_DP1_4096;
|
return PKE_RSA_DP1_4096;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#define PKE_RSA_DP2_512 0x1c131b57
|
#define PKE_RSA_DP2_512 0x1c131b57
|
||||||
@ -630,7 +630,7 @@ static unsigned long qat_rsa_dec_fn_id_crt(unsigned int len)
|
|||||||
return PKE_RSA_DP2_4096;
|
return PKE_RSA_DP2_4096;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int qat_rsa_enc(struct akcipher_request *req)
|
static int qat_rsa_enc(struct akcipher_request *req)
|
||||||
|
Loading…
Reference in New Issue
Block a user