Home | History | Annotate | Download | only in eax

Lines Matching full:eax

14    EAX implementation, initialized EAX state, by Tom St Denis 
21 Initialized an EAX state
22 @param eax [out] The EAX state to initialize
28 @param header The header for the EAX state
32 int eax_init(eax_state *eax, int cipher,
43 LTC_ARGCHK(eax != NULL);
84 len = sizeof(eax->N);
85 if ((err = omac_done(omac, eax->N, &len)) != CRYPT_OK) {
93 if ((err = omac_init(&eax->headeromac, cipher, key, keylen)) != CRYPT_OK) {
98 if ((err = omac_process(&eax->headeromac, buf, blklen)) != CRYPT_OK) {
103 if ((err = omac_process(&eax->headeromac, header, headerlen)) != CRYPT_OK) {
111 if ((err = ctr_start(cipher, eax->N, key, keylen, 0, CTR_COUNTER_BIG_ENDIAN, &eax->ctr)) != CRYPT_OK) {
116 if ((err = omac_init(&eax->ctomac, cipher, key, keylen)) != CRYPT_OK) {
123 if ((err = omac_process(&eax->ctomac, buf, blklen)) != CRYPT_OK) {
142 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/eax/eax_init.c,v $ */