Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: components/test/data/webcrypto/rsa_pss.json

Issue 1077273002: html_viewer: Move webcrypto to a place where html_viewer can use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 // This contains known answer tests for verify operation of RSA-PSS (all are s uccesses). 2 // This contains known answer tests for verify operation of RSA-PSS (all are s uccesses).
3 3
4 // The keys are in SPKI format. 4 // The keys are in SPKI format.
5 "keys": { 5 "keys": {
6 "key1": "30819F300D06092A864886F70D010101050003818D0030818902818100A56E4A0E7 01017589A5187DC7EA841D156F2EC0E36AD52A44DFEB1E61F7AD991D8C51056FFEDB162B4C0F283A 12A88A394DFF526AB7291CBB307CEABFCE0B1DFD5CD9508096D5B2B8B6DF5D671EF6377C0921CB23 C270A70E2598E6FF89D19F105ACC2D3F0CB35F29280E1386B6F64C4EF22E1E1F20D0CE8CFFB2249B D9A21370203010001", 6 "key1": "30819F300D06092A864886F70D010101050003818D0030818902818100A56E4A0E7 01017589A5187DC7EA841D156F2EC0E36AD52A44DFEB1E61F7AD991D8C51056FFEDB162B4C0F283A 12A88A394DFF526AB7291CBB307CEABFCE0B1DFD5CD9508096D5B2B8B6DF5D671EF6377C0921CB23 C270A70E2598E6FF89D19F105ACC2D3F0CB35F29280E1386B6F64C4EF22E1E1F20D0CE8CFFB2249B D9A21370203010001",
7 "key2": "30819D300D06092A864886F70D010101050003818B0030818702818100BE499B5E7 F06C83FA0293E31465C8EB6B58AF920BAE52A7B5B9BFEB7AA72DB1264112EB3FD431D31A2A7E5094 1566929494A0E891ED5613918B4B51B0D1FB97783B26ACF7D0F384CFB35F4D2824F5DD380623A26B F180B63961C619DCDB20CAE406F22F6E276C80A37259490CFEB72C1A71A84F1846D330877BA3E310 1EC9C7B020111" 7 "key2": "30819D300D06092A864886F70D010101050003818B0030818702818100BE499B5E7 F06C83FA0293E31465C8EB6B58AF920BAE52A7B5B9BFEB7AA72DB1264112EB3FD431D31A2A7E5094 1566929494A0E891ED5613918B4B51B0D1FB97783B26ACF7D0F384CFB35F4D2824F5DD380623A26B F180B63961C619DCDB20CAE406F22F6E276C80A37259490CFEB72C1A71A84F1846D330877BA3E310 1EC9C7B020111"
8 }, 8 },
9 9
10 "tests": [ 10 "tests": [
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-2rsatestvectors.zi p (SigVerPSS_186-3.rsp) 49 // http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-2rsatestvectors.zi p (SigVerPSS_186-3.rsp)
50 { 50 {
51 "hash": "sha-512", 51 "hash": "sha-512",
52 "key": "key2", 52 "key": "key2",
53 "message": "c7f5270fca725f9bd19f519a8d7cca3cc5c079024029f3bae510f9b02140fe 238908e4f6c18f07a89c687c8684669b1f1db2baf9251a3c829faccb493084e16ec9e28d58868074 a5d6221667dd6e528d16fe2c9f3db4cfaf6c4dce8c8439af38ceaaaa9ce2ecae7bc8f4a5a55e3bf9 6df9cd575c4f9cb327951b8cdfe4087168", 53 "message": "c7f5270fca725f9bd19f519a8d7cca3cc5c079024029f3bae510f9b02140fe 238908e4f6c18f07a89c687c8684669b1f1db2baf9251a3c829faccb493084e16ec9e28d58868074 a5d6221667dd6e528d16fe2c9f3db4cfaf6c4dce8c8439af38ceaaaa9ce2ecae7bc8f4a5a55e3bf9 6df9cd575c4f9cb327951b8cdfe4087168",
54 "saltLength": 10, 54 "saltLength": 10,
55 "signature": "8ffc38f9b820ef6b080fd2ec7de5626c658d79056f3edf610a295b7b0546 f73e01ffdf4d0070ebf79c33fd86c2d608be9438b3d420d09535b97cd3d846ecaf8f6551cdf93197 e9f8fb048044473ab41a801e9f7fc983c62b324361dade9f71a65952bd35c59faaa4d6ff462f68a6 c4ec0b428aa47336f2178aeb276136563b7d" 55 "signature": "8ffc38f9b820ef6b080fd2ec7de5626c658d79056f3edf610a295b7b0546 f73e01ffdf4d0070ebf79c33fd86c2d608be9438b3d420d09535b97cd3d846ecaf8f6551cdf93197 e9f8fb048044473ab41a801e9f7fc983c62b324361dade9f71a65952bd35c59faaa4d6ff462f68a6 c4ec0b428aa47336f2178aeb276136563b7d"
56 } 56 }
57 ] 57 ]
58 } 58 }
OLDNEW
« no previous file with comments | « components/test/data/webcrypto/rsa_private_keys.json ('k') | components/test/data/webcrypto/sha.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698