/external/dropbear/libtomcrypt/src/modes/ofb/ |
D | ofb_encrypt.c | 28 int ofb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_OFB *ofb) in ofb_encrypt() argument 33 LTC_ARGCHK(ofb != NULL); in ofb_encrypt() 34 if ((err = cipher_is_valid(ofb->cipher)) != CRYPT_OK) { in ofb_encrypt() 39 if (ofb->blocklen < 0 || ofb->blocklen > (int)sizeof(ofb->IV) || in ofb_encrypt() 40 ofb->padlen < 0 || ofb->padlen > (int)sizeof(ofb->IV)) { in ofb_encrypt() 45 if (ofb->padlen == ofb->blocklen) { in ofb_encrypt() 46 … if ((err = cipher_descriptor[ofb->cipher].ecb_encrypt(ofb->IV, ofb->IV, &ofb->key)) != CRYPT_OK) { in ofb_encrypt() 49 ofb->padlen = 0; in ofb_encrypt() 51 *ct++ = *pt++ ^ ofb->IV[(ofb->padlen)++]; in ofb_encrypt()
|
D | ofb_start.c | 32 int keylen, int num_rounds, symmetric_OFB *ofb) in ofb_start() argument 38 LTC_ARGCHK(ofb != NULL); in ofb_start() 45 ofb->cipher = cipher; in ofb_start() 46 ofb->blocklen = cipher_descriptor[cipher].block_length; in ofb_start() 47 for (x = 0; x < ofb->blocklen; x++) { in ofb_start() 48 ofb->IV[x] = IV[x]; in ofb_start() 52 ofb->padlen = ofb->blocklen; in ofb_start() 53 return cipher_descriptor[cipher].setup(key, keylen, num_rounds, &ofb->key); in ofb_start()
|
D | ofb_setiv.c | 27 int ofb_setiv(const unsigned char *IV, unsigned long len, symmetric_OFB *ofb) in ofb_setiv() argument 32 LTC_ARGCHK(ofb != NULL); in ofb_setiv() 34 if ((err = cipher_is_valid(ofb->cipher)) != CRYPT_OK) { in ofb_setiv() 38 if (len != (unsigned long)ofb->blocklen) { in ofb_setiv() 43 ofb->padlen = 0; in ofb_setiv() 44 return cipher_descriptor[ofb->cipher].ecb_encrypt(IV, ofb->IV, &ofb->key); in ofb_setiv()
|
D | ofb_getiv.c | 27 int ofb_getiv(unsigned char *IV, unsigned long *len, symmetric_OFB *ofb) in ofb_getiv() argument 31 LTC_ARGCHK(ofb != NULL); in ofb_getiv() 32 if ((unsigned long)ofb->blocklen > *len) { in ofb_getiv() 33 *len = ofb->blocklen; in ofb_getiv() 36 XMEMCPY(IV, ofb->IV, ofb->blocklen); in ofb_getiv() 37 *len = ofb->blocklen; in ofb_getiv()
|
D | ofb_done.c | 24 int ofb_done(symmetric_OFB *ofb) in ofb_done() argument 27 LTC_ARGCHK(ofb != NULL); in ofb_done() 29 if ((err = cipher_is_valid(ofb->cipher)) != CRYPT_OK) { in ofb_done() 32 cipher_descriptor[ofb->cipher].done(&ofb->key); in ofb_done()
|
D | ofb_decrypt.c | 28 int ofb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_OFB *ofb) in ofb_decrypt() argument 32 LTC_ARGCHK(ofb != NULL); in ofb_decrypt() 33 return ofb_encrypt(ct, pt, len, ofb); in ofb_decrypt()
|
/external/dropbear/libtomcrypt/testprof/ |
D | modes_test.c | 15 symmetric_OFB ofb; in modes_test() local 87 DO(ofb_start(cipher_idx, iv, key, 16, 0, &ofb)); in modes_test() 89 DO(ofb_getiv(iv2, &l, &ofb)); in modes_test() 94 DO(ofb_encrypt(pt, ct, 64, &ofb)); in modes_test() 97 DO(ofb_setiv(iv2, l, &ofb)); in modes_test() 99 DO(ofb_decrypt(ct, tmp, 64, &ofb)); in modes_test()
|
/external/dropbear/libtomcrypt/ |
D | Android.mk | 67 src/modes/lrw/lrw_start.c src/modes/lrw/lrw_test.c src/modes/ofb/ofb_decrypt.c src/modes/ofb/ofb_do… 68 src/modes/ofb/ofb_encrypt.c src/modes/ofb/ofb_getiv.c src/modes/ofb/ofb_setiv.c \ 69 src/modes/ofb/ofb_start.c
|
D | Makefile.in | 158 src/modes/lrw/lrw_start.o src/modes/lrw/lrw_test.o src/modes/ofb/ofb_decrypt.o src/modes/ofb/ofb_do… 159 src/modes/ofb/ofb_encrypt.o src/modes/ofb/ofb_getiv.o src/modes/ofb/ofb_setiv.o \ 160 src/modes/ofb/ofb_start.o
|
D | makefile.msvc | 65 src/modes/lrw/lrw_start.obj src/modes/lrw/lrw_test.obj src/modes/ofb/ofb_decrypt.obj src/modes/ofb/… 66 src/modes/ofb/ofb_encrypt.obj src/modes/ofb/ofb_getiv.obj src/modes/ofb/ofb_setiv.obj \ 67 src/modes/ofb/ofb_start.obj src/pk/asn1/der/bit/der_decode_bit_string.obj \
|
D | makefile.icc | 155 src/modes/lrw/lrw_start.o src/modes/lrw/lrw_test.o src/modes/ofb/ofb_decrypt.o src/modes/ofb/ofb_do… 156 src/modes/ofb/ofb_encrypt.o src/modes/ofb/ofb_getiv.o src/modes/ofb/ofb_setiv.o \ 157 src/modes/ofb/ofb_start.o src/pk/asn1/der/bit/der_decode_bit_string.o \
|
D | makefile.unix | 101 src/modes/lrw/lrw_start.o src/modes/lrw/lrw_test.o src/modes/ofb/ofb_decrypt.o src/modes/ofb/ofb_do… 102 src/modes/ofb/ofb_encrypt.o src/modes/ofb/ofb_getiv.o src/modes/ofb/ofb_setiv.o \ 103 src/modes/ofb/ofb_start.o src/pk/asn1/der/bit/der_decode_bit_string.o \
|
D | makefile.shared | 160 src/modes/lrw/lrw_start.o src/modes/lrw/lrw_test.o src/modes/ofb/ofb_decrypt.o src/modes/ofb/ofb_do… 161 src/modes/ofb/ofb_encrypt.o src/modes/ofb/ofb_getiv.o src/modes/ofb/ofb_setiv.o \ 162 src/modes/ofb/ofb_start.o src/pk/asn1/der/bit/der_decode_bit_string.o \
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_cipher.h | 755 int keylen, int num_rounds, symmetric_OFB *ofb); 756 int ofb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_OFB *ofb); 757 int ofb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_OFB *ofb); 758 int ofb_getiv(unsigned char *IV, unsigned long *len, symmetric_OFB *ofb); 759 int ofb_setiv(const unsigned char *IV, unsigned long len, symmetric_OFB *ofb); 760 int ofb_done(symmetric_OFB *ofb);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/ |
D | padlock.asm | 12 ;xcrypt-ofb
|
/external/openssl/crypto/des/ |
D | README | 19 It supports ecb, cbc, ofb, cfb, triple ecb, triple cbc, triple ofb,
|
D | FILES0 | 44 ofb64_enc.c - des_ofb_encrypt() ofb in 64 bit mode but setup to be 46 ofb64ede.c - des_ede3_ofb64_encrypt() ofb in 64 bit mode but setup to be
|
D | VERSION | 22 The 'n' bit ofb code was wrong, it was not shifting the shift 116 I have also now added triple DES versions of cfb and ofb. 249 Added cfb and ofb routines to the library.
|
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
D | README | 19 It supports ecb, cbc, ofb, cfb, triple ecb, triple cbc, triple ofb,
|
D | FILES0 | 44 ofb64_enc.c - des_ofb_encrypt() ofb in 64 bit mode but setup to be 46 ofb64ede.c - des_ede3_ofb64_encrypt() ofb in 64 bit mode but setup to be
|
D | VERSION | 22 The 'n' bit ofb code was wrong, it was not shifting the shift 116 I have also now added triple DES versions of cfb and ofb. 249 Added cfb and ofb routines to the library.
|
/external/openssl/crypto/objects/ |
D | objects.txt | 150 : CAST5-OFB : cast5-ofb 377 : RC2-OFB : rc2-ofb 388 : RC5-OFB : rc5-ofb 412 : IDEA-OFB : idea-ofb 419 : BF-OFB : bf-ofb 629 algorithm 8 : DES-OFB : des-ofb 647 : DES-EDE-OFB : des-ede-ofb 649 : DES-EDE3-OFB : des-ede3-ofb 855 aes 3 : AES-128-OFB : aes-128-ofb 866 aes 23 : AES-192-OFB : aes-192-ofb [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/objects/ |
D | objects.txt | 150 : CAST5-OFB : cast5-ofb 377 : RC2-OFB : rc2-ofb 388 : RC5-OFB : rc5-ofb 412 : IDEA-OFB : idea-ofb 419 : BF-OFB : bf-ofb 629 algorithm 8 : DES-OFB : des-ofb 647 : DES-EDE-OFB : des-ede-ofb 649 : DES-EDE3-OFB : des-ede3-ofb 855 aes 3 : AES-128-OFB : aes-128-ofb 866 aes 23 : AES-192-OFB : aes-192-ofb [all …]
|
/external/openssl/crypto/evp/ |
D | evp_locl.h | 165 BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, 1, \
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
D | evp_locl.h | 165 BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, 1, \
|