Searched refs:core_sha1 (Results 1 – 2 of 2) sorted by relevance
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
D | crypto-sha1.js | 22 function hex_sha1(s){return binb2hex(core_sha1(str2binb(s),s.length * chrsz));} 23 function b64_sha1(s){return binb2b64(core_sha1(str2binb(s),s.length * chrsz));} 24 function str_sha1(s){return binb2str(core_sha1(str2binb(s),s.length * chrsz));} 40 function core_sha1(x, len) function 111 if(bkey.length > 16) bkey = core_sha1(bkey, key.length * chrsz); 120 var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz); 121 return core_sha1(opad.concat(hash), 512 + 160);
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
D | crypto-sha1.js | 22 function hex_sha1(s){return binb2hex(core_sha1(str2binb(s),s.length * chrsz));} 23 function b64_sha1(s){return binb2b64(core_sha1(str2binb(s),s.length * chrsz));} 24 function str_sha1(s){return binb2str(core_sha1(str2binb(s),s.length * chrsz));} 40 function core_sha1(x, len) function 111 if(bkey.length > 16) bkey = core_sha1(bkey, key.length * chrsz); 120 var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz); 121 return core_sha1(opad.concat(hash), 512 + 160);
|