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

  /external/dropbear/libtomcrypt/src/mac/omac/
omac_memory.c 21 OMAC a block of memory
25 @param in The data to send through OMAC
26 @param inlen The length of the data to send through OMAC (octets)
37 omac_state *omac; local
54 /* allocate ram for omac state */
55 omac = XMALLOC(sizeof(omac_state));
56 if (omac == NULL) {
60 /* omac process the message */
61 if ((err = omac_init(omac, cipher, key, keylen)) != CRYPT_OK) {
64 if ((err = omac_process(omac, in, inlen)) != CRYPT_OK)
    [all...]
omac_memory_multi.c 22 OMAC multiple blocks of memory
28 @param in The data to send through OMAC
29 @param inlen The length of the data to send through OMAC (octets)
30 @param ... tuples of (data,len) pairs to OMAC, terminated with a (NULL,x) (x=don't care)
39 omac_state *omac; local
49 /* allocate ram for omac state */
50 omac = XMALLOC(sizeof(omac_state));
51 if (omac == NULL) {
55 /* omac process the message */
56 if ((err = omac_init(omac, cipher, key, keylen)) != CRYPT_OK)
    [all...]
  /external/dropbear/libtomcrypt/src/encauth/eax/
eax_init.c 39 omac_state *omac; local
57 omac = XMALLOC(sizeof(*omac));
59 if (buf == NULL || omac == NULL) {
63 if (omac != NULL) {
64 XFREE(omac);
71 if ((err = omac_init(omac, cipher, key, keylen)) != CRYPT_OK) {
75 /* omac the [0]_n */
76 if ((err = omac_process(omac, buf, blklen)) != CRYPT_OK) {
79 /* omac the nonce *
    [all...]

Completed in 82 milliseconds