Home
last modified time | relevance | path

Searched refs:ecb_encrypt (Results 1 – 25 of 48) sorted by relevance

12

/external/dropbear/libtomcrypt/src/encauth/ccm/
Dccm_memory.c170 if ((err = cipher_descriptor[cipher].ecb_encrypt(PAD, PAD, skey)) != CRYPT_OK) { in ccm_memory()
195 if ((err = cipher_descriptor[cipher].ecb_encrypt(PAD, PAD, skey)) != CRYPT_OK) { in ccm_memory()
205 if ((err = cipher_descriptor[cipher].ecb_encrypt(PAD, PAD, skey)) != CRYPT_OK) { in ccm_memory()
241 if ((err = cipher_descriptor[cipher].ecb_encrypt(ctr, CTRPAD, skey)) != CRYPT_OK) { in ccm_memory()
250 if ((err = cipher_descriptor[cipher].ecb_encrypt(PAD, PAD, skey)) != CRYPT_OK) { in ccm_memory()
261 if ((err = cipher_descriptor[cipher].ecb_encrypt(ctr, CTRPAD, skey)) != CRYPT_OK) { in ccm_memory()
270 if ((err = cipher_descriptor[cipher].ecb_encrypt(PAD, PAD, skey)) != CRYPT_OK) { in ccm_memory()
285 if ((err = cipher_descriptor[cipher].ecb_encrypt(ctr, CTRPAD, skey)) != CRYPT_OK) { in ccm_memory()
301 if ((err = cipher_descriptor[cipher].ecb_encrypt(PAD, PAD, skey)) != CRYPT_OK) { in ccm_memory()
310 if ((err = cipher_descriptor[cipher].ecb_encrypt(PAD, PAD, skey)) != CRYPT_OK) { in ccm_memory()
[all …]
/external/dropbear/libtomcrypt/src/encauth/gcm/
Dgcm_process.c65 … if ((err = cipher_descriptor[gcm->cipher].ecb_encrypt(gcm->Y, gcm->buf, &gcm->K)) != CRYPT_OK) { in gcm_process()
94 … if ((err = cipher_descriptor[gcm->cipher].ecb_encrypt(gcm->Y, gcm->buf, &gcm->K)) != CRYPT_OK) { in gcm_process()
112 … if ((err = cipher_descriptor[gcm->cipher].ecb_encrypt(gcm->Y, gcm->buf, &gcm->K)) != CRYPT_OK) { in gcm_process()
130 … if ((err = cipher_descriptor[gcm->cipher].ecb_encrypt(gcm->Y, gcm->buf, &gcm->K)) != CRYPT_OK) { in gcm_process()
Dgcm_done.c65 … if ((err = cipher_descriptor[gcm->cipher].ecb_encrypt(gcm->Y_0, gcm->buf, &gcm->K)) != CRYPT_OK) { in gcm_done()
/external/dropbear/libtomcrypt/src/modes/f8/
Df8_encrypt.c55 if ((err = cipher_descriptor[f8->cipher].ecb_encrypt(f8->IV, f8->IV, &f8->key)) != CRYPT_OK) { in f8_encrypt()
70 … if ((err = cipher_descriptor[f8->cipher].ecb_encrypt(f8->IV, f8->IV, &f8->key)) != CRYPT_OK) { in f8_encrypt()
88 … if ((err = cipher_descriptor[f8->cipher].ecb_encrypt(f8->IV, f8->IV, &f8->key)) != CRYPT_OK) { in f8_encrypt()
Df8_setiv.c44 return cipher_descriptor[f8->cipher].ecb_encrypt(IV, f8->IV, &f8->key); in f8_setiv()
/external/dropbear/libtomcrypt/src/modes/ecb/
Decb_encrypt.c28 int ecb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_ECB *ecb) in ecb_encrypt() function
46 if ((err = cipher_descriptor[ecb->cipher].ecb_encrypt(pt, ct, &ecb->key)) != CRYPT_OK) { in ecb_encrypt()
/external/dropbear/libtomcrypt/src/mac/xcbc/
Dxcbc_process.c52 cipher_descriptor[xcbc->cipher].ecb_encrypt(xcbc->IV, xcbc->IV, &xcbc->key); in xcbc_process()
61 cipher_descriptor[xcbc->cipher].ecb_encrypt(xcbc->IV, xcbc->IV, &xcbc->key); in xcbc_process()
Dxcbc_done.c57 cipher_descriptor[xcbc->cipher].ecb_encrypt(xcbc->IV, xcbc->IV, &xcbc->key); in xcbc_done()
Dxcbc_init.c61 cipher_descriptor[cipher].ecb_encrypt(xcbc->K[y], xcbc->K[y], skey); in xcbc_init()
/external/dropbear/libtomcrypt/src/mac/f9/
Df9_done.c44 cipher_descriptor[f9->cipher].ecb_encrypt(f9->IV, f9->IV, &f9->key); in f9_done()
57 cipher_descriptor[f9->cipher].ecb_encrypt(f9->ACC, f9->ACC, &f9->key); in f9_done()
Df9_process.c49 cipher_descriptor[f9->cipher].ecb_encrypt(f9->IV, f9->IV, &f9->key); in f9_process()
61 cipher_descriptor[f9->cipher].ecb_encrypt(f9->IV, f9->IV, &f9->key); in f9_process()
/external/dropbear/libtomcrypt/src/mac/omac/
Domac_process.c52 …if ((err = cipher_descriptor[omac->cipher_idx].ecb_encrypt(omac->prev, omac->prev, &omac->key)) !=… in omac_process()
66 …if ((err = cipher_descriptor[omac->cipher_idx].ecb_encrypt(omac->block, omac->prev, &omac->key)) !… in omac_process()
/external/dropbear/libtomcrypt/src/mac/pmac/
Dpmac_process.c53 … if ((err = cipher_descriptor[pmac->cipher_idx].ecb_encrypt(Z, Z, &pmac->key)) != CRYPT_OK) { in pmac_process()
72 … if ((err = cipher_descriptor[pmac->cipher_idx].ecb_encrypt(Z, Z, &pmac->key)) != CRYPT_OK) { in pmac_process()
/external/dropbear/libtomcrypt/src/encauth/ocb/
Ds_ocb_done.c87 if ((err = cipher_descriptor[ocb->cipher].ecb_encrypt(X, Y, &ocb->key)) != CRYPT_OK) { in s_ocb_done()
118 … if ((err = cipher_descriptor[ocb->cipher].ecb_encrypt(ocb->checksum, X, &ocb->key)) != CRYPT_OK) { in s_ocb_done()
Docb_init.c79 if ((err = cipher_descriptor[cipher].ecb_encrypt(ocb->L, ocb->L, &ocb->key)) != CRYPT_OK) { in ocb_init()
87 if ((err = cipher_descriptor[cipher].ecb_encrypt(ocb->R, ocb->R, &ocb->key)) != CRYPT_OK) { in ocb_init()
Docb_encrypt.c54 if ((err = cipher_descriptor[ocb->cipher].ecb_encrypt(tmp, ct, &ocb->key)) != CRYPT_OK) { in ocb_encrypt()
/external/dropbear/libtomcrypt/src/modes/cfb/
Dcfb_setiv.c44 return cipher_descriptor[cfb->cipher].ecb_encrypt(IV, cfb->IV, &cfb->key); in cfb_setiv()
Dcfb_start.c58 return cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->IV, cfb->IV, &cfb->key); in cfb_start()
Dcfb_encrypt.c48 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_encrypt()
Dcfb_decrypt.c48 …if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) { in cfb_decrypt()
/external/dropbear/libtomcrypt/src/modes/ofb/
Dofb_setiv.c44 return cipher_descriptor[ofb->cipher].ecb_encrypt(IV, ofb->IV, &ofb->key); in ofb_setiv()
Dofb_encrypt.c46 … if ((err = cipher_descriptor[ofb->cipher].ecb_encrypt(ofb->IV, ofb->IV, &ofb->key)) != CRYPT_OK) { in ofb_encrypt()
/external/dropbear/libtomcrypt/src/modes/ctr/
Dctr_setiv.c48 return cipher_descriptor[ctr->cipher].ecb_encrypt(IV, ctr->pad, &ctr->key); in ctr_setiv()
Dctr_start.c84 return cipher_descriptor[ctr->cipher].ecb_encrypt(ctr->ctr, ctr->pad, &ctr->key); in ctr_start()
/external/dropbear/libtomcrypt/src/hashes/chc/
Dchc.c116 cipher_descriptor[cipher_idx].ecb_encrypt(buf, md->chc.state, key); in chc_init()
146 cipher_descriptor[cipher_idx].ecb_encrypt(buf, T[0], key); in chc_compress()

12