Lines Matching refs:cd_length
348 if ((plaintext->cd_length & (BLOWFISH_BLOCK_LEN - 1)) != 0) in blowfish_encrypt()
360 if (ciphertext->cd_length < plaintext->cd_length) { in blowfish_encrypt()
361 ciphertext->cd_length = plaintext->cd_length; in blowfish_encrypt()
390 if ((ciphertext->cd_length & (BLOWFISH_BLOCK_LEN - 1)) != 0) in blowfish_decrypt()
402 if (plaintext->cd_length < ciphertext->cd_length) { in blowfish_decrypt()
403 plaintext->cd_length = ciphertext->cd_length; in blowfish_decrypt()
434 out_len += plaintext->cd_length; in blowfish_encrypt_update()
438 if (ciphertext->cd_length < out_len) { in blowfish_encrypt_update()
439 ciphertext->cd_length = out_len; in blowfish_encrypt_update()
444 saved_length = ciphertext->cd_length; in blowfish_encrypt_update()
471 ciphertext->cd_length = in blowfish_encrypt_update()
474 ciphertext->cd_length = saved_length; in blowfish_encrypt_update()
497 out_len += ciphertext->cd_length; in blowfish_decrypt_update()
501 if (plaintext->cd_length < out_len) { in blowfish_decrypt_update()
502 plaintext->cd_length = out_len; in blowfish_decrypt_update()
507 saved_length = plaintext->cd_length; in blowfish_decrypt_update()
534 plaintext->cd_length = in blowfish_decrypt_update()
537 plaintext->cd_length = saved_length; in blowfish_decrypt_update()
563 data->cd_length = 0; in blowfish_encrypt_final()
587 data->cd_length = 0; in blowfish_decrypt_final()
611 if ((plaintext->cd_length & (BLOWFISH_BLOCK_LEN - 1)) != 0) in blowfish_encrypt_atomic()
615 if (ciphertext->cd_length < plaintext->cd_length) { in blowfish_encrypt_atomic()
616 ciphertext->cd_length = plaintext->cd_length; in blowfish_encrypt_atomic()
635 saved_length = ciphertext->cd_length; in blowfish_encrypt_atomic()
669 ciphertext->cd_length = in blowfish_encrypt_atomic()
672 ciphertext->cd_length = saved_length; in blowfish_encrypt_atomic()
698 if ((ciphertext->cd_length & (BLOWFISH_BLOCK_LEN - 1)) != 0) in blowfish_decrypt_atomic()
702 if (plaintext->cd_length < ciphertext->cd_length) { in blowfish_decrypt_atomic()
703 plaintext->cd_length = ciphertext->cd_length; in blowfish_decrypt_atomic()
722 saved_length = plaintext->cd_length; in blowfish_decrypt_atomic()
756 plaintext->cd_length = in blowfish_decrypt_atomic()
759 plaintext->cd_length = saved_length; in blowfish_decrypt_atomic()