Lines Matching refs:authsize
620 unsigned int authsize) in otx_cpt_aead_set_authsize() argument
626 if (authsize != SHA1_DIGEST_SIZE && in otx_cpt_aead_set_authsize()
627 authsize != SHA1_TRUNC_DIGEST_SIZE) in otx_cpt_aead_set_authsize()
630 if (authsize == SHA1_TRUNC_DIGEST_SIZE) in otx_cpt_aead_set_authsize()
635 if (authsize != SHA256_DIGEST_SIZE && in otx_cpt_aead_set_authsize()
636 authsize != SHA256_TRUNC_DIGEST_SIZE) in otx_cpt_aead_set_authsize()
639 if (authsize == SHA256_TRUNC_DIGEST_SIZE) in otx_cpt_aead_set_authsize()
644 if (authsize != SHA384_DIGEST_SIZE && in otx_cpt_aead_set_authsize()
645 authsize != SHA384_TRUNC_DIGEST_SIZE) in otx_cpt_aead_set_authsize()
648 if (authsize == SHA384_TRUNC_DIGEST_SIZE) in otx_cpt_aead_set_authsize()
653 if (authsize != SHA512_DIGEST_SIZE && in otx_cpt_aead_set_authsize()
654 authsize != SHA512_TRUNC_DIGEST_SIZE) in otx_cpt_aead_set_authsize()
657 if (authsize == SHA512_TRUNC_DIGEST_SIZE) in otx_cpt_aead_set_authsize()
663 if (authsize != AES_GCM_ICV_SIZE) in otx_cpt_aead_set_authsize()
673 tfm->authsize = authsize; in otx_cpt_aead_set_authsize()