MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / EncodeDSA_Signature

Function EncodeDSA_Signature

extra/yassl/taocrypt/src/asn.cpp:1154–1160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152
1153
1154word32 EncodeDSA_Signature(const byte* signature, byte* output)
1155{
1156 Integer r(signature, 20);
1157 Integer s(signature + 20, 20);
1158
1159 return EncodeDSA_Signature(r, s, output);
1160}
1161
1162
1163word32 EncodeDSA_Signature(const Integer& r, const Integer& s, byte* output)

Callers 3

dsa_testFunction · 0.85
buildMethod · 0.85
BuildMethod · 0.85

Calls 3

SetLengthFunction · 0.85
SetSequenceFunction · 0.85
EncodeMethod · 0.80

Tested by 1

dsa_testFunction · 0.68