Lines Matching defs:assoclen
325 * 'assoclen' bytes of the scatterlist 'src'.
327 #define AES_PROCESS_ASSOC_DATA(ad_func, src, assoclen, ctx) \
329 unsigned int remaining = (assoclen); \
751 unsigned int assoclen)
753 AES_PROCESS_ASSOC_DATA(aes_gcm_auth_update, src, assoclen, ctx);
772 u8 iv[12], unsigned int assoclen)
778 crypto_aes_gcm_auth_update(&ctx, req->src, assoclen);
780 req->cryptlen, req->assoclen, &ctx);
782 memcpy_to_sglist(req->dst, req->assoclen + req->cryptlen, authtag,
790 u8 iv[12], unsigned int assoclen)
798 crypto_aes_gcm_auth_update(&ctx, req->src, assoclen);
803 data_len, req->assoclen, &ctx);
805 memcpy_from_sglist(authtag, req->src, req->assoclen + data_len,
817 return crypto_aes_gcm_encrypt_common(req, key, req->iv, req->assoclen);
825 return crypto_aes_gcm_decrypt_common(req, key, req->iv, req->assoclen);
868 if (crypto_ipsec_check_assoclen(req->assoclen) != 0)
874 req->assoclen - 8);
883 if (crypto_ipsec_check_assoclen(req->assoclen) != 0)
889 req->assoclen - 8);
934 err = aes_ccm_init(ctx, data_len, req->assoclen, nonce, nonce_len, key);
937 AES_PROCESS_ASSOC_DATA(aes_ccm_auth_update, req->src, req->assoclen,
968 req->cryptlen, req->assoclen, &ctx);
970 memcpy_to_sglist(req->dst, req->assoclen + req->cryptlen, authtag,
991 data_len, req->assoclen, &ctx);
992 memcpy_from_sglist(authtag, req->src, req->assoclen + data_len,