From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 855B5440B2 for ; Sun, 25 Sep 2022 00:18:32 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6168B68BC82; Sun, 25 Sep 2022 03:12:39 +0300 (EEST) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B152368BC81 for ; Sun, 25 Sep 2022 03:12:36 +0300 (EEST) Received: by mail-ej1-f49.google.com with SMTP id 13so7460406ejn.3 for ; Sat, 24 Sep 2022 17:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=UusPTNwipAxrpKp8FRCk/eJWR7xD/AGn1LfBcGqYz+M=; b=nIuvFltZPl3onjoQt4PC1NVMJyPsgUs21L6fpLoh8tNs9IS6YB7YJlDRYjzkJuw8wO X1MQR7t9B4/33rK6CgmDfxg6mYiblILXsIFqzdKZeLPVaqVTpv2r8myJS/+LxK3F7vk9 hFzOJWEKCYkqseytlheoYHUeV+jD96vymRA/5HkAaU1iWFwsVOxPLwpGl8VsvzYfYKzY JakjHkV+EnivEznxPXGe8x+YhCvuIq0XkphxgODnpChvWP2QoVzYhBxtn6nhoVRL6XGs I21V4ELPcBxjPROQmWeiSPnLDV+Y6xIruUZNQlbvKHN+vKJLUHvV+pb3Gp5LEoaqOwJ7 QgCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=UusPTNwipAxrpKp8FRCk/eJWR7xD/AGn1LfBcGqYz+M=; b=ckkGz0HDkbFdAzIj8MOFCs+0P4W8iWwdqgjsIt8fgZnP2gj+6ini++ppXN9uD5pzfm H+G6hT9Lvy51kwwREiCptGg1f83+AnqKiyDAhlfmDnmIIPDZiJO+Mo3w8b/gxELzNtM6 wQLwrWt2GJvnNRWNFsS/v5hxePIqVtzmPK9bjgDZOCN9tk3k5eIi0Och+lCWSG1BvumR dIUSkIFDWTEP1OEVoATRNL6I50Nq0dV5jrCKNV9E7ZAl3rfCY9jHwjoWg0Ge72PyIjnT w4K0jnSN8tKnm7fGJGxrBEuFJx4tb82Js2FV8JPNTx6bjJ6Qq0O/MWA1s6z2pQqsVduc e3dA== X-Gm-Message-State: ACrzQf0f2u4CY3Wji9V9JxdZSeSuEo95PW9WwrPFmqIOiTQyDQVqpoaR YwwFO4nQronFT+328BVdG0LlTLSPdA0= X-Google-Smtp-Source: AMsMyM4x3/ONzR/6TNA8jdpUuojvIXfOGmU75C6bnLCHUch+oMCsuN+S2M0VP8RKVcJnyDMxU93pfg== X-Received: by 2002:a17:907:7b95:b0:72f:9c64:4061 with SMTP id ne21-20020a1709077b9500b0072f9c644061mr12914103ejc.351.1664064756075; Sat, 24 Sep 2022 17:12:36 -0700 (PDT) Received: from MBP-von-Marvin.citadel.scalie.me (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id kz3-20020a17090777c300b007812ba2a360sm6208042ejc.149.2022.09.24.17.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 17:12:35 -0700 (PDT) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Sep 2022 02:11:14 +0200 Message-Id: <20220925001121.37721-48-epirat07@gmail.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20220925001121.37721-1-epirat07@gmail.com> References: <20220922020400.46715-1-epirat07@gmail.com> <20220925001121.37721-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 47/54] avutil/des: Add doxy for missing arguments X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Marvin Scholz Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Additionally reorder so that the arguments list matches the order of the arguments in the function declaration. --- libavutil/des.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavutil/des.h b/libavutil/des.h index 4cf11f5bca..3a3e6fa47c 100644 --- a/libavutil/des.h +++ b/libavutil/des.h @@ -43,6 +43,8 @@ AVDES *av_des_alloc(void); /** * @brief Initializes an AVDES context. * + * @param d pointer to a AVDES structure to initialize + * @param key pointer to the key to use * @param key_bits must be 64 or 192 * @param decrypt 0 for encryption/CBC-MAC, 1 for decryption * @return zero on success, negative value otherwise @@ -52,9 +54,10 @@ int av_des_init(struct AVDES *d, const uint8_t *key, int key_bits, int decrypt); /** * @brief Encrypts / decrypts using the DES algorithm. * - * @param count number of 8 byte blocks + * @param d pointer to the AVDES structure * @param dst destination array, can be equal to src, must be 8-byte aligned * @param src source array, can be equal to dst, must be 8-byte aligned, may be NULL + * @param count number of 8 byte blocks * @param iv initialization vector for CBC mode, if NULL then ECB will be used, * must be 8-byte aligned * @param decrypt 0 for encryption, 1 for decryption @@ -64,9 +67,10 @@ void av_des_crypt(struct AVDES *d, uint8_t *dst, const uint8_t *src, int count, /** * @brief Calculates CBC-MAC using the DES algorithm. * - * @param count number of 8 byte blocks + * @param d pointer to the AVDES structure * @param dst destination array, can be equal to src, must be 8-byte aligned * @param src source array, can be equal to dst, must be 8-byte aligned, may be NULL + * @param count number of 8 byte blocks */ void av_des_mac(struct AVDES *d, uint8_t *dst, const uint8_t *src, int count); -- 2.37.0 (Apple Git-136) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".