PandA-2024.02
Macros
bf_locl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define n2l(c, l)
 
#define l2n(l, c)
 
#define BF_ENC(LL, R, S, P)
 

Macro Definition Documentation

◆ BF_ENC

#define BF_ENC (   LL,
  R,
  S,
  P 
)
Value:
LL^=P; \
LL^=((( S[ (R>>24L) ] + \
S[0x0100+((R>>16L)&0xff)])^ \
S[0x0200+((R>> 8L)&0xff)])+ \
S[0x0300+((R )&0xff)])&0xffffffff;
#define R
Definition: mips.c:40
const size_t P
Definition: helm.c:5
#define L
Definition: spmv.h:13

Definition at line 99 of file bf_locl.h.

Referenced by BF_encrypt().

◆ l2n

#define l2n (   l,
 
)
Value:
(*((c)++)=(unsigned char)(((l)>>24L)&0xff), \
*((c)++)=(unsigned char)(((l)>>16L)&0xff), \
*((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
*((c)++)=(unsigned char)(((l) )&0xff))
#define L
Definition: spmv.h:13

Definition at line 91 of file bf_locl.h.

Referenced by __attribute__(), and BF_cfb64_encrypt().

◆ n2l

#define n2l (   c,
 
)
Value:
(l =((unsigned long)(*((c)++)))<<24L, \
l|=((unsigned long)(*((c)++)))<<16L, \
l|=((unsigned long)(*((c)++)))<< 8L, \
l|=((unsigned long)(*((c)++))))
#define L
Definition: spmv.h:13

Definition at line 85 of file bf_locl.h.

Referenced by __attribute__(), and BF_cfb64_encrypt().


Generated on Mon Feb 12 2024 13:03:07 for PandA-2024.02 by doxygen 1.8.13