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

  /external/dropbear/libtomcrypt/src/mac/xcbc/
xcbc_process.c 15 XCBC Support, process blocks with XCBC
20 /** Process data through XCBC-MAC
21 @param xcbc The XCBC-MAC state
26 int xcbc_process(xcbc_state *xcbc, const unsigned char *in, unsigned long inlen)
33 LTC_ARGCHK(xcbc != NULL);
37 if ((err = cipher_is_valid(xcbc->cipher)) != CRYPT_OK) {
41 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher].block_length) || (xcbc->blocksize < 0) |
    [all...]
xcbc_done.c 15 XCBC Support, terminate the state
20 /** Terminate the XCBC-MAC state
21 @param xcbc XCBC state to terminate
26 int xcbc_done(xcbc_state *xcbc, unsigned char *out, unsigned long *outlen)
29 LTC_ARGCHK(xcbc != NULL);
33 if ((err = cipher_is_valid(xcbc->cipher)) != CRYPT_OK) {
37 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher].block_length) || (xcbc->blocksize < 0) |
    [all...]
xcbc_init.c 15 XCBC Support, start an XCBC state
20 /** Initialize XCBC-MAC state
21 @param xcbc [out] XCBC state to initialize
27 int xcbc_init(xcbc_state *xcbc, int cipher, const unsigned char *key, unsigned long keylen)
32 LTC_ARGCHK(xcbc != NULL);
59 xcbc->K[y][x] = y + 1;
61 cipher_descriptor[cipher].ecb_encrypt(xcbc->K[y], xcbc->K[y], skey)
    [all...]
xcbc_memory.c 15 XCBC Support, XCBC-MAC a block of memory
20 /** XCBC-MAC a block of memory
35 xcbc_state *xcbc; local
48 xcbc = XCALLOC(1, sizeof(*xcbc));
49 if (xcbc == NULL) {
53 if ((err = xcbc_init(xcbc, cipher, key, keylen)) != CRYPT_OK) {
57 if ((err = xcbc_process(xcbc, in, inlen)) != CRYPT_OK) {
61 err = xcbc_done(xcbc, out, outlen)
    [all...]
xcbc_memory_multi.c 16 XCBC support, process multiple blocks of memory, Tom St Denis
22 XCBC multiple blocks of memory
28 @param in The data to send through XCBC
29 @param inlen The length of the data to send through XCBC (octets)
30 @param ... tuples of (data,len) pairs to XCBC, terminated with a (NULL,x) (x=don't care)
39 xcbc_state *xcbc; local
49 /* allocate ram for xcbc state */
50 xcbc = XMALLOC(sizeof(xcbc_state));
51 if (xcbc == NULL) {
55 /* xcbc process the message *
    [all...]
xcbc_file.c 15 XCBC support, process a file, Tom St Denis
21 XCBC a file
25 @param filename The name of the file you wish to XCBC
39 xcbc_state xcbc;
53 if ((err = xcbc_init(&xcbc, cipher, key, keylen)) != CRYPT_OK) {
60 if ((err = xcbc_process(&xcbc, buf, x)) != CRYPT_OK) {
67 if ((err = xcbc_done(&xcbc, out, outlen)) != CRYPT_OK) {
81 /* $Source: /cvs/libtom/libtomcrypt/src/mac/xcbc/xcbc_file.c,v $ */
xcbc_test.c 15 XCBC Support, Test XCBC-MAC mode
20 /** Test XCBC-MAC mode
125 /* $Source: /cvs/libtom/libtomcrypt/src/mac/xcbc/xcbc_test.c,v $ */
  /external/dropbear/libtomcrypt/
Android.mk 38 src/mac/pmac/pmac_shift_xor.c src/mac/pmac/pmac_test.c src/mac/xcbc/xcbc_done.c \
39 src/mac/xcbc/xcbc_file.c src/mac/xcbc/xcbc_init.c src/mac/xcbc/xcbc_memory.c \
40 src/mac/xcbc/xcbc_memory_multi.c src/mac/xcbc/xcbc_process.c src/mac/xcbc/xcbc_test.c \
makefile.msvc 36 src/mac/pmac/pmac_shift_xor.obj src/mac/pmac/pmac_test.obj src/mac/xcbc/xcbc_done.obj \
37 src/mac/xcbc/xcbc_file.obj src/mac/xcbc/xcbc_init.obj src/mac/xcbc/xcbc_memory.obj \
38 src/mac/xcbc/xcbc_memory_multi.obj src/mac/xcbc/xcbc_process.obj src/mac/xcbc/xcbc_test.obj \
Makefile.in 129 src/mac/pmac/pmac_shift_xor.o src/mac/pmac/pmac_test.o src/mac/xcbc/xcbc_done.o \
130 src/mac/xcbc/xcbc_file.o src/mac/xcbc/xcbc_init.o src/mac/xcbc/xcbc_memory.o \
131 src/mac/xcbc/xcbc_memory_multi.o src/mac/xcbc/xcbc_process.o src/mac/xcbc/xcbc_test.o \
makefile.icc 126 src/mac/pmac/pmac_shift_xor.o src/mac/pmac/pmac_test.o src/mac/xcbc/xcbc_done.o \
127 src/mac/xcbc/xcbc_file.o src/mac/xcbc/xcbc_init.o src/mac/xcbc/xcbc_memory.o \
128 src/mac/xcbc/xcbc_memory_multi.o src/mac/xcbc/xcbc_process.o src/mac/xcbc/xcbc_test.o \
makefile.shared 131 src/mac/pmac/pmac_shift_xor.o src/mac/pmac/pmac_test.o src/mac/xcbc/xcbc_done.o \
132 src/mac/xcbc/xcbc_file.o src/mac/xcbc/xcbc_init.o src/mac/xcbc/xcbc_memory.o \
133 src/mac/xcbc/xcbc_memory_multi.o src/mac/xcbc/xcbc_process.o src/mac/xcbc/xcbc_test.o \
makefile.unix 72 src/mac/pmac/pmac_shift_xor.o src/mac/pmac/pmac_test.o src/mac/xcbc/xcbc_done.o \
73 src/mac/xcbc/xcbc_file.o src/mac/xcbc/xcbc_init.o src/mac/xcbc/xcbc_memory.o \
74 src/mac/xcbc/xcbc_memory_multi.o src/mac/xcbc/xcbc_process.o src/mac/xcbc/xcbc_test.o \
crypt.tex     [all...]
changes 43 -- Added XCBC-MAC support [RFC 3566]
62 -- Added F9/XCBC/OMAC callbacks to the cipher plugin
    [all...]
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_mac.h 325 int xcbc_init(xcbc_state *xcbc, int cipher, const unsigned char *key, unsigned long keylen);
326 int xcbc_process(xcbc_state *xcbc, const unsigned char *in, unsigned long inlen);
327 int xcbc_done(xcbc_state *xcbc, unsigned char *out, unsigned long *outlen);
tomcrypt_cipher.h 505 /** Accelerated one shot XCBC
  /external/harfbuzz/contrib/tables/
combining-properties.h 144 {0xcbc, 0xcbc, 7},
script-properties.h 154 {0xcbc, 0xcc4, HB_Script_Kannada},
grapheme-break-properties.h 116 {0xcbc, 0xcbc, HB_Grapheme_Extend},
    [all...]
category-properties.h     [all...]
  /external/dropbear/libtomcrypt/src/misc/crypt/
crypt.c 207 " XCBC-MAC\n"
  /external/ipsec-tools/src/libipsec/
pfkey_dump.c 176 { SADB_X_AALG_AES_XCBC_MAC, "aes-xcbc-mac", },
  /external/libxml2/
xmlunicode.c     [all...]
  /external/dropbear/libtomcrypt/testprof/
x86_prof.c 1205 fprintf(stderr, "XCBC-%s\t\t%9llu\n", cipher_descriptor[cipher_idx].name, t2/(ulong64)(MAC_SIZE*1024));
    [all...]

Completed in 575 milliseconds