TAILIEUCHUNG - Cryptographic Algorithms on Reconfigurable Hardware- P5

Cryptographic Algorithms on Reconfigurable Hardware- P5: This chapter presents a complete outhne for this Book. It explains the main goals pursued, the strategies chosen to achieve those goals, and a summary of the material to be covered throughout this Book. | Modular Addition Operation 99 a5b5c5 a b4c A 1 B j Cg u a2b2 c2 A1 Bi AoBo C III ILL FA FA FA FA FA FA I s C4 r S3 c 3 S2 c si c So Co _T J HA HA HA HA HA HA D6 t5 D6 T d4 T3 d3 T2 D2 T D To Do 0 Fig. . Carry Delayed Adder combined in other words S A B and S A B n can be computed at the same time. Then we perform a sign detection to decide whether to take S or S as the correct sum. We will review algorithms of this type when we study modular multiplication algorithms. Omura s Method An efficient method computing the modular addition which especially useful for multioperand modular addition was proposed by Omura in 260 . Let n 2k. This method allows a temporary value to grow larger than n however it is always kept less than 2k. Whenever it exceeds 2k the carry-out is ignored and a correction is performed. The correction factor is m 2k n which is precomputed and saved in a register. Thus Omura s method performs the following steps given the integers A B 2k but they can be larger than n . 1. First compute S A B. 2. If there is a carry-out of the fcth bit then S S m else S S . The correctness of Omura s algorithm follows from the observations that If there is no carry-out then S A B is returned. The sum S is less than 2k but may be larger than n. In a future computation it will be brought below n if necessary. If there is a carry-out then we ignore the carry-out which means we compute S A B - 2k. The result which needs to be reduced modulo n is in effect reduced modulo 2k. We correct the result by adding m back to it and thus compute Please purchase PDF Split-Merge on to remove this watermark. 100 5. Prime Finite Field Arithmetic S S m A B-2k m A B 2k 2k n A B n. After all additions are completed a final result is reduced modulo n by using the standard technique. As an example let assume n 39. Thus we have m 26 39 25 011001 . The modular addition of A 40 and B 30 is performed using Omura s method as follows A 40 101000 B 30 011110 S A B 1 .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.