/freebsd/sys/crypto/des/ |
H A D | des_locl.h | 68 #define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \ 69 l|=((DES_LONG)(*((c)++)))<< 8L, \ 70 l|=((DES_LONG)(*((c)++)))<<16L, \ 71 l|=((DES_LONG)(*((c)++)))<<24L) 78 case 8: l2 =((DES_LONG)(*(--(c))))<<24L; \ 79 case 7: l2|=((DES_LONG)(*(--(c))))<<16L; \ 80 case 6: l2|=((DES_LONG)(*(--(c))))<< 8L; \ 81 case 5: l2|=((DES_LONG)(*(--(c)))); \ 82 case 4: l1 =((DES_LONG)(*(--(c))))<<24L; \ 83 case 3: l1|=((DES_LONG)(*(--(c))))<<16L; \ [all …]
|
H A D | des_enc.c | 65 extern const DES_LONG des_SPtrans[8][64]; 67 void des_encrypt1(DES_LONG *data, des_key_schedule ks, int enc) in des_encrypt1() 69 DES_LONG l,r,t,u; in des_encrypt1() 76 DES_LONG *s; in des_encrypt1() 165 void des_encrypt2(DES_LONG *data, des_key_schedule ks, int enc) in des_encrypt2() 167 DES_LONG l,r,t,u; in des_encrypt2() 174 DES_LONG *s; in des_encrypt2() 256 void des_encrypt3(DES_LONG *data, des_key_schedule ks1, des_key_schedule ks2, in des_encrypt3() 259 DES_LONG l,r; in des_encrypt3() 266 des_encrypt2((DES_LONG *)data,ks1,DES_ENCRYPT); in des_encrypt3() [all …]
|
H A D | des.h | 58 #define DES_LONG uint32_t macro 67 DES_LONG deslong[2]; 86 void des_encrypt1(DES_LONG *, des_key_schedule, int); 87 void des_encrypt2(DES_LONG *, des_key_schedule, int); 88 void des_encrypt3(DES_LONG *, des_key_schedule, des_key_schedule, 90 void des_decrypt3(DES_LONG *, des_key_schedule, des_key_schedule,
|
H A D | des_ecb.c | 88 if (sizeof(DES_LONG) != sizeof(long)) in des_options() 100 register DES_LONG l; in des_ecb_encrypt() 101 DES_LONG ll[2]; in des_ecb_encrypt() 117 register DES_LONG l0,l1; in des_ecb3_encrypt() 118 DES_LONG ll[2]; in des_ecb3_encrypt()
|
H A D | des_setkey.c | 172 DES_LONG c,d,t,s,t2; in des_set_key_unchecked() 174 DES_LONG *k; in des_set_key_unchecked()
|
/freebsd/crypto/openssl/crypto/des/ |
H A D | des_local.h | 29 # define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \ 30 l|=((DES_LONG)(*((c)++)))<< 8L, \ 31 l|=((DES_LONG)(*((c)++)))<<16L, \ 32 l|=((DES_LONG)(*((c)++)))<<24L) 39 case 8: l2 =((DES_LONG)(*(--(c))))<<24L; \ 41 case 7: l2|=((DES_LONG)(*(--(c))))<<16L; \ 43 case 6: l2|=((DES_LONG)(*(--(c))))<< 8L; \ 45 case 5: l2|=((DES_LONG)(*(--(c)))); \ 47 case 4: l1 =((DES_LONG)(*(--(c))))<<24L; \ 49 case 3: l1|=((DES_LONG)(*(--(c))))<<16L; \ [all …]
|
H A D | qud_cksm.c | 25 #define Q_B0(a) (((DES_LONG)(a))) 26 #define Q_B1(a) (((DES_LONG)(a))<<8) 27 #define Q_B2(a) (((DES_LONG)(a))<<16) 28 #define Q_B3(a) (((DES_LONG)(a))<<24) 32 #define NOISE ((DES_LONG)83653421L) 34 DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[], in DES_quad_cksum() 37 DES_LONG z0, z1, t0, t1; in DES_quad_cksum() 41 DES_LONG *lp; in DES_quad_cksum() 45 lp = (DES_LONG *)&(output[0])[0]; in DES_quad_cksum() 57 t0 = (DES_LONG)(*(cp++)); in DES_quad_cksum() [all …]
|
H A D | des_enc.c | 20 void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc) in DES_encrypt1() 22 register DES_LONG l, r, t, u; in DES_encrypt1() 23 register DES_LONG *s; in DES_encrypt1() 91 void DES_encrypt2(DES_LONG *data, DES_key_schedule *ks, int enc) in DES_encrypt2() 93 register DES_LONG l, r, t, u; in DES_encrypt2() 94 register DES_LONG *s; in DES_encrypt2() 155 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, in DES_encrypt3() 158 register DES_LONG l, r; in DES_encrypt3() 165 DES_encrypt2((DES_LONG *)data, ks1, DES_ENCRYPT); in DES_encrypt3() 166 DES_encrypt2((DES_LONG *)data, ks2, DES_DECRYPT); in DES_encrypt3() [all …]
|
H A D | fcrypt_b.c | 31 void fcrypt_body(DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0, in fcrypt_body() 32 DES_LONG Eswap1) in fcrypt_body() 34 register DES_LONG l, r, t, u; in fcrypt_body() 35 register DES_LONG *s; in fcrypt_body() 37 register DES_LONG E0, E1; in fcrypt_body() 42 s = (DES_LONG *)ks; in fcrypt_body()
|
H A D | ncbc_enc.c | 27 register DES_LONG tin0, tin1; in DES_cbc_encrypt() 28 register DES_LONG tout0, tout1, xor0, xor1; in DES_cbc_encrypt() 30 DES_LONG tin[2]; in DES_cbc_encrypt() 45 DES_encrypt1((DES_LONG *)tin, _schedule, DES_ENCRYPT); in DES_cbc_encrypt() 57 DES_encrypt1((DES_LONG *)tin, _schedule, DES_ENCRYPT); in DES_cbc_encrypt() 76 DES_encrypt1((DES_LONG *)tin, _schedule, DES_DECRYPT); in DES_cbc_encrypt() 89 DES_encrypt1((DES_LONG *)tin, _schedule, DES_DECRYPT); in DES_cbc_encrypt()
|
H A D | cbc_cksm.c | 18 DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output, in DES_cbc_cksum() 22 register DES_LONG tout0, tout1, tin0, tin1; in DES_cbc_cksum() 24 DES_LONG tin[2]; in DES_cbc_cksum() 41 DES_encrypt1((DES_LONG *)tin, schedule, DES_ENCRYPT); in DES_cbc_cksum()
|
H A D | pcbc_enc.c | 22 register DES_LONG sin0, sin1, xor0, xor1, tout0, tout1; in DES_pcbc_encrypt() 23 DES_LONG tin[2]; in DES_pcbc_encrypt() 42 DES_encrypt1((DES_LONG *)tin, schedule, DES_ENCRYPT); in DES_pcbc_encrypt() 58 DES_encrypt1((DES_LONG *)tin, schedule, DES_DECRYPT); in DES_pcbc_encrypt()
|
H A D | ofb_enc.c | 28 register DES_LONG d0, d1, vv0, vv1, v0, v1, n = (numbits + 7) / 8; in DES_ofb_encrypt() 29 register DES_LONG mask0, mask1; in DES_ofb_encrypt() 32 DES_LONG ti[2]; in DES_ofb_encrypt() 59 DES_encrypt1((DES_LONG *)ti, schedule, DES_ENCRYPT); in DES_ofb_encrypt()
|
H A D | ecb_enc.c | 27 if (sizeof(DES_LONG) != sizeof(long)) in DES_options() 39 register DES_LONG l; in DES_ecb_encrypt() 40 DES_LONG ll[2]; in DES_ecb_encrypt()
|
H A D | xcbc_enc.c | 25 register DES_LONG tin0, tin1; in DES_xcbc_encrypt() 26 register DES_LONG tout0, tout1, xor0, xor1; in DES_xcbc_encrypt() 27 register DES_LONG inW0, inW1, outW0, outW1; in DES_xcbc_encrypt() 30 DES_LONG tin[2]; in DES_xcbc_encrypt()
|
H A D | cfb_enc.c | 34 register DES_LONG d0, d1, v0, v1; in DES_cfb_encrypt() 38 DES_LONG ti[2]; in DES_cfb_encrypt() 62 DES_encrypt1((DES_LONG *)ti, schedule, DES_ENCRYPT); in DES_cfb_encrypt() 109 DES_encrypt1((DES_LONG *)ti, schedule, DES_ENCRYPT); in DES_cfb_encrypt()
|
H A D | cfb64ede.c | 29 register DES_LONG v0, v1; in DES_ede3_cfb64_encrypt() 32 DES_LONG ti[2]; in DES_ede3_cfb64_encrypt() 96 register DES_LONG d0, d1, v0, v1; in DES_ede3_cfb_encrypt() 99 DES_LONG ti[2]; in DES_ede3_cfb_encrypt()
|
H A D | ecb3_enc.c | 22 register DES_LONG l0, l1; in DES_ecb3_encrypt() 23 DES_LONG ll[2]; in DES_ecb3_encrypt()
|
H A D | set_key.c | 142 static const DES_LONG des_skb[8][64] = { 329 register DES_LONG c, d, t, s, t2; in DES_set_key_unchecked() 331 register DES_LONG *k; in DES_set_key_unchecked()
|
H A D | ofb64ede.c | 28 register DES_LONG v0, v1; in DES_ede3_ofb64_encrypt() 33 DES_LONG ti[2]; in DES_ede3_ofb64_encrypt()
|
H A D | ofb64enc.c | 27 register DES_LONG v0, v1, t; in DES_ofb64_encrypt() 32 DES_LONG ti[2]; in DES_ofb64_encrypt()
|
H A D | cfb64enc.c | 28 register DES_LONG v0, v1; in DES_cfb64_encrypt() 31 DES_LONG ti[2]; in DES_cfb64_encrypt()
|
H A D | fcrypt.c | 100 DES_LONG Eswap0, Eswap1; in DES_fcrypt() 101 DES_LONG out[2], ll; in DES_fcrypt()
|
/freebsd/crypto/openssl/crypto/mdc2/ |
H A D | mdc2dgst.c | 24 #define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \ 25 l|=((DES_LONG)(*((c)++)))<< 8L, \ 26 l|=((DES_LONG)(*((c)++)))<<16L, \ 27 l|=((DES_LONG)(*((c)++)))<<24L) 79 register DES_LONG tin0, tin1; in mdc2_body() 80 register DES_LONG ttin0, ttin1; in mdc2_body() 81 DES_LONG d[2], dd[2]; in mdc2_body()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | des.h | 28 typedef unsigned int DES_LONG; typedef 48 DES_LONG deslong[2]; 82 DES_LONG DES_cbc_cksum(const unsigned char *input, DES_cblock *output, 121 void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc); 134 void DES_encrypt2(DES_LONG *data, DES_key_schedule *ks, int enc); 136 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2, 139 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2, 173 DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[],
|