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

  /external/dropbear/libtomcrypt/src/mac/xcbc/
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...]

Completed in 31 milliseconds