Home | History | Annotate | Download | only in eax

Lines Matching defs:omac

39    omac_state    *omac;
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 */
80 if ((err = omac_process(omac, nonce, noncelen)) != CRYPT_OK) {
85 if ((err = omac_done(omac, eax->N, &len)) != CRYPT_OK) {
97 /* omac the [1]_n */
101 /* omac the header */
115 /* setup the OMAC for the ciphertext */
120 /* omac [2]_n */
131 zeromem(omac, sizeof(*omac));
134 XFREE(omac);