]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0084.git/blobdiff - example/iot-gateway/node_modules/aws-iot-device-sdk/node_modules/crypto-js/pad-iso97971.js
Updated Sensor To Cloud design to have an easy to use setup GUI on the
[apps/tidep0084.git] / example / iot-gateway / node_modules / aws-iot-device-sdk / node_modules / crypto-js / pad-iso97971.js
diff --git a/example/iot-gateway/node_modules/aws-iot-device-sdk/node_modules/crypto-js/pad-iso97971.js b/example/iot-gateway/node_modules/aws-iot-device-sdk/node_modules/crypto-js/pad-iso97971.js
deleted file mode 100644 (file)
index 41049b4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-;(function (root, factory, undef) {
-       if (typeof exports === "object") {
-               // CommonJS
-               module.exports = exports = factory(require("./core"), require("./cipher-core"));
-       }
-       else if (typeof define === "function" && define.amd) {
-               // AMD
-               define(["./core", "./cipher-core"], factory);
-       }
-       else {
-               // Global (browser)
-               factory(root.CryptoJS);
-       }
-}(this, function (CryptoJS) {
-
-       /**
-        * ISO/IEC 9797-1 Padding Method 2.
-        */
-       CryptoJS.pad.Iso97971 = {
-           pad: function (data, blockSize) {
-               // Add 0x80 byte
-               data.concat(CryptoJS.lib.WordArray.create([0x80000000], 1));
-
-               // Zero pad the rest
-               CryptoJS.pad.ZeroPadding.pad(data, blockSize);
-           },
-
-           unpad: function (data) {
-               // Remove zero padding
-               CryptoJS.pad.ZeroPadding.unpad(data);
-
-               // Remove one more byte -- the 0x80 byte
-               data.sigBytes--;
-           }
-       };
-
-
-       return CryptoJS.pad.Iso97971;
-
-}));
\ No newline at end of file