Lines Matching refs:DES_cblock
62 void DES_3cbc_encrypt(DES_cblock *input, DES_cblock *output, long length, in DES_3cbc_encrypt()
63 DES_key_schedule ks1, DES_key_schedule ks2, DES_cblock *iv1, in DES_3cbc_encrypt()
64 DES_cblock *iv2, int enc) in DES_3cbc_encrypt()
68 DES_cblock niv1,niv2; in DES_3cbc_encrypt()
74 if (length >= sizeof(DES_cblock)) in DES_3cbc_encrypt()
75 memcpy(niv1,output[off],sizeof(DES_cblock)); in DES_3cbc_encrypt()
80 if (length >= sizeof(DES_cblock)) in DES_3cbc_encrypt()
81 memcpy(niv2,output[off],sizeof(DES_cblock)); in DES_3cbc_encrypt()
85 if (length >= sizeof(DES_cblock)) in DES_3cbc_encrypt()
86 memcpy(niv2,input[off],sizeof(DES_cblock)); in DES_3cbc_encrypt()
91 if (length >= sizeof(DES_cblock)) in DES_3cbc_encrypt()
92 memcpy(niv1,output[off],sizeof(DES_cblock)); in DES_3cbc_encrypt()
96 memcpy(*iv1,niv1,sizeof(DES_cblock)); in DES_3cbc_encrypt()
97 memcpy(*iv2,niv2,sizeof(DES_cblock)); in DES_3cbc_encrypt()