Searched refs:pelmac (Results 1 – 3 of 3) sorted by relevance
/external/dropbear/libtomcrypt/src/mac/pelican/ |
D | pelican.c | 31 int pelican_init(pelican_state *pelmac, const unsigned char *key, unsigned long keylen) in pelican_init() argument 35 LTC_ARGCHK(pelmac != NULL); in pelican_init() 44 if ((err = aes_setup(key, keylen, 0, &pelmac->K)) != CRYPT_OK) { in pelican_init() 48 zeromem(pelmac->state, 16); in pelican_init() 49 aes_ecb_encrypt(pelmac->state, pelmac->state, &pelmac->K); in pelican_init() 50 pelmac->buflen = 0; in pelican_init() 55 static void four_rounds(pelican_state *pelmac) in four_rounds() argument 60 LOAD32H(s0, pelmac->state ); in four_rounds() 61 LOAD32H(s1, pelmac->state + 4); in four_rounds() 62 LOAD32H(s2, pelmac->state + 8); in four_rounds() [all …]
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_mac.h | 301 int pelican_init(pelican_state *pelmac, const unsigned char *key, unsigned long keylen); 302 int pelican_process(pelican_state *pelmac, const unsigned char *in, unsigned long inlen); 303 int pelican_done(pelican_state *pelmac, unsigned char *out);
|
/external/dropbear/libtomcrypt/ |
D | crypt.tex | 2429 int pelican_init( pelican_state *pelmac, 2437 int pelican_process( pelican_state *pelmac, 2447 int pelican_done(pelican_state *pelmac, unsigned char *out);
|