Searched refs:BF_ROUNDS (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.0-release/sys/crypto/blowfish/
H A Dblowfish.h75 #define BF_ROUNDS 16 macro
79 BF_LONG P[BF_ROUNDS+2];
H A Dbf_skey.c85 if (len > ((BF_ROUNDS + 2) * 4))
86 len = (BF_ROUNDS + 2) * 4;
90 for (i = 0; i < BF_ROUNDS + 2; i++) {
111 for (i = 0; i < BF_ROUNDS + 2; i += 2) {
H A Dbf_enc.c74 #if (BF_ROUNDS != 16) && (BF_ROUNDS != 20)
75 If you set BF_ROUNDS to some value other than 16 or 20, you will have
109 #if BF_ROUNDS == 20
115 r ^= p[BF_ROUNDS + 1];
134 l ^= p[BF_ROUNDS + 1];
135 #if BF_ROUNDS == 20
/freebsd-10.0-release/crypto/openssl/crypto/bf/
H A Dbf_skey.c83 if (len > ((BF_ROUNDS+2)*4)) len=(BF_ROUNDS+2)*4;
87 for (i=0; i<(BF_ROUNDS+2); i++)
109 for (i=0; i<(BF_ROUNDS+2); i+=2)
H A Dblowfish.h98 #define BF_ROUNDS 16 macro
103 BF_LONG P[BF_ROUNDS+2];
H A Dbf_locl.h166 t= KEY[BF_ROUNDS+2 + 0 + ((R>>24)&0xFF)], \
167 t+= KEY[BF_ROUNDS+2 + 256 + ((R>>16)&0xFF)], \
168 t^= KEY[BF_ROUNDS+2 + 512 + ((R>>8 )&0xFF)], \
169 t+= KEY[BF_ROUNDS+2 + 768 + ((R )&0xFF)], \
H A Dbf_enc.c67 #if (BF_ROUNDS != 16) && (BF_ROUNDS != 20)
68 #error If you set BF_ROUNDS to some value other than 16 or 20, you will have \
100 #if BF_ROUNDS == 20
106 r^=p[BF_ROUNDS+1];
134 #if BF_ROUNDS == 20
140 r^=k[BF_ROUNDS+1];
160 l^=p[BF_ROUNDS+1];
161 #if BF_ROUNDS == 20
194 l^=k[BF_ROUNDS
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/bf/asm/
H A Dbf-686.pl9 $BF_ROUNDS=16;
10 $BF_OFF=($BF_ROUNDS+2)*4;
51 for ($i=0; $i<$BF_ROUNDS; $i+=2)
61 &xor($R,&DWP(($BF_ROUNDS+1)*4,$P,"",0));
70 &xor($L,&DWP(($BF_ROUNDS+1)*4,$P,"",0));
71 for ($i=$BF_ROUNDS; $i>0; $i-=2)
H A Dbf-586.pl10 $BF_ROUNDS=16;
11 $BF_OFF=($BF_ROUNDS+2)*4;
54 for ($i=0; $i<$BF_ROUNDS; $i+=2)
65 &mov($tmp4,&DWP(($BF_ROUNDS+1)*4,$P,"",0));
69 &mov($tmp2,&DWP(($BF_ROUNDS+1)*4,$P,"",0));
73 for ($i=$BF_ROUNDS; $i>0; $i-=2)

Completed in 76 milliseconds