IMAP CRAM-MD5 authentication method. More...
#include "config.h"#include <stdio.h>#include <string.h>#include "private.h"#include "mutt/lib.h"#include "conn/lib.h"#include "adata.h"#include "auth.h"
Include dependency graph for auth_cram.c:Go to the source code of this file.
Macros | |
| #define | MD5_BLOCK_LEN 64 |
| #define | MD5_DIGEST_LEN 16 |
Functions | |
| static void | hmac_md5 (const char *password, const char *challenge, unsigned char *response) |
| Produce CRAM-MD5 challenge response. | |
| enum ImapAuthRes | imap_auth_cram_md5 (struct ImapAccountData *adata, const char *method) |
| Authenticate using CRAM-MD5 - Implements ImapAuth::authenticate() -. | |
IMAP CRAM-MD5 authentication method.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file auth_cram.c.
| #define MD5_BLOCK_LEN 64 |
Definition at line 40 of file auth_cram.c.
| #define MD5_DIGEST_LEN 16 |
Definition at line 41 of file auth_cram.c.
|
static |
Produce CRAM-MD5 challenge response.
| [in] | password | Password to encrypt |
| [in] | challenge | Challenge from server |
| [out] | response | Buffer for the response |
Definition at line 49 of file auth_cram.c.
Here is the call graph for this function:
Here is the caller graph for this function: