OLD | NEW |
1 /* | 1 /* |
2 * Signature stuff. | 2 * Signature stuff. |
3 * | 3 * |
4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
7 /* $Id$ */ | |
8 | 7 |
9 #include <stdio.h> | 8 #include <stdio.h> |
10 #include "cryptohi.h" | 9 #include "cryptohi.h" |
11 #include "sechash.h" | 10 #include "sechash.h" |
12 #include "secder.h" | 11 #include "secder.h" |
13 #include "keyhi.h" | 12 #include "keyhi.h" |
14 #include "secoid.h" | 13 #include "secoid.h" |
15 #include "secdig.h" | 14 #include "secdig.h" |
16 #include "pk11func.h" | 15 #include "pk11func.h" |
17 #include "secerr.h" | 16 #include "secerr.h" |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 case SEC_OID_SHA512: | 487 case SEC_OID_SHA512: |
489 sigTag = SEC_OID_ANSIX962_ECDSA_SHA512_SIGNATURE; break; | 488 sigTag = SEC_OID_ANSIX962_ECDSA_SHA512_SIGNATURE; break; |
490 default: | 489 default: |
491 break; | 490 break; |
492 } | 491 } |
493 default: | 492 default: |
494 break; | 493 break; |
495 } | 494 } |
496 return sigTag; | 495 return sigTag; |
497 } | 496 } |
OLD | NEW |