def constants

bend-collections@1.0.0.0 · proofs/crypto/sha/packed/legacy_model.bend:9

import bend-collections@1.0.0.0/proofs/crypto/sha/packed/legacy_model.bend as LegacyModel
import Base

9# The core refinement theorem quantifies over every constant table.
10# Instantiate the verified core with the FIPS 180-4 constants.
11def constants() -> List<&2, U32>:
12  [1116352408, 1899447441, 3049323471, 3921009573,
13   961987163, 1508970993, 2453635748, 2870763221,
14   3624381080, 310598401, 607225278, 1426881987,
15   1925078388, 2162078206, 2614888103, 3248222580,
16   3835390401, 4022224774, 264347078, 604807628,
17   770255983, 1249150122, 1555081692, 1996064986,
18   2554220882, 2821834349, 2952996808, 3210313671,
19   3336571891, 3584528711, 113926993, 338241895,
20   666307205, 773529912, 1294757372, 1396182291,
21   1695183700, 1986661051, 2177026350, 2456956037,
22   2730485921, 2820302411, 3259730800, 3345764771,
23   3516065817, 3600352804, 4094571909, 275423344,
24   430227734, 506948616, 659060556, 883997877,
25   958139571, 1322822218, 1537002063, 1747873779,
26   1955562222, 2024104815, 2227730452, 2361852424,
27   2428436474, 2756734187, 3204031479, 3329325298]

Uses (2)

Used by (1)