HomeSort by relevance Sort by last modified time
    Searched defs:pmac (Results 1 - 4 of 4) sorted by null

  /external/dropbear/libtomcrypt/src/mac/pmac/
pmac_memory.c 15 PMAC implementation, process a block of memory, by Tom St Denis
21 PMAC a block of memory
25 @param in The data you wish to send through PMAC
26 @param inlen The length of data you wish to send through PMAC (octets)
37 pmac_state *pmac; local
44 /* allocate ram for pmac state */
45 pmac = XMALLOC(sizeof(pmac_state));
46 if (pmac == NULL) {
50 if ((err = pmac_init(pmac, cipher, key, keylen)) != CRYPT_OK) {
53 if ((err = pmac_process(pmac, in, inlen)) != CRYPT_OK)
    [all...]
pmac_memory_multi.c 16 PMAC implementation, process multiple blocks of memory, by Tom St Denis
22 PMAC multiple blocks of memory
28 @param in The data you wish to send through PMAC
29 @param inlen The length of data you wish to send through PMAC (octets)
30 @param ... tuples of (data,len) pairs to PMAC, terminated with a (NULL,x) (x=don't care)
39 pmac_state *pmac; local
49 /* allocate ram for pmac state */
50 pmac = XMALLOC(sizeof(pmac_state));
51 if (pmac == NULL) {
55 if ((err = pmac_init(pmac, cipher, key, keylen)) != CRYPT_OK)
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/evp/
e_aes_cbc_hmac_sha1.c 247 unsigned char c[32+SHA_DIGEST_LENGTH]; } mac, *pmac; local
250 pmac = (void *)(((size_t)mac.c+31)&((size_t)0-32));
316 pmac->u[0]=0;
317 pmac->u[1]=0;
318 pmac->u[2]=0;
319 pmac->u[3]=0;
320 pmac->u[4]=0;
335 pmac->u[0] |= key->md.h0 & mask;
336 pmac->u[1] |= key->md.h1 & mask;
337 pmac->u[2] |= key->md.h2 & mask
    [all...]
  /external/openssl/crypto/evp/
e_aes_cbc_hmac_sha1.c 247 unsigned char c[32+SHA_DIGEST_LENGTH]; } mac, *pmac; local
250 pmac = (void *)(((size_t)mac.c+31)&((size_t)0-32));
316 pmac->u[0]=0;
317 pmac->u[1]=0;
318 pmac->u[2]=0;
319 pmac->u[3]=0;
320 pmac->u[4]=0;
335 pmac->u[0] |= key->md.h0 & mask;
336 pmac->u[1] |= key->md.h1 & mask;
337 pmac->u[2] |= key->md.h2 & mask
    [all...]

Completed in 72 milliseconds