summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug656096.js
blob: 63fdac76bae4a8b5c7dd6e97024962e9bd5be6c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
function aes(a) {
    d = a.slice()
    for (; a < 28; a++)
    d[0] = d[0] ^ undefined
}
var sjcl = {};
sjcl.bitArray = {
    concat: function (a, b) {
        return d ? a : [];
    },
    clamp: function (a, b) {
        return a
    }
};
function G(a, b, c, d, e, f) {
    var g = [],
        h = sjcl.bitArray,
        f = [];
    f = h.concat(f, c)
    if (c) g = []
    else c = h.concat([], [])
    h.concat(g, d)
    h.clamp(f, [1,2,3])
}
function decrypt(a, b, c, d, e) {
    G(a, 1, c, d, e, b)
    var g = [],
        h = sjcl.bitArray,
        f = [];
    h.concat(f, c)
    if (c) g = []
    else c = h.concat([], [])
    h.concat(g, d)
    h.concat([], c).concat.slice
}
aes(sjcl.bitArray.clamp([]));
decrypt(1, 2, 3);