HomeSort by relevance Sort by last modified time
    Searched full:cmac (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/chromium_org/third_party/openssl/openssl/crypto/modes/
ccm128.c 112 (*block)(ctx->nonce.c,ctx->cmac.c,ctx->key),
116 ctx->cmac.c[0] ^= (u8)(alen>>8);
117 ctx->cmac.c[1] ^= (u8)alen;
121 ctx->cmac.c[0] ^= 0xFF;
122 ctx->cmac.c[1] ^= 0xFF;
123 ctx->cmac.c[2] ^= (u8)(alen>>(56%(sizeof(alen)*8)));
124 ctx->cmac.c[3] ^= (u8)(alen>>(48%(sizeof(alen)*8)));
125 ctx->cmac.c[4] ^= (u8)(alen>>(40%(sizeof(alen)*8)));
126 ctx->cmac.c[5] ^= (u8)(alen>>(32%(sizeof(alen)*8)));
127 ctx->cmac.c[6] ^= (u8)(alen>>24)
    [all...]
modes_lcl.h 126 union { u64 u[2]; u8 c[16]; } nonce, cmac; member in struct:ccm128_context
  /external/openssl/crypto/modes/
ccm128.c 112 (*block)(ctx->nonce.c,ctx->cmac.c,ctx->key),
116 ctx->cmac.c[0] ^= (u8)(alen>>8);
117 ctx->cmac.c[1] ^= (u8)alen;
121 ctx->cmac.c[0] ^= 0xFF;
122 ctx->cmac.c[1] ^= 0xFF;
123 ctx->cmac.c[2] ^= (u8)(alen>>(56%(sizeof(alen)*8)));
124 ctx->cmac.c[3] ^= (u8)(alen>>(48%(sizeof(alen)*8)));
125 ctx->cmac.c[4] ^= (u8)(alen>>(40%(sizeof(alen)*8)));
126 ctx->cmac.c[5] ^= (u8)(alen>>(32%(sizeof(alen)*8)));
127 ctx->cmac.c[6] ^= (u8)(alen>>24)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
CCMBlockCipher.java 283 Mac cMac = new CBCBlockCipherMac(cipher, macSize * 8);
285 cMac.init(keyParam);
297 b0[0] |= (((cMac.getMacSize() - 2) / 2) & 0x7) << 3;
312 cMac.update(b0, 0, b0.length);
324 cMac.update((byte)(textLength >> 8));
325 cMac.update((byte)textLength);
331 cMac.update((byte)0xff);
332 cMac.update((byte)0xfe);
333 cMac.update((byte)(textLength >> 24));
334 cMac.update((byte)(textLength >> 16))
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/cmac/
cm_ameth.c 56 #include <openssl/cmac.h>
59 /* CMAC "ASN1" method. This is just here to indicate the
60 * maximum CMAC output length and to free up a CMAC
82 "CMAC",
83 "OpenSSL CMAC method",
cmac.h 1 /* crypto/cmac/cmac.h */
cmac.c 1 /* crypto/cmac/cmac.c */
58 #include <openssl/cmac.h>
305 * CMAC to continue after calling CMAC_Final().
cm_pmeth.c 58 #include <openssl/cmac.h>
  /external/openssl/crypto/cmac/
cm_ameth.c 56 #include <openssl/cmac.h>
59 /* CMAC "ASN1" method. This is just here to indicate the
60 * maximum CMAC output length and to free up a CMAC
82 "CMAC",
83 "OpenSSL CMAC method",
cmac.h 1 /* crypto/cmac/cmac.h */
cmac.c 1 /* crypto/cmac/cmac.c */
58 #include <openssl/cmac.h>
305 * CMAC to continue after calling CMAC_Final().
  /external/wpa_supplicant_8/src/crypto/
aes-omac1.c 39 * OMAC1 was standardized with the name CMAC by NIST in a Special Publication
104 * omac1_aes_128 - One-Key CBC MAC (OMAC1) hash with AES-128 (aka AES-CMAC)
112 * OMAC1 was standardized with the name CMAC by NIST in a Special Publication
  /external/chromium_org/third_party/openssl/openssl/include/openssl/
cmac.h 1 /* crypto/cmac/cmac.h */
modes.h 24 const unsigned char ivec[16],unsigned char cmac[16]);
  /external/openssl/include/openssl/
cmac.h 1 /* crypto/cmac/cmac.h */
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DES.java 29 // import org.bouncycastle.crypto.macs.CMac;
121 // static public class CMAC
124 // public CMAC()
126 // super(new CMac(new DESEngine()));
465 // provider.addAlgorithm("Mac.DESCMAC", PREFIX + "$CMAC");
DESede.java 32 // import org.bouncycastle.crypto.macs.CMac;
120 // static public class CMAC
123 // public CMAC()
125 // super(new CMac(new DESedeEngine()));
431 // provider.addAlgorithm("Mac.DESEDECMAC", PREFIX + "$CMAC");
  /external/bluetooth/bluedroid/stack/smp/
smp_cmac.c 21 * This file contains the implementation of the AES128 CMAC algorithm.
258 ** Parameters key - CMAC key, expect SRK when used by SMP.
283 ** Description This is the AES-CMAC Generation Function with tlen implemented.
285 ** Parameters key - CMAC key in little endian order, expect SRK when used by SMP.
  /external/wpa_supplicant_8/src/eap_peer/
eap_fast.c 743 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; local
754 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac));
755 os_memset(_bind->compound_mac, 0, sizeof(cmac));
760 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac));
762 cmac, sizeof(cmac));
764 _bind->compound_mac, sizeof(cmac));
767 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac))
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/aes/asm/
aesni-x86.pl 580 # const char *ivec,char *cmac);
583 # does not update *ivec! Nor does it finalize CMAC value
586 { my $cmac=$inout1;
600 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac
633 &xorps ($cmac,$rndkey0); # cmac^=inp
639 &aesenc ($cmac,$rndkey1);
643 &aesenc ($cmac,$rndkey0);
647 &aesenc ($cmac,$rndkey1)
    [all...]
  /external/openssl/crypto/aes/asm/
aesni-x86.pl 580 # const char *ivec,char *cmac);
583 # does not update *ivec! Nor does it finalize CMAC value
586 { my $cmac=$inout1;
600 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac
633 &xorps ($cmac,$rndkey0); # cmac^=inp
639 &aesenc ($cmac,$rndkey1);
643 &aesenc ($cmac,$rndkey0);
647 &aesenc ($cmac,$rndkey1)
    [all...]
  /external/bluetooth/bluedroid/stack/include/
smp_api.h 165 /* callback function for CMAC algorithm
  /external/chromium_org/third_party/openssl/openssl/
Crypto-config.mk 171 crypto/cmac/cm_ameth.c \
172 crypto/cmac/cm_pmeth.c \
173 crypto/cmac/cmac.c \
  /external/chromium_org/third_party/openssl/
openssl.gypi 157 'openssl/crypto/cmac/cm_ameth.c',
158 'openssl/crypto/cmac/cm_pmeth.c',
159 'openssl/crypto/cmac/cmac.c',
  /external/openssl/
Crypto-config.mk 171 crypto/cmac/cm_ameth.c \
172 crypto/cmac/cm_pmeth.c \
173 crypto/cmac/cmac.c \

Completed in 1018 milliseconds

1 2 3