pike.git/
lib/
modules/
Crypto.pmod/
DSA.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-09-29
2014-09-29 23:55:47 by Martin Nilsson <nilsson@opera.com>
1591bac5eb1d89516dac4081ba18bfee25f59182 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.0
Verify that no additional payload is hidden in ASN.1 structures.
307:
//! algorithm @[h]. int(0..1) pkcs_verify(string(8bit) message, .Hash h, string(8bit) sign) {
-
Object a = Standards.ASN1.Decode.
simple
_der_decode(sign);
+
Object a = Standards.ASN1.Decode.
secure
_der_decode(sign);
// The signature is the DER-encoded ASN.1 sequence Dss-Sig-Value // with the two integers r and s. See RFC 3279 section 2.2.2.