OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
Md5.c File Reference
#include "CryptoInternal.h"

Go to the source code of this file.

Macros

#define ROTLEFT(A, B)
 
#define F(X, Y, Z)
 
#define G(X, Y, Z)
 
#define H(X, Y, Z)
 
#define I(X, Y, Z)
 
#define FF(A, B, C, D, M, S, T)
 
#define GG(A, B, C, D, M, S, T)
 
#define HH(A, B, C, D, M, S, T)
 
#define II(A, B, C, D, M, S, T)
 

Detailed Description

OcCryptoLib

Copyright (c) 2018, savvas

All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file Md5.c.

Macro Definition Documentation

◆ F

#define F ( X,
Y,
Z )
Value:
((X & Y) | (~X & Z))

Definition at line 34 of file Md5.c.

◆ FF

#define FF ( A,
B,
C,
D,
M,
S,
T )
Value:
do { A += F(B,C,D) + M + T;\
A = B + ROTLEFT(A,S); } while (0)
#define ROTLEFT(A, B)
Definition Md5.c:32
#define F(X, Y, Z)
Definition Md5.c:34

Definition at line 39 of file Md5.c.

◆ G

#define G ( X,
Y,
Z )
Value:
((X & Z) | (Y & ~Z))

Definition at line 35 of file Md5.c.

◆ GG

#define GG ( A,
B,
C,
D,
M,
S,
T )
Value:
do { A += G(B,C,D) + M + T;\
A = B + ROTLEFT(A,S); } while (0)
#define G(X, Y, Z)
Definition Md5.c:35

Definition at line 41 of file Md5.c.

◆ H

#define H ( X,
Y,
Z )
Value:
(X ^ Y ^ Z)

Definition at line 36 of file Md5.c.

◆ HH

#define HH ( A,
B,
C,
D,
M,
S,
T )
Value:
do { A += H(B,C,D) + M + T;\
A = B + ROTLEFT(A,S); } while (0)
#define H(X, Y, Z)
Definition Md5.c:36

Definition at line 43 of file Md5.c.

◆ I

#define I ( X,
Y,
Z )
Value:
(Y ^ (X | ~Z))

Definition at line 37 of file Md5.c.

◆ II

#define II ( A,
B,
C,
D,
M,
S,
T )
Value:
do { A += I(B,C,D) + M + T;\
A = B + ROTLEFT(A,S); } while (0)
#define I(X, Y, Z)
Definition Md5.c:37

Definition at line 45 of file Md5.c.

◆ ROTLEFT

#define ROTLEFT ( A,
B )
Value:
((A << B) | (A >> (32 - B)))

Definition at line 32 of file Md5.c.