Lines Matching refs:authenc
660 static int cc_aead_setauthsize(struct crypto_aead *authenc, in cc_aead_setauthsize() argument
663 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_aead_setauthsize()
668 authsize > crypto_aead_maxauthsize(authenc)) { in cc_aead_setauthsize()
678 static int cc_rfc4309_ccm_setauthsize(struct crypto_aead *authenc, in cc_rfc4309_ccm_setauthsize() argument
690 return cc_aead_setauthsize(authenc, authsize); in cc_rfc4309_ccm_setauthsize()
693 static int cc_ccm_setauthsize(struct crypto_aead *authenc, in cc_ccm_setauthsize() argument
709 return cc_aead_setauthsize(authenc, authsize); in cc_ccm_setauthsize()
2178 static int cc_gcm_setauthsize(struct crypto_aead *authenc, in cc_gcm_setauthsize() argument
2194 return cc_aead_setauthsize(authenc, authsize); in cc_gcm_setauthsize()
2197 static int cc_rfc4106_gcm_setauthsize(struct crypto_aead *authenc, in cc_rfc4106_gcm_setauthsize() argument
2200 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_rfc4106_gcm_setauthsize()
2214 return cc_aead_setauthsize(authenc, authsize); in cc_rfc4106_gcm_setauthsize()
2217 static int cc_rfc4543_gcm_setauthsize(struct crypto_aead *authenc, in cc_rfc4543_gcm_setauthsize() argument
2220 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_rfc4543_gcm_setauthsize()
2228 return cc_aead_setauthsize(authenc, authsize); in cc_rfc4543_gcm_setauthsize()