https://acad-marius.s3.ca-central-1.amazonaws.com/ACAD_19_64.zip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <iostream> | |
// This function from https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.cpp#L110, | |
// MIT Licence. (c) 2009-2015 Satoshi Nakamoto and the Bitcoin Core developers | |
bool static IsValidSignatureEncoding(const std::vector<unsigned char> &sig) { | |
// Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] [sighash] | |
// * total-length: 1-byte length descriptor of everything that follows, | |
// excluding the sighash byte. | |
// * R-length: 1-byte length descriptor of the R value that follows. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library IEEE; | |
use IEEE.std_logic_1164.all; | |
use IEEE.numeric_std.all; | |
entity gcd is | |
port( | |
Ai, Bi : in unsigned(15 downto 0); | |
init, clk : in std_logic; | |
F : out unsigned(15 downto 0); | |
fini : out std_logic |
I hereby claim:
- I am maservant on github.
- I am servant (https://keybase.io/servant) on keybase.
- I have a public key ASD-l21HGoUfGh5fPAnzTiZU0dctnDojfvl6rsjJwDVaygo
To claim this, I am signing this object: