⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sha512.v

📁 安全散列函数的VERILOG实现
💻 V
📖 第 1 页 / 共 4 页
字号:
                                        W6[63:32] <= text_i;
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd14:
                                begin
                                        W7[31:0] <= text_i;
                                        Wt[31:0] <= text_i;
                                        
                                        H <= G;
                                        G <= F;
                                        F <= E;
                                        E <= next_E;
                                        D <= C;
                                        C <= B;
                                        B <= A;
                                        A <= next_A;

                                        round <= round_plus_1;
                                end
                        'd15:
                                begin
                                        W7[63:32] <= text_i;
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd16:
                                begin
                                        W8[31:0] <= text_i;
                                        Wt[31:0] <= text_i;
                                        
                                        H <= G;
                                        G <= F;
                                        F <= E;
                                        E <= next_E;
                                        D <= C;
                                        C <= B;
                                        B <= A;
                                        A <= next_A;

                                        round <= round_plus_1;
                                end
                        'd17:
                                begin
                                        W8[63:32] <= text_i;
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd18:
                                begin
                                        W9[31:0] <= text_i;
                                        Wt[31:0] <= text_i;
                                        
                                        H <= G;
                                        G <= F;
                                        F <= E;
                                        E <= next_E;
                                        D <= C;
                                        C <= B;
                                        B <= A;
                                        A <= next_A;

                                        round <= round_plus_1;
                                end
                        'd19:
                                begin
                                        W9[63:32] <= text_i;
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd20:
                                begin
                                        W10[31:0] <= text_i;
                                        Wt[31:0] <= text_i;
                                        
                                        H <= G;
                                        G <= F;
                                        F <= E;
                                        E <= next_E;
                                        D <= C;
                                        C <= B;
                                        B <= A;
                                        A <= next_A;

                                        round <= round_plus_1;
                                end
                        'd21:
                                begin
                                        W10[63:32] <= text_i;
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd22:
                                begin
                                        W11[31:0] <= text_i;
                                        Wt[31:0] <= text_i;
                                        
                                        H <= G;
                                        G <= F;
                                        F <= E;
                                        E <= next_E;
                                        D <= C;
                                        C <= B;
                                        B <= A;
                                        A <= next_A;

                                        round <= round_plus_1;
                                end
                        'd23:
                                begin
                                        W11[63:32] <= text_i;
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd24:
                                begin
                                        W12[31:0] <= text_i;
                                        Wt[31:0] <= text_i;
                                        
                                        H <= G;
                                        G <= F;
                                        F <= E;
                                        E <= next_E;
                                        D <= C;
                                        C <= B;
                                        B <= A;
                                        A <= next_A;

                                        round <= round_plus_1;
                                end
                        'd25:
                                begin
                                        W12[63:32] <= text_i;
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd26:
                                begin
                                        W13[31:0] <= text_i;
                                        Wt[31:0] <= text_i;
                                        
                                        H <= G;
                                        G <= F;
                                        F <= E;
                                        E <= next_E;
                                        D <= C;
                                        C <= B;
                                        B <= A;
                                        A <= next_A;

                                        round <= round_plus_1;
                                end
                        'd27:
                                begin
                                        W13[63:32] <= text_i;
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd28:
                                begin
                                        W14[31:0] <= text_i;
                                        Wt[31:0] <= text_i;
                                        
                                        H <= G;
                                        G <= F;
                                        F <= E;
                                        E <= next_E;
                                        D <= C;
                                        C <= B;
                                        B <= A;
                                        A <= next_A;

                                        round <= round_plus_1;
                                end
                        'd29:
                                begin
                                        W14[63:32] <= text_i;
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd30:
                                begin
                                        Wt[31:0] <= text_i;
                                        
                                        H <= G;
                                        G <= F;
                                        F <= E;
                                        E <= next_E;
                                        D <= C;
                                        C <= B;
                                        B <= A;
                                        A <= next_A;

                                        round <= round_plus_1;
                                end
                        'd31:
                                begin
                                        Wt[63:32] <= text_i;
                                        round <= round_plus_1;
                                end
                        'd32,
                        'd33,
                        'd34,
                        'd35,
                        'd36,
                        'd37,
                        'd38,
                        'd39,
                        'd40,
                        'd41,
                        'd42,
                        'd43,
                        'd44,
                        'd45,
                        'd46,
                        'd47,
                        'd48,
                        'd49,
                        'd50,
                        'd51,
                        'd52,
                        'd53,
                        'd54,
                        'd55,
                        'd56,
                        'd57,
                        'd58,
                        'd59,
                        'd60,
                        'd61,
                        'd62,
                        'd63,
                        'd64,
                        'd65,
                        'd66,
                        'd67,
                        'd68,
                        'd69,
                        'd70,
                        'd71,
                        'd72,
                        'd73,
                        'd74,
                        'd75,
                        'd76,
                        'd77,
                        'd78,
                        'd79,
                        'd80,
                        'd81,
                        'd82,
                        'd83,
                        'd84,
                        'd85,
                        'd86,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -