Package gnu.javax.crypto.jce.spec

Examples of gnu.javax.crypto.jce.spec.TMMHParameterSpec


        else if (macName.equalsIgnoreCase("TMMH16"))
          {
            IRandom rand1 = new MDGenerator();
            rand1.init(new HashMap());
            Integer tagLen = new Integer(4);
            params = new TMMHParameterSpec(rand1, tagLen);

            IRandom rand2 = new MDGenerator();
            rand2.init(new HashMap());
            attrib.put(TMMH16.KEYSTREAM, rand2);
            attrib.put(TMMH16.TAG_LENGTH, tagLen);
View Full Code Here


            else if (macName.equalsIgnoreCase("TMMH16"))
              {
                IRandom rand = new MDGenerator();
                rand.init(new HashMap());
                Integer tagLen = new Integer(4);
                params = new TMMHParameterSpec(rand, tagLen);
              }

            mac1 = Mac.getInstance(macName, Registry.GNU_CRYPTO);
            byte[] kb = null;
            if (macName.equalsIgnoreCase("UMAC32")
View Full Code Here

TOP

Related Classes of gnu.javax.crypto.jce.spec.TMMHParameterSpec

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.